I am using PWM to play uncompressed sounds (inc voice). It seems to work quite well. I
have my own hardware running my own operating system. My problem is that I need to
produce the audio with a very small diameter speaker or other sound element such as a
peizo. My current solution is to use a peizo glued to the case to get max sound. I only
have a about 2cm diameter available and would like to be able to hear the sound from
1-2 meters away at reasonable volume - similar to a mobile phone ringer.
It would be nice to add some compression to reduce the size of the audio files! As
mentioned by others 68EZ328 is not powerful enough to do MP3 decoding by itself. Maybe
some sort of simpler compression would be helpful. Any ideas?
Micah Dowty wrote:
> MP3s would be nice, but I am curious to see how many have found a use for
> the EZ328's sound. I had connected the PWM output (not of a ucSimm but of
> my Kiwi) to a buffer chip to increase the current. The output from the
> buffer chip connected through a 100uf capacitor (to remove the DC) to
> headphones. It plays 32khz audio nicely, and I can fit a good portion of
> a song in my 8MB DRAM uncompressed.
> All this was 'bare metal' programming though, and I suppose the first step
> would be making a /dev/dsp driver for the sound. I would enjoy doing this
> but I need to research linux driver programming a bit.
> After a driver is implemented, should be trivial to port sound apps.
> Micah Dowty
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GCS d- s:+ a--- C++ UL++++ P++++>+++++ L++++ E>+++ W+++
> N o? K- w--- O? M- V? PS+ PE-- Y+ PGP t 5? X+ R>+ tv-
> b+ DI++ D++ G>++ e- h! !r !y
> ------END GEEK CODE BLOCK------
> On Wed, 3 May 2000, Keith Christopher wrote:
> > Has anyone tried running mp3's on a ucSimm ?
> > This message resent by the email@example.com list server http://www.uClinux.com/
> This message resent by the firstname.lastname@example.org list server http://www.uClinux.com/
This message resent by the email@example.com list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:35 EST