Re: Any recommendations for audio player microcontrollers?



Hoi Wong wrote:

I'm trying to build a small device that instantly plays one of many short
audio clips stored in memory on user's command.

Does anybody know any easy to program microcontroller that integrates all
the needs below?

This depends on how many seconds at which bit resolution you want to store.

1. GPIO (8 pins will be enough)
2. Built in memory (external is OK as long as it's easy to hook up)
3. Directly drives small loudspeakers (0.5W).

The audio quality doesn't have to be good. 22kHz audio will be more than
enough.

A cheaper solution than the VLSI chip could be to use a standard low-cost
microcontroller with sufficient flash. Most microcontrollers have a PWM
output. Add an external FET and lowpass filter for some cents, and you can
drive a loudspeaker with it.

The only drawback is that flash in microcontrollers is expensive. If you
use something like 16k flash, the sound memory would be less than a second,
if uncompressed. Would be interesting to see, if it is possible to
implement e.g. a decoder for the free Ogg Vorbis format (MP3 requires
license fee for each device, or a really big one-time fee) in a small and
slow microcontroller.

Another idea: just buy a 500k serial flash for less than $1 (in higher
quantities), which can store more than 20 seconds uncompressed 8 bit audio
data.

http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=W25X40VSSIG-ND

--
Frank Buss, fb@xxxxxxxxxxxxx
http://www.frank-buss.de, http://www.it4-systems.de
.



Relevant Pages

  • Re: Elektronik, diesmal gusseisern
    ... Aber bestimmt nicht in einem Microcontroller mit ein paar ... KBytes Flash. ... Linux-Studium und kann dann superschnell Linux bedienen. ... meine Sachen passen immer in ein paar KByte Flash. ...
    (de.sci.electronics)
  • Re: Any recommendations for audio player microcontrollers?
    ... For sound quality, I ... 200ms delay between command and playing will be unacceptable, ... Does anybody know any easy to program microcontroller that integrates ... The audio quality doesn't have to be good. ...
    (comp.arch.embedded)
  • Re: What microcontroller to buy?
    ... some sort of interface to connect the microcontroller to a PC to allow the microcontroller app to transfer logged data. ... low cost or free Integrated Development Environment with debugging capabilities ... memory, I can live with adding the memory externally but the ...
    (comp.arch.embedded)
  • Re: Best way to getting a high data rate (300Mbps) from multiple ADCs to memory
    ... someone has suggested that I use a microcontroller for each of the ... data into a more slow memory after recording. ... Because DSP's are built to handle streaming signals whereas ...
    (comp.dsp)
  • Re: Best way to getting a high data rate (300Mbps) from multiple ADCs to memory
    ... someone has suggested that I use a microcontroller for each of the ... data into a more slow memory after recording. ... So it's possible to find a 1 GHz DSP, ...
    (comp.dsp)