Cabbage Logo
Back to Cabbage Site

Pre Compute FFT Analysis

Hey again!

I am working on a program that requires several components performing phase vocoder processes simultaneously. I understand the csound opcodes are built to run in realtime, but I am using audio files as my input so I do not need pvsanal to run constantly.

To optimize the program, I would like to perform the analysis once, store the values and then stop pvsanal to free up computing power.

Is this possibly/any recommendations on how to go about this?

Best,
Mitch

The pvs opcodes are can do FFT analysis/resynthesis in real time. But before these there was the pvanal way of doing things. You basically do an FFT analysis of a sound file using the pvanal tool, and then use pvoc or some of the other pv opcodes, to read that data and synthesise back to audio.

To be honest, you should be able to get pretty good performance using the PVS opcodes these days. But it depends on your target system.

They are running just fine, but worried as I start to expand.

Shortly after posting this I found a solution!

Using pvswrite to generate pvx files in advance – any other suggestions or methods would be helpful though!

Thanks! :slight_smile:

As yes, pvswrite, I had forgotten about that one :roll_eyes: :rofl: