Shop OBEX P1 Docs P2 Docs Learn Events
How can I add/play mp3 files (songs) using the BS2 — Parallax Forums

How can I add/play mp3 files (songs) using the BS2

eaparicioeaparicio Posts: 2
edited 2008-01-09 06:12 in BASIC Stamp
Im trying to add sound to a robot im building and i wanna know how to add songs to it, not the full song just some sounds depending in what the robot is doing

please help me???

Comments

  • Andy FoxAndy Fox Posts: 46
    edited 2008-01-08 03:01
    Or for a cheaper option (don't know how many seconds total of sound you plan on storing), you can look into the ISD1000A series of audio record/playback ICs. Load it up (record) the sound clips you want to play back, then install it into your robot.
  • Mike GreenMike Green Posts: 23,101
    edited 2008-01-08 03:42
    Quadravox also has an MP3 based playback device (here: www.quadravox.com/frameset/qvframeset.htm, the QV606m1).

    You can also use the VMusic2 from Vinculum to add MP3 playback and USB "thumb drive" storage to a Stamp.
  • eaparicioeaparicio Posts: 2
    edited 2008-01-09 06:04
    thanks, but how should my code program should start or look, any help on that??
  • Mike GreenMike Green Posts: 23,101
    edited 2008-01-09 06:12
    That depends on which interface you use. Parallax has some examples for their datalogger (see their webstore page). The VMusic2 uses the same chip and the music playing operations are the same format as the file I/O operations, so, by changing the commands used, you can play a file instead of just reading it. The VMusic2 documentation goes into details on the commands.
Sign In or Register to comment.