Author Topic: MP3 Sound circuit  (Read 4889 times)

0 Members and 1 Guest are viewing this topic.

Offline lehamTopic starter

  • Regular Contributor
  • *
  • Posts: 91
MP3 Sound circuit
« on: January 27, 2016, 09:54:34 pm »
Hi all,
I am wanting to make a MP3 sound circuit that plays a short (5 seconds max) audio file once when the power is applied or a switch is pressed.
Anyone know of such a thing
 

Offline DrGeoff

  • Frequent Contributor
  • **
  • Posts: 794
  • Country: au
    • AXT Systems
Re: MP3 Sound circuit
« Reply #1 on: January 27, 2016, 10:03:41 pm »
Ask yourself if mp3 is the best encoding for your application.
There are other ways of doing it, depending on quality and bandwidth required.
Was it really supposed to do that?
 

Offline lehamTopic starter

  • Regular Contributor
  • *
  • Posts: 91
Re: MP3 Sound circuit
« Reply #2 on: January 27, 2016, 10:20:52 pm »
sorry, MP# was the best example I could think of, I want to playback a voice but I want it to sound decent :)
 

Offline DrGeoff

  • Frequent Contributor
  • **
  • Posts: 794
  • Country: au
    • AXT Systems
Re: MP3 Sound circuit
« Reply #3 on: January 27, 2016, 10:41:02 pm »
'Decent' is fairly subjective. Are you playing it back through an arena PA system, hi-fi system or computer speaker?
Since (mono) voice can remain intelligible when band-limited, that can help with the playback circuit. Sample rate and resolution can be lower.
As an example, a mono 4-bit resolution @ 11.025kHz sample rate 5 second clip uses under 30kB of memory (within the flash capacity of small microcontrollers).
Was it really supposed to do that?
 

Offline DrGeoff

  • Frequent Contributor
  • **
  • Posts: 794
  • Country: au
    • AXT Systems
Re: MP3 Sound circuit
« Reply #4 on: January 27, 2016, 11:34:31 pm »
BTW, VLSI have an mp3 decoder chip, and there is probably a TI one as well.

http://www.vlsi.fi/en/products/vs1011.html

Was it really supposed to do that?
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5018
  • Country: ro
  • .
Re: MP3 Sound circuit
« Reply #5 on: January 28, 2016, 12:32:13 am »
Or, you know, you could just get a super cheap mp3 player (like a usb stick or something similar) that boots up directly in the playlist or ready to play that mp3 file. Then, figure out the play and stop buttons, solder wire to them and you can now control your mp3 player from a microcontroller

Pete from Sparkfun did something like this a long time ago:




« Last Edit: January 28, 2016, 12:33:53 am by mariush »
 

Offline bitslice

  • Frequent Contributor
  • **
  • !
  • Posts: 493
  • Country: gb
Re: MP3 Sound circuit
« Reply #6 on: January 28, 2016, 04:23:51 am »
Ask yourself if mp3 is the best encoding for your application.
There are other ways of doing it, depending on quality and bandwidth required.

It's probably the most pragmatic choice, there are several Chinese MP3 players on eBay that are just the IC on a PCB.
Apply power and they'll play the first track on an SD card.

 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2806
  • Country: au
Re: MP3 Sound circuit
« Reply #7 on: January 28, 2016, 04:42:32 am »
The JQ6500 module (less than $6 on eBay) is simple to use and has onboard flash memory (great for short songs or voice apps) so you don't need an SD card.
 

Offline lehamTopic starter

  • Regular Contributor
  • *
  • Posts: 91
Re: MP3 Sound circuit
« Reply #8 on: January 28, 2016, 05:53:25 am »
thanks for all the replies everyone, much appreciated :)
The JQ6500 looks like what I'd want, anyone here used one? I only want the sound to play once per power cycle.

I'm going to have a look at the datasheet and see if it mentions anything like this.

To clarify the requirements, I want to install a sound module into a game console, so when I turn it on, it plays a short sound or tune. Just running the sound through a small speaker inside the device.

thanks a bunch everyone :D
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2806
  • Country: au
Re: MP3 Sound circuit
« Reply #9 on: January 28, 2016, 06:26:57 am »
I've used the JQ6500.  This is not my page, but this explains it well.  http://sparks.gogo.co.nz/jq6500/index.html
 

Offline Chalcogenide

  • Regular Contributor
  • *
  • Posts: 156
  • Country: it
Re: MP3 Sound circuit
« Reply #10 on: January 28, 2016, 10:19:29 am »
The ISD1820 is a cheap voice recorder/playback IC. You can't exactly play an MP3, but if you manage to record the right track, then you can play it back all the times you want by simply toggling a pin. Complete modules cost <2$ from China including microphone and (crappy) speaker. They run on 3.3V. Quality can be slightly improved at the sacrifice of record length (8 seconds by default) by replacing the timing resistor.
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2806
  • Country: au
Re: MP3 Sound circuit
« Reply #11 on: January 28, 2016, 10:48:17 am »
Gawd... those ISD chips are a blast from the past.  Dodgy quality, mono sound and a really short play time.

The only reason you might use one is if you want something super cheap to record onto.

Catalex also do a cheap mp3 chip/board, but I prefer the JQ6500 these days.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19494
  • Country: gb
  • 0999
Re: MP3 Sound circuit
« Reply #12 on: January 28, 2016, 11:18:01 am »
There are lots of modules available.

Cheap. powered by two button cells.
http://www.ebay.co.uk/itm/10s-GREETING-CARD-RECORDABLE-voice-chip-music-sound-talking-musical-module-UBX/261969758330?_trksid=p2141725.c100338.m3726&_trkparms=aid%3D222007%26algo%3DSIC.MBE%26ao%3D1%26asc%3D20150313114020%26meid%3Df6529f6ed8fa488d96ae2fe63df8472e%26pid%3D100338%26rk%3D2%26rkt%3D21%26sd%3D131522147486

A bit more expensive. Powered by three AA cells. Someone managed to configure it so it plays when the power is applied by adding a relay. A similar thing could probably be done with a couple of transistors.
http://www.rapidonline.com/design-technology/rvfm-20-second-recording-module-13-0665/?utm_source=googleps&utm_medium=cpc&utm_campaign=shopping&&gclid=cjfhqievzmocfckagwody-0i_a

If you want it to be louder and slightly better sound quality. Add a better speaker and an LM386 amplifier circuit.

I wonder what ICs these modules use? Could they be the old ISD ICs?
« Last Edit: January 28, 2016, 11:19:57 am by Hero999 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf