Using daisysp outside daisy seed, increasing audio buffer size causes issues


I am playing with daisysp outside daisy seed hardware and when I change the audio buffer size from 1 or 2 to 48, 96, or 192 I face issues of audio data getting corrupt.

As per my observation, this is because sample_rate basically changes. In this case the buffer is sampled at 48kHz at a length of 96. What’s the sample rate value that I should feed into daisysp library? Because 48000.0f does not work in that setup.

Hello kuze!

We can use the AudioHandle and change settings like sample rate and block size.

For example…


Block size can be any number up to 256. And I believe the supported sample rates are 8kHz, 16kHz, 32kHz, 48kHz, and 96kHz.

I hope this helps!

If I read it correctly, the original post refers to using DaisySP without using Daisy. So anything about how to set blocksize and sample rate are not relevant.
To the original poster - what specific DaisySP objects are you trying to use? Generally, block size isn’t even known in DaisySP; processing functions are called once per sample, and are unaffected by block size.