Hi,
I am trying to use AudioOutputMQS of the audio library, with a smaller value of AUDIO_BLOCK_SAMPLES. I changed 128 to 64 in the line
of AudioStream.h. Then the sound became strange, sort of noisy and vibrating, while the tempo seemed unchanged. 32 gave the same kind of result.
My test code was very simple --- the data was from memory (converted using wav2sketch):
I guess something in output_mqs.cpp might be relevant. How I can use smaller AUDIO_BLOCK_SAMPLES?
I am trying to use AudioOutputMQS of the audio library, with a smaller value of AUDIO_BLOCK_SAMPLES. I changed 128 to 64 in the line
Code:
#define AUDIO_BLOCK_SAMPLES 128
of AudioStream.h. Then the sound became strange, sort of noisy and vibrating, while the tempo seemed unchanged. 32 gave the same kind of result.
My test code was very simple --- the data was from memory (converted using wav2sketch):
Code:
void setup() {
AudioPlayMemory mp;
AudioOutputMQS mqs;
AudioConnection cn(mp, 0, mqs, 0);
AudioMemory(5);
while(true) {
mp.play(AudioSampleFlute);
delay(5000);
}
}
I guess something in output_mqs.cpp might be relevant. How I can use smaller AUDIO_BLOCK_SAMPLES?