Shop OBEX P1 Docs P2 Docs Learn Events
bs2 wave/mp3 file retrieval for project? — Parallax Forums

bs2 wave/mp3 file retrieval for project?

ArchiverArchiver Posts: 46,084
edited 2001-04-20 16:19 in General Discussion
Jon-

If I understand the question you want your computer to play a sound
file in response to your Stamp detecting a condition. This is very
possible via a DEBUG statement from your Stamp which is then read by
a Visual Basic program which in turn invokes the sndPlaySound()
function to play a selected .wav file.


Regards,

Steve

On 20 Apr 01 at 14:55, jhtoolman2000@y... wrote:

> I have a question about retrieving a soundfiles (wave or mp3) for my
> project. I have an infrared sensor hooked up to my bs2. The bs2 is
> hooked up to the pc. When it receives a high, I want it to play a
> soundfile out of my pc speakers. Any clue what I can do to do
> this?-- Is this possible? Any help is appreciated. Thanks. Jon

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-04-20 15:55
    I have a question about retrieving a soundfiles (wave or mp3) for my
    project. I have an infrared sensor hooked up to my bs2. The bs2 is
    hooked up to the pc. When it receives a high, I want it to play a
    soundfile out of my pc speakers. Any clue what I can do to do this?--
    Is this possible? Any help is appreciated. Thanks.
    Jon
  • ArchiverArchiver Posts: 46,084
    edited 2001-04-20 16:12
    At 4/20/2001 Friday 10:55 AM, jhtoolman2000@y... promulgated:
    >I have a question about retrieving a soundfiles (wave or mp3) for my
    >project. I have an infrared sensor hooked up to my bs2. The bs2 is
    >hooked up to the pc. When it receives a high, I want it to play a
    >soundfile out of my pc speakers. Any clue what I can do to do this?--
    >Is this possible? Any help is appreciated. Thanks.
    >Jon
    >
    >Hi Jon -

    Here is a stand alone WAVE Player - thanks to Beau Schwabe:

    [noparse][[/noparse]
    http://home.earthlink.net/~y2kbc/Electronics/BasicStamp/wavprom.gif ]

    Hopefully that can be adapted for your application.

    Regards,

    Bruce


    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2001-04-20 16:19
    [font=arial,helvetica]In a message dated 4/20/01 9:56:31 AM Central Daylight Time,
    jhtoolman2000@yahoo.com writes:


    I have a question about retrieving a soundfiles (wave or mp3) for my
    project. ·I have an infrared sensor hooked up to my bs2. The bs2 is
    hooked up to the pc. ·When it receives a high, I want it to play a
    soundfile out of my pc speakers. ·Any clue what I can do to do this?--
    Is this possible? ·Any help is appreciated. ·Thanks.




    The Quadravox QV306M4 is a great solution -- so much so that Quadravox and
    Parallax are working together to design even more "sound" solutions. ·You can
    check it out at www.quadravox.com.

    -- Jon Williams
    -- Dallas, TX

    PS: I'm writing about the QV306M4 in "Stamp Applications" column in Nuts &
    Volts magazine. ·Watch for it in the June issue.

    [/font]
Sign In or Register to comment.