Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | PlaySound use?

Discussion forum for the BasicX family of microcontroller chips.

PlaySound use? - Matthew Daughtrey - Feb 17 10:44:00 2000

What's the expected data format for the PlaySound call?





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: PlaySound use? - Jack Schoof - Feb 17 11:27:00 2000


-----Original Message-----
From: Matthew Daughtrey <>
To: ' <>
Date: Thursday, February 17, 2000 8:58 AM
Subject: [BasicX] PlaySound use? >From: Matthew Daughtrey <>
>
>What's the expected data format for the PlaySound call? 8 bit, at any sample frequency you want. The number 128 is mid scale which
will be 2.5 volts, 0 is 0 volts and 255 is 5 volts.

You can record with ADC2COM1 into a PC and then make your files.

Jack




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: PlaySound use? - Michael Blier - Feb 17 12:28:00 2000

I'm not really sure what you are asking regarding the data format, but in my
case the BX24 will be receiving a text stream from a radio data link in a
fixed format, (ie:I know what data will be where and how many bytes into the
stream to recover it.) ASCII characters, I need to play a message for each
character (ie; String recvd: "ABC", have chip play message 012, "Alpha",
"Bravo", "Charlie"). I will probably use a look up table that will cross
the ASCII character "A" to a byte value of "0", assuming that 0 is where I
stored "Alpha".

The voice chip configuration is simply a bunch of .WAV files stored end
to end in the voice chip starting with number 0. To play and message you
simply send a single byte to the QV305 chip and IT makes the voice chip
play the correct message. Super simple...

Mike B. Mike B.
----- Original Message -----
From: Matthew Daughtrey <>
To: <>
Sent: Thursday, February 17, 2000 7:44 AM
Subject: [BasicX] PlaySound use? > From: Matthew Daughtrey <>
>
> What's the expected data format for the PlaySound call?
>
> --------------------------------------------------------------------------
------ > Please click above to support our sponsor
>
> --------------------------------------------------------------------------
------




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: PlaySound use? - Michael Blier - Feb 17 12:32:00 2000

Duh.......

Excuse me folks, disregard my last post in reply to this message!! <g> I
was so locked into responding to the voice chip thread I assumed (theres
that word again!) the "Playsound Use" was referring to the voice chip stuff.
Oh well, gimme a break, I'm old..... Mike B.

----- Original Message -----
From: Jack Schoof <>
To: <>
Sent: Thursday, February 17, 2000 8:27 AM
Subject: Re: [BasicX] PlaySound use? > From: "Jack Schoof" < > -----Original Message-----
> From: Matthew Daughtrey <>
> To: ' <>
> Date: Thursday, February 17, 2000 8:58 AM
> Subject: [BasicX] PlaySound use? > >From: Matthew Daughtrey <>
> >
> >What's the expected data format for the PlaySound call?
> >
>
> 8 bit, at any sample frequency you want. The number 128 is mid scale
which
> will be 2.5 volts, 0 is 0 volts and 255 is 5 volts.
>
> You can record with ADC2COM1 into a PC and then make your files.
>
> Jack >
> --------------------------------------------------------------------------
------ > Please click above to support our sponsor
>
> --------------------------------------------------------------------------
------




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )