WAV files played with Stamp?
Archiver
Posts: 46,084
Has anyone tried using the Stamp to play WAV files? Is it possible?
Comments
to get is the right sampling rate out of your basic stamp. Sampling rate can
be as low as 8 khz (telephone like quality), but I'm sure the BS2 is fast
enough to handle 22 khz (radio like), just needs alot of memory to hold the
sound data. You'll also need a amplifier. I'm not sure of the 741 is good
enough, but a LM386 should do the job.
It's an interesting little project you brought up.
I would check on the web for .wav files format information. I'm not quiet
sure how the sampling rate information is stored; but the basic thing to
understand is that it's not compressed, which is a good thing.
- E.L.
Original Message
From: mpicco@j... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=4SSZJn5EShx4-no2p9xSKx7e7aRv8OO1hQcomvYeO_EdCdAOUT1L6SKPuk7tTLeqwK3wlx2i]mpicco@j...[/url
Sent: Monday, September 11, 2000 4:19 PM
To: basicstamps@egroups.com
Subject: [noparse][[/noparse]basicstamps] WAV files played with Stamp?
Has anyone tried using the Stamp to play WAV files? Is it possible?
Actually, the .WAV files can be compressed with A-law, mu-law and a lot of other
things. But the common files you will find are indeed uncompressed. The
frequency informatoin is stored in bytes 24 and 25 (starting from byte 0).
Don't hesitate to contact me for further info on sound file formats, it's part
of my job. :-)
By the way , what do you plan to play back: 8-bit or 16-bit samples?
Nicolas
possible.
Nicolas Fournel wrote:
> Hi everbody,
>
> Actually, the .WAV files can be compressed with A-law, mu-law and a lot of
other things. But the common files you will find are indeed uncompressed. The
frequency informatoin is stored in bytes 24 and 25 (starting from byte 0).
>
> Don't hesitate to contact me for further info on sound file formats, it's part
of my job. :-)
> By the way , what do you plan to play back: 8-bit or 16-bit samples?
>
> Nicolas
Nicolas
>>> "Chee Sze Keat" <szekeat@h...> 09/11/00 06:38PM >>>
Hi Mr Nicolas
Is it mean thatMP3 files can be played
with stamp2 too?
thank you.
sze keat
>From: "Nicolas Fournel" <Nicolas.Fournel@f...>
>Reply-To: basicstamps@egroups.com
>To: <basicstamps@egroups.com>
>Subject: RE: [noparse][[/noparse]basicstamps] WAV files played with Stamp?
>Date: Mon, 11 Sep 2000 13:59:25 -0700
>
>Hi everbody,
>
>Actually, the .WAV files can be compressed with A-law, mu-law and a lot of
other things. But the common files you will find are indeed uncompressed.
The frequency informatoin is stored in bytes 24 and 25 (starting from byte
0).
>
>Don't hesitate to contact me for further info on sound file formats, it's
part of my job. :-)
>By the way , what do you plan to play back: 8-bit or 16-bit samples?
>
>Nicolas
>
>
>
>
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
Even with BS2SX???
Mensaje original
De: Nicolas Fournel [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=fANVI8P3WDt5aTtRE3e7ytUmHSTpacOEYznAd97wZmyN_PHO4-7xYo80DG-RDwmg9Fv23PZqJYCbf7jcbddhu6ZcnQsh]Nicolas.Fournel@f...[/url
Enviado el: Lunes, 11 de Septiembre del 2000 09:43 p.m.
Para: basicstamps@egroups.com
Asunto: RE: [noparse][[/noparse]basicstamps] WAV files played with Stamp?
Unfortunately, MP3 files require to much processing during the decoding...
Nicolas
>>> "Chee Sze Keat" <szekeat@h...> 09/11/00 06:38PM >>>
Hi Mr Nicolas
Is it mean thatMP3 files can be played
with stamp2 too?
thank you.
sze keat
>From: "Nicolas Fournel" <Nicolas.Fournel@f...>
>Reply-To: basicstamps@egroups.com
>To: <basicstamps@egroups.com>
>Subject: RE: [noparse][[/noparse]basicstamps] WAV files played with Stamp?
>Date: Mon, 11 Sep 2000 13:59:25 -0700
>
>Hi everbody,
>
>Actually, the .WAV files can be compressed with A-law, mu-law and a lot of
other things. But the common files you will find are indeed uncompressed.
The frequency informatoin is stored in bytes 24 and 25 (starting from byte
0).
>
>Don't hesitate to contact me for further info on sound file formats, it's
part of my job. :-)
>By the way , what do you plan to play back: 8-bit or 16-bit samples?
>
>Nicolas
>
>
>
>
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
list know.
Mark
At 01:59 PM 9/11/00 -0700, you wrote:
>Hi everbody,
>
>Actually, the .WAV files can be compressed with A-law, mu-law and a lot of
other things. But the common files you will find are indeed uncompressed.
The frequency informatoin is stored in bytes 24 and 25 (starting from byte 0).
>
>Don't hesitate to contact me for further info on sound file formats, it's
part of my job. :-)
>By the way , what do you plan to play back: 8-bit or 16-bit samples?
>
>Nicolas
>
Is it mean thatMP3 files can be played
with stamp2 too?
thank you.
sze keat
>From: "Nicolas Fournel" <Nicolas.Fournel@f...>
>Reply-To: basicstamps@egroups.com
>To: <basicstamps@egroups.com>
>Subject: RE: [noparse][[/noparse]basicstamps] WAV files played with Stamp?
>Date: Mon, 11 Sep 2000 13:59:25 -0700
>
>Hi everbody,
>
>Actually, the .WAV files can be compressed with A-law, mu-law and a lot of
other things. But the common files you will find are indeed uncompressed.
The frequency informatoin is stored in bytes 24 and 25 (starting from byte
0).
>
>Don't hesitate to contact me for further info on sound file formats, it's
part of my job. :-)
>By the way , what do you plan to play back: 8-bit or 16-bit samples?
>
>Nicolas
>
>
>
>
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
can you share some information to the list ??
I'm interested.
Regards
Gary
DIY Electronic
Website : http://www.diyelectronics.com
Email : Gary.Chung@d...
Original Message
From: "Nicolas Fournel" <Nicolas.Fournel@f...>
To: <basicstamps@egroups.com>
Sent: Tuesday, September 12, 2000 4:59 AM
Subject: RE: [noparse][[/noparse]basicstamps] WAV files played with Stamp?
> Hi everbody,
>
> Actually, the .WAV files can be compressed with A-law, mu-law and a lot of
other things. But the common files you will find are
indeed uncompressed. The frequency informatoin is stored in bytes 24 and 25
(starting from byte 0).
>
> Don't hesitate to contact me for further info on sound file formats, it's part
of my job. :-)
> By the way , what do you plan to play back: 8-bit or 16-bit samples?
>
> Nicolas
>
>
>
>
>
>
Yes, of course. The best starting point for people not knowing the .WAV file
format would be to go to the www.wotsit.org web site and check the Sound and
Music section (the .WAV file format is on page 9).
Then, what we need is some external memory to store the data, beacause obviously
the on-board memory is not enough. Hopefully we just want to play 8-bit mono
samples (and not 16-bit stereo) but even with the 6 kHz sampling rate mentioned
earlier, that gives us 6000 bytes of data for one second of sound !
A solution would be to write a program on the Stamp that reads sound data on the
serial port of the PC by small packets and then writes it into an EEPROM. Of
course we also need a program on the PC to send this data and even before that
to convert the file in the good format. I can program that if some of you are
interested. Just need some time because I'm rather busy right now.
Af the end of the chain we also need the DAC of course....
Nicolas
>>> "Gary Chung" <gary.chung@d...> 09/12/00 10:08AM >>>
Nicholas,
can you share some information to the list ??
I'm interested.
Regards
Gary
DIY Electronic
Website : http://www.diyelectronics.com
Email : Gary.Chung@d...
Original Message
From: "Nicolas Fournel" <Nicolas.Fournel@f...>
To: <basicstamps@egroups.com>
Sent: Tuesday, September 12, 2000 4:59 AM
Subject: RE: [noparse][[/noparse]basicstamps] WAV files played with Stamp?
> Hi everbody,
>
> Actually, the .WAV files can be compressed with A-law, mu-law and a lot of
other things. But the common files you will find are
indeed uncompressed. The frequency informatoin is stored in bytes 24 and 25
(starting from byte 0).
>
> Don't hesitate to contact me for further info on sound file formats, it's part
of my job. :-)
> By the way , what do you plan to play back: 8-bit or 16-bit samples?
>
> Nicolas
>
>
>
>
>
>
EEPROM from Xicor (X25650P) but I dont know how to work with it.specially
with the output.
His datasheet says that the output is a push-pull one.
Can anyone help me on this? how would be the push-pull circuit for this
purpose?
Thanks
Carlos
Mensaje original
De: Nicolas Fournel [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=v3noNIYHh-2fap3afWfCELg6MjXZLWoLXNw3Qzgz7Nd3eXt6Iq1rVdI69rne-TzeskQPUxxSZchgqENM7FL4BB0ntBlo]Nicolas.Fournel@f...[/url
Enviado el: Mi
does 8 differant messages,there are numerous other ones around as well, the
radioshlock version etc.Use 2 boards for the 16 messages.
I had thought of morse code for my robot to talk to me. a winter project I
guess.
At 11:20 AM 9/14/2000 -0400, you wrote:
>Hi, Im interested in downloading .WAV files to the Stamp, I have a 8k SPI
>EEPROM from Xicor (X25650P) but I dont know how to work with it.specially
>with the output.
>
>His datasheet says that the output is a push-pull one.
>
>Can anyone help me on this? how would be the push-pull circuit for this
>purpose?
>
> Thanks
> Carlos
>
>
>
>
Mensaje original
>De: Nicolas Fournel [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Eb7HDigAcjY3f5x8ZshFW8kWWVyjUqqeQXDS_zQItGxVtGDRE7EaB_U3qgd3Wh0wmSdro1pEtIRUjEU7FMah6BFmv3Be]Nicolas.Fournel@f...[/url
>Enviado el: Mi