Real time polyphase resampling

Hello fellow Csounders!

Is there any opcode for real time polyphase resampling?

And if not, what would be the best way to implement that in csound?

Hi @Lovre. I’m not all that familiar with polyphase sampling, but does the fact that Csound7 has built-in oversampling help?

Hi @rory :beers: thanks for your suggestion!

I want to resample a relatively slow signal in the real-time to be able to use it as an amp modulator for my audio signal. Sampling rate of that slow signal is 130Hz and of audio signal is 44.1kHz so they are not in integer ratio and simple upsampling or interpolation won’t do the trick.

I don’t know if the Csound7 built-in oversampling feature can be used for this. If so, maybe as some hack/workaround

Nevertheless, if I find time I will try to implement an opcode for that and post it here