Hello
I want to use teensy4.1 to play wave file from on-board sdio, and output as PWM (wave frequency range mapped to PWM duty range).
The audio lib seemed to be a good place to start. However I soon found out:
1.Audio lib does not support sdio
2.Audio lib does not support PWM output for Teensy4.1
So the audio library seems useless to me.
Without audio library, I have no idea how to read a .wav file.
Is there an example for reading wave file without audio library ?
Thanks!
I want to use teensy4.1 to play wave file from on-board sdio, and output as PWM (wave frequency range mapped to PWM duty range).
The audio lib seemed to be a good place to start. However I soon found out:
1.Audio lib does not support sdio
2.Audio lib does not support PWM output for Teensy4.1
So the audio library seems useless to me.
Without audio library, I have no idea how to read a .wav file.
Is there an example for reading wave file without audio library ?
Thanks!