To be honest.. I have absolutely no experience in music. I can just about play a triangle.
I googled the frequencies of notes, and set up a method that could play any note.
Then I googled the popcorn song and got a big line of notes to play.. and then I just put that big list in main.
I couldn't believe it when the popcorn song actually came out !!
Then I wrote a program that uses a method called playThePopcornSong() when a sensor gets triggered.
bit of fun !
but importantly.. 30 mins from start to finish.
cheers
Dave.
would like to add a multi-tone audio annunciator to a project before poking into it a bit I really didnt know that there were different sorts of piezo 'spkrs', 'buzzers' etc. specifically, i would like to use Pete Drescher's beep routine question then is which piezo will work with that code (part numbers welcome !!)
tnx all...
garyb