Discussion forum for the BasicX family of microcontroller chips.
|
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. |