Cabbage Logo
Back to Cabbage Site

Arbitrary rate to audio rate with interpolation?

Hello,

I am wondering if it is possible to convert a signal of arbitrary rate to an audio rate signal. For example: I have some data with a signal rate of 256 Hz. Can I send that to CSound (via OSC) and then convert it to audio rate with interpolation? Of course, there would be some limitations (highest resulting frequency would be 128 Hz, there would be latency of at least 1 sample), but other than that would it be possible? Are there any opcodes or examples that could help me?

interp?
https://csound.com/docs/manual/interp.html

1 Like