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

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | PlaySound command

Discussion forum for the BasicX family of microcontroller chips.

PlaySound command - Ron A. Nucci - Apr 26 11:22:00 2000

Basicx people

I would like anyone’s thoughts on using the BX24 sound record and play capabilities. Specifically how do you get it to record a sound to its EEPROM then play it back out a pin (I assume using the PlaySound command).

Chris Harriman from NetMedia said "This is what our ADCTOSERIAL and SERIALTODAC functions are all about. " The closest command I could find listed in the "System Library" manual is ADCtoCom1 and Com1toDAC I assume these are the commands he is referring to ? These commands appear to send data in and out of the serial port, perhaps this would be used for recording and playing sounds from your PC’s hard drive ? The PlaySound command itself looks very straight forward to use and I assume I just take the assigned output pin and run it to an audio amp like a LM386 to a speaker?

But how do you get the data into the EEPROM in the first place in the correct format? I would think you would connect a microphone and op-amp to an input pin then use some code like GetADC to sample the incoming sound and write it to the EEPROM ?

Thank you Ron A. Nucci
[Non-text portions of this message have been removed]




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