Author Topic: inexpensive controllable audio storage and playback?  (Read 1245 times)

0 Members and 1 Guest are viewing this topic.

Offline blackbeardTopic starter

  • Supreme Robot
  • *****
  • Posts: 575
  • Helpful? 4
inexpensive controllable audio storage and playback?
« on: September 26, 2010, 08:57:24 PM »
I would like to add a few sound effects currently in mp3 format to a project and i was wondering if there are any inexpensive ways to do this. the arduino shield is too expensive for me and a bit over kill since i need about 1 minute of audio between the 5 to 10 second or so effects. i've heard of people using cheep audio recording toys with one per effect but that would be my last option since that really kind of sucks to look at.
"sure, you can test your combat robot on kittens... But all your going to do is make kitten juice"

First step: Build androids with AI
Next step: Give them vaginas

Offline blackbeardTopic starter

  • Supreme Robot
  • *****
  • Posts: 575
  • Helpful? 4
Re: inexpensive controllable audio storage and playback?
« Reply #1 on: September 27, 2010, 06:20:35 PM »
bump
"sure, you can test your combat robot on kittens... But all your going to do is make kitten juice"

First step: Build androids with AI
Next step: Give them vaginas


Offline blackbeardTopic starter

  • Supreme Robot
  • *****
  • Posts: 575
  • Helpful? 4
Re: inexpensive controllable audio storage and playback?
« Reply #3 on: September 28, 2010, 11:25:37 AM »
thanks but i'm looking for more of an alternative to the arduino shield as i've found them to be very expensive. also i'm not looking to recognize or synthesis speech rather to play pre recorded sound files.
"sure, you can test your combat robot on kittens... But all your going to do is make kitten juice"

First step: Build androids with AI
Next step: Give them vaginas

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: inexpensive controllable audio storage and playback?
« Reply #4 on: September 28, 2010, 12:59:55 PM »
Have you thought about making your own? Because, correct me if I'm wrong, aren't all Arduino shields open source? If so take the schematic and make your own one for a cheaper price. Just a thought.
Kurt

Offline blackbeardTopic starter

  • Supreme Robot
  • *****
  • Posts: 575
  • Helpful? 4
Re: inexpensive controllable audio storage and playback?
« Reply #5 on: September 28, 2010, 08:50:11 PM »
Have you thought about making your own? Because, correct me if I'm wrong, aren't all Arduino shields open source? If so take the schematic and make your own one for a cheaper price. Just a thought.

i don't think it's open source. besides i don't want to use an arduino since my device can't exceed $30 (somewhat flexible) and should fit in a 1"x1.5"x3" if at all possible. i'd like to incorporate it into a plushie if it clears things up
"sure, you can test your combat robot on kittens... But all your going to do is make kitten juice"

First step: Build androids with AI
Next step: Give them vaginas

Offline rbtying

  • Supreme Robot
  • *****
  • Posts: 452
  • Helpful? 31
Re: inexpensive controllable audio storage and playback?
« Reply #6 on: September 28, 2010, 10:57:39 PM »
All Arduino and derivative shields are open source, it's just how the community runs.  You're not likely to find any good controllers and circuits under $30 unless you're skilled enough to do some soldering and build your own board, but for 1"x1.5"x3" you'd have to be pretty experienced.  By the way, just about nothing in MP3 will work xD.  MP3 requires some actual processing to play, and only a dedicated circuit that someone's done some serious work on (ie, prototyping) is going to cut it.  Stick to WAV, or an audio recorder.

http://www.sunrom.com/components/integrated-circuits/audio-recording/apr6016-16-min.-recording-playback-voice-ic

Perhaps try this?  It's at least a DIP, but I've never used one.

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: inexpensive controllable audio storage and playback?
« Reply #7 on: September 29, 2010, 12:21:03 AM »
SD cards use the SPI protocol, you could use one to store WAV files and play them back using an op-amp and filters. Look more into using SD cards for playing WAV files from a microcontroller. I myself am currently researching this too for my own purposes.
« Last Edit: September 29, 2010, 08:36:09 AM by galannthegreat »
Kurt

Offline billhowl

  • Supreme Robot
  • *****
  • Posts: 375
  • Helpful? 32
  • Your success is in your hands.
Re: inexpensive controllable audio storage and playback?
« Reply #8 on: September 29, 2010, 02:16:48 AM »
All the links that I have give you are some of the speech and effects sounds that generate by software means and it cost you nothing.

In the Talking Voltmeter link is a project that convert your sound files to Wave file and generate sound using PWM output through software means using AVR Atmega644 will cost less then $30.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: inexpensive controllable audio storage and playback?
« Reply #9 on: September 30, 2010, 02:00:53 PM »
Hi,


SD cards use the SPI protocol, [...]
Just a minor correction... SD cards can use the SPI protocol, but it's not nearly as fast as the "real SD protocol" (which is only for the blessed few paying loads for it).
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: inexpensive controllable audio storage and playback?
« Reply #10 on: September 30, 2010, 04:10:43 PM »
Hi,


SD cards use the SPI protocol, [...]
Just a minor correction... SD cards can use the SPI protocol, but it's not nearly as fast as the "real SD protocol" (which is only for the blessed few paying loads for it).


Thanks for the information Soeren. I'd be interested in learning how this method could be incorporated on a microcontroller. You have any links on this?
Kurt

Offline GearMotion

  • Supreme Robot
  • *****
  • Posts: 489
  • Helpful? 24
  • Two decades+ of Embedded Design
Re: inexpensive controllable audio storage and playback?
« Reply #11 on: September 30, 2010, 04:39:02 PM »
Hi,


SD cards use the SPI protocol, [...]

Just a minor correction... SD cards can use the SPI protocol, but it's not nearly as fast as the "real SD protocol" (which is only for the blessed few paying loads for it).



Thanks for the information Soeren. I'd be interested in learning how this method could be incorporated on a microcontroller. You have any links on this?


There are tons of projects demonstrating it.

http://elm-chan.org/docs/mmc/mmc_e.html

http://frank.circleofcurrent.com/cache/fat_sd.htm

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=printview&t=56331&start=0

Offline galannthegreat

  • Supreme Robot
  • *****
  • Posts: 615
  • Helpful? 4
  • Blue-Lensed Blue LEDs?! What?! Impossible!!
Re: inexpensive controllable audio storage and playback?
« Reply #12 on: September 30, 2010, 04:57:05 PM »
Thank you very much for posting that, http://elm-chan.org/docs/mmc/mmc_e.html cleared a lot of things up for me :)
Kurt

Offline macdad-

  • Robot Overlord
  • ****
  • Posts: 131
  • Helpful? 5
Re: inexpensive controllable audio storage and playback?
« Reply #13 on: September 30, 2010, 08:34:47 PM »
This chip is relatively old yet very handy(Doesn't require any encoder/decoder circuitry/algorithms, just standard analog interfacing):
http://www.8085projects.info/datasheets/APR9600.PDF

I'm not sure if they are still in production, but you can find some on Ebay.

Stores about 8 messages, with adjustable sampling rate and adjustable message length(NOTE: The two are inversely proportional to each other). But if you have it on the lowest sampling rate, you can record more or less a minute per message(8 minutes total for each Message slot).

Of course you would have to record from your computer's speakers into the microphone input on the chip, which can be done via a phono jack from your sound card output to the chip's input(I wouldn't recommend as it puts your sound card at risk).
« Last Edit: September 30, 2010, 08:36:28 PM by macdad- »

 


Get Your Ad Here

data_list