Help w/ song for boe-bot
Every-Rose-Has-Its-Thorn
Posts: 5
I'm trying to program my boe-bot to "sing" greensleeves and i currently have four speakers on the bot. I have to be able to play achord of 3 notes on the bot. (peizospeakers)
I need help with creating and/or finding a program for this song or any song of that matter and i need to be able to understand it.
If anyone can help me I would really appreciate it.
Thanks
I need help with creating and/or finding a program for this song or any song of that matter and i need to be able to understand it.
If anyone can help me I would really appreciate it.
Thanks
Comments
You will get the best sound continuity by using inline code — i.e. one FREQOUT after another — rather than reading data in a loop or computing notes on the fly. If your tune sequence is short, this shouldn't be a big issue. However, long sequences may require storing notes in EEPROM, reading them sequentially, and performing the FREQOUTs in a loop. The effect will be more staccato, though, since there will be gaps between notes. You will also have to shorten the notes proportionately to maintain the proper relative tempo.
-Phil
* Addendum: Hmm. Mike's approach could work, now that I see his explanation...