how to play wav with pcm driver?

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
egteam
Posts: 3
Joined: Wed Nov 07, 2012 6:23 pm

how to play wav with pcm driver?

Post 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
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: how to play wav with pcm driver?

Post 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
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: how to play wav with pcm driver?

Post 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
Post Reply