MP3 Sound circuit  - Page 1
Forum section: electronics / beginners

author: leham
author_rank: Regular Contributor
timestamp: January 27, 2016, 09:54:34 pm
content: 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

author: DrGeoff
author_rank: Frequent Contributor
timestamp: January 27, 2016, 10:03:41 pm
content: Ask yourself if mp3 is the best encoding for your application.There are other ways of doing it, depending on quality and bandwidth required.

author: leham
author_rank: Regular Contributor
timestamp: January 27, 2016, 10:20:52 pm
content: sorry, MP# was the best example I could think of, I want to playback a voice but I want it to sound decent

author: DrGeoff
author_rank: Frequent Contributor
timestamp: January 27, 2016, 10:41:02 pm
content: '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).

author: DrGeoff
author_rank: Frequent Contributor
timestamp: January 27, 2016, 11:34:31 pm
content: BTW, VLSI have an mp3 decoder chip, and there is probably a TI one as well.http://www.vlsi.fi/en/products/vs1011.html

author: mariush
author_rank: Super Contributor
timestamp: January 28, 2016, 12:32:13 am
content: 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 microcontrollerPete from Sparkfun did something like this a long time ago:

author: bitslice
author_rank: Frequent Contributor
timestamp: January 28, 2016, 04:23:51 am
content: Quote from: DrGeoff on January 27, 2016, 10:03:41 pmIt'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.

author: David_AVD
author_rank: Super Contributor
timestamp: January 28, 2016, 04:42:32 am
content: 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.

author: leham
author_rank: Regular Contributor
timestamp: January 28, 2016, 05:53:25 am
content: thanks for all the replies everyone, much appreciatedThe 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

author: David_AVD
author_rank: Super Contributor
timestamp: January 28, 2016, 06:26:57 am
content: I've used the JQ6500. This is not my page, but this explains it well.http://sparks.gogo.co.nz/jq6500/index.html

author: Chalcogenide
author_rank: Regular Contributor
timestamp: January 28, 2016, 10:19:29 am
content: 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 beslightlyimproved at the sacrifice of record length (8 seconds by default) by replacing the timing resistor.

author: David_AVD
author_rank: Super Contributor
timestamp: January 28, 2016, 10:48:17 am
content: 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.

author: Zero999
author_rank: Super Contributor
timestamp: January 28, 2016, 11:18:01 am
content: 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%3D131522147486A 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_aIf 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?