go away spammer

Author Topic: Sound playback  (Read 4053 times)

0 Members and 1 Guest are viewing this topic.

Offline gamefreakTopic starter

  • Supreme Robot
  • *****
  • Posts: 543
  • Helpful? 2
  • Robo-Enthusiast
Sound playback
« on: September 27, 2008, 05:50:37 PM »
So working on a TSA project, I do them a lot, I need a way to play sound. I want to be able to take prerecorded sounds off of a computer and then have the almighty AXON trigger the playback of one of them. So does anyone know of something that will allow me to store multiple sound files and then select a specific one to playback?
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Sound playback
« Reply #1 on: September 27, 2008, 10:31:13 PM »
What kind of sounds? A simple midi? or wav file?

A speaker? Or piezo buzzer?

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: Sound playback
« Reply #2 on: September 28, 2008, 05:12:54 AM »
For whom the interrupts toll...

Offline gamefreakTopic starter

  • Supreme Robot
  • *****
  • Posts: 543
  • Helpful? 2
  • Robo-Enthusiast
Re: Sound playback
« Reply #3 on: September 28, 2008, 08:37:18 AM »
Im not very well versed in the field of audio equipment, so im not very sure. Since I intend to have the thing "talk" i would think that a speaker would be best. Also, I am unsure as to the file format, I want to make recordings on the computer and then transfer it to the robot, by a SD card or something as simple, and then have the robot choose which file to play. I would think the format depends on the chip im using, correct?

Im not all that skilled when it comes to schematics and microcontrollers, I could tell you what most symbols are but when it comes to telling you how they work or how to properly wire it, im lost. So something simple would be great.

Tricky, I cant seem to locate the link you gave on the NuvoTon website, nor do I know where I would order it.

« Last Edit: September 28, 2008, 03:17:57 PM by gamefreak »
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Sound playback
« Reply #4 on: September 28, 2008, 03:56:45 PM »
why not hack an MP3 players  Play and Next button. Then just keep track of which audio file is playing and which number the other files are.
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline gamefreakTopic starter

  • Supreme Robot
  • *****
  • Posts: 543
  • Helpful? 2
  • Robo-Enthusiast
Re: Sound playback
« Reply #5 on: September 28, 2008, 07:11:23 PM »
I suppose thats an option, but I would have to go out and buy one, then hack a speaker since I dont think MP3 players have enough output to power one.....
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: Sound playback
« Reply #6 on: September 29, 2008, 02:03:08 PM »
Tricky, I cant seem to locate the link you gave on the NuvoTon website, nor do I know where I would order it.



The link is just the pdf of a voice recording IC... Since you are from America, I guess, I don't really can tell were to buy it....
I just buy from local stores.....

The IC is the ISD2560
Google it if you want......


Reagards, Lefteris
Greece
For whom the interrupts toll...

Offline ArcMan

  • Supreme Robot
  • *****
  • Posts: 519
  • Helpful? 4
  • Mmmm... Plasma
Re: Sound playback
« Reply #7 on: September 29, 2008, 02:20:12 PM »
A buddy of mine at work is doing the same thing.  I can't give you all the details, but a little research should reveal them.

He is playing MP3 files stored on an SD card.  There is a chip that manages the FAT file system on the SD card.  His micro is reading the MP3 file and spitting it out to an MP3 decoder chip via SPI.  The decoder chip output is then amplified and output to a speaker.

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: Sound playback
« Reply #8 on: September 30, 2008, 04:00:18 AM »
A buddy of mine at work is doing the same thing.  I can't give you all the details, but a little research should reveal them.

He is playing MP3 files stored on an SD card.  There is a chip that manages the FAT file system on the SD card.  His micro is reading the MP3 file and spitting it out to an MP3 decoder chip via SPI.  The decoder chip output is then amplified and output to a speaker.


Hehehehe

Take a look at VS1053!!!!
For whom the interrupts toll...

Offline gamefreakTopic starter

  • Supreme Robot
  • *****
  • Posts: 543
  • Helpful? 2
  • Robo-Enthusiast
Re: Sound playback
« Reply #9 on: September 30, 2008, 08:11:50 AM »
I think it may just be easier to hack a cheap MP3 player and buy some battery powered speakers. thanks for the help
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline MaltiK

  • Robot Overlord
  • ****
  • Posts: 300
  • Helpful? 2
Re: Sound playback
« Reply #10 on: September 30, 2008, 01:18:38 PM »
http://www.radioshack.com/product/index.jsp?productId=2102855, and instead of the record button, solder on a 3.5mm audio jack.
Warranty

Offline gamefreakTopic starter

  • Supreme Robot
  • *****
  • Posts: 543
  • Helpful? 2
  • Robo-Enthusiast
Re: Sound playback
« Reply #11 on: October 01, 2008, 07:29:43 PM »
Have you tested that theory? It seems to me if the device is built to record 20 seconds of audio and play it back later, then replacing the record button will do... well jack squat.
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline MaltiK

  • Robot Overlord
  • ****
  • Posts: 300
  • Helpful? 2
Re: Sound playback
« Reply #12 on: October 02, 2008, 04:18:19 AM »
Yes I have, in fact theres a video on it, here :
http://www.instructables.com/id/Sexy-Secret-Safe
towards the end he replaces the record button with a jack.

Its the microphone he replaces I think.
« Last Edit: October 02, 2008, 04:20:20 AM by MaltiK »
Warranty

Offline gamefreakTopic starter

  • Supreme Robot
  • *****
  • Posts: 543
  • Helpful? 2
  • Robo-Enthusiast
Re: Sound playback
« Reply #13 on: October 05, 2008, 09:32:29 PM »
I dont see how I could have multiple sound files on that, it allows a total of 20 seconds, no more and it plays the whole thing from the beginning. So any other suggestions?
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Sound playback
« Reply #14 on: October 08, 2008, 11:44:18 PM »

 


Get Your Ad Here