BS2 Music Needed
The Doctor
Posts: 37
I have a string of LEDs on the front of my 'Bot that cycle like the scanners on KITT from Knight Rider.· I was thinking it would be cool to have the 'Bot play the first 15 seconds or so from the Knight Rider theme.· Anyone out there have the time and musical inclination to be able to write the code for that?
Comments
http://g.sheetmusicplus.com/Look-Inside/large/5837795_01.jpg
The treble clef lines: E G B D F· (Every Good Boy Does Fine)
And between lines: F A C E
The bass clef lines: G B D F A (Good Boys Do Fine Always)
And between lines: A C E G (All Cows Eat Grass)
And the BASIC Stamp book has a frequency chart in it for each note.
If you have the same speaker as I do, you'll probably need one speaker for treble and one for bass... unless you've figured out how to play two tones out of the same speaker.
Yeah, it's not what you asked for, but it was fun looking that stuff up...
dun-na dun-na dun-na·*beat* dun-na·*beat*·dun-na...·"Knight Rider".· I'll have that going through my head all night.
Code:
http://cachefly.oreilly.com/make/Introduction to BASIC Stamps.zip
Podcast:
http://blog.makezine.com/archive/2007/03/beginning_with_the_basic.html
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Max Wooden
Reedley, California
I have not used it but it looks pretty simple to use to convert the sheet music into your project.
Al
http://forums.parallax.com/forums/default.aspx?f=6&m=318700