home | |||
links |
|
||
developer's mag main page article part 1 part 2 part 3 part 4 part 5 part 6 part 7 part 8 part 9 |
2 - The Piezoelectric Tone API'Piezo' is used to refer to the buzzer sound available on the ebm. Unlike the audio API, the piezo circuit is strictly an on/off variation - there are no calls to change volume. Additionally, the piezo audio is a separate system that bypasses the speaker (and headphones).Because of these differences, piezo or buzzer sounds should be used cautiously. For instance, imagine a program that sounds an alarm - obviously, there should be a way to turn it off when it becomes disturbing. The piezo API takes that into account, with flag options to handle situations when the user has selected a quiet mode for their ebm. Finally, while individual sounds are interesting, creating whole tunes makes the piezo API even more useful. The ebm comes with support for ready-made and self-written tunes, called jingles, allowing you to add some musical variety. Previous Section Next Section |
||
Copyright © 2001-2006 ebmDevMag.com - Legal Notice |