Page 1 of 1

how to play wav with pcm driver?

Posted: Wed Nov 07, 2012 7:18 pm
by egteam
hi,

i'm new to chibios, for the stm32f10x, how to play wav(pcm, 8khz samples) with chibios pwm driver? have any example? 

thanks

Re: how to play wav with pcm driver?

Posted: Wed Nov 07, 2012 8:30 pm
by Giovanni
Hi,

Unfortunately I don't have an example for that, hopefully somebody else did it and could post here. If you have some other example it could be adapted to the ChibiOS PWM driver.

Giovanni

Re: how to play wav with pcm driver?

Posted: Wed Nov 07, 2012 10:44 pm
by Tectu
I don't know of any PWM example as well. But at least someone did a .wav player on a discovery board with the onboard sound chip. Maybe this helps at least reading the .wav file? click me
A .wav player supported by ChibiOS/RT PWM would be nice indeed :D


~ Tectu