Cabbage Logo
Back to Cabbage Site

Quantization and sampling rate

Hello
I was wondering what kind of quantization is used by a-vars and if I can set it in any way (24-bit fixed, 32-bit floating point, ecc.).

Moreover, is it possible to use a sample rate that reflects the one in the input channel? E.g. I could write a plugin that works at 48kHz but the input signal is 44.1kHz, I imagine in this case resampling is applied. Could I avoid it?
Thank you

Sergio

Csound uses 64bit doubles for each sample.

If you leave out the sample rate Cabbage will automatically match it to the hosts rate. So if the host is using 48Kz, so will your orchestra and everything within it will be automatically resampled. If you are using Csound on its own you will need to match things up to the sound card.

Thank you