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 | A few sound questions

Discussion forum for the BasicX family of microcontroller chips.

A few sound questions - Larry Goodhind - Jan 12 1:08:00 2000

The PlaySound procedure "generates sound from sampled data in EEPROM."

How would you 'record' a sound sample, what sort of tranducer would you use
and what (if any) passive parts would you need around it? How big would a
typical sample need to be for simple noises? In a similar vein how would you
connect a piezo element to a data line to drive it and what sorts of code
calls would you make to do it?

Also, given how the procedures associated with generating signals that look
like they would be good for this (PlaySound, FreqOut, and the PWM example,
etc.) all disable multi-tasking and can effect the real time clock is this
even the right way to go?

What would be a good (reliable, low component count, quick, painless, etc.)
way to generate tone codes, clicks, buzzy noises and all that other stuff
for use in a UI?

Thanks for any thoughts,
-Larry

PS: This is a fun uController - working on a flight data recorder project.




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