Hello!
I read several threads regarding changing the sample frequency on a T4+Audio Shield. With each post or comment I read my confusion grows ho to do it...
Maybe one of the pros can point in the right direction...
I just want to change the samplerate to 48 kHz. It doesn't have to be possible at run-time. I do not need any other samplerate.
I'm just using record and play(all the files are 48kHz, no resampling necessary). The only additional components I use are the AudioAmplifier and AudioAnalyzePeak. No filters, effects, etc.
The communication to/from the Teensy is 'SERIAL', not 'AUDIO'.
My idea was: Just change #define AUDIO_SAMPLE_RATE_EXACT (in file AudioStream.h)
from 44100.0f to 48000.0f.
Is that all? Do I have to change code at other positions?
Uwe
I read several threads regarding changing the sample frequency on a T4+Audio Shield. With each post or comment I read my confusion grows ho to do it...
Maybe one of the pros can point in the right direction...
I just want to change the samplerate to 48 kHz. It doesn't have to be possible at run-time. I do not need any other samplerate.
I'm just using record and play(all the files are 48kHz, no resampling necessary). The only additional components I use are the AudioAmplifier and AudioAnalyzePeak. No filters, effects, etc.
The communication to/from the Teensy is 'SERIAL', not 'AUDIO'.
My idea was: Just change #define AUDIO_SAMPLE_RATE_EXACT (in file AudioStream.h)
from 44100.0f to 48000.0f.
Is that all? Do I have to change code at other positions?
Uwe