Hello all, I am working on a delay effect using the daisy pod and it has been working great so far. However, I wanted to try and mess with the sample rate to change the pitch and quality of the sound. I’ve had some success using the following:
DAISY.StopAudio();
SaiHandle::Config sai_config;
sai_config.sr = SaiHandle::Config::SampleRate::SAI_16KHZ; (or 32KHZ, or 8KHZ etc...)
DAISY.SetAudioSampleRate(sai_config.sr);
DAISY.StartAudio(AudioCallback);
This has allowed me to change the sample rate dynamically. However I have a strange problem. I have only been able to move the sample rate up. So for example start at 8KHZ and move from 8KHZ to 16KHZ and to 32KHZ. However if I try to jump back down from 32KHZ to 16KHZ my daisy freezes up. Also weirdly enough the only time I have been able to move the sample rate down, is from 16KHZ to 8KHZ. Any ideas on a work around?