Do you guys have code for beep toned songs?
I have a little speaker on my robot that can produce little beeps at different tonalities. I was wondering if anyone has numbers for tonalities for an entire song.
I remember doing things like that on qbasic and stuff.
beep songs
- isapiens
- Fame ! Where are the chicks?!
- Posts: 533
- Joined: 05 May 2006, 16:00
- 17
- Location: Turn around
beep songs
Fluoridation is the most monstrously conceived and dangerous communist plot we have ever had to face.
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
well, if you want to use qbasic here's how to do it:
http://en.wikibooks.org/wiki/QBasic/Sound
but pre-made "songs" seem to be hard to find (at least I haven't found one)...but hmm...you should be able to play a .wav file too I guess?
http://en.wikibooks.org/wiki/QBasic/Sound
but pre-made "songs" seem to be hard to find (at least I haven't found one)...but hmm...you should be able to play a .wav file too I guess?
I imagine it wouldn't be that hard to just make the code for it?
All you would need to do is find the sheet music (or a midi) of the song and find the frequency of each note (in khz) and then just start coding...
When i say that you can find a midi of a song, i mean that you can open up the midi in midi making/editing software like anvil studio and it will show you the sheet music for the midi.
Good luck
All you would need to do is find the sheet music (or a midi) of the song and find the frequency of each note (in khz) and then just start coding...
When i say that you can find a midi of a song, i mean that you can open up the midi in midi making/editing software like anvil studio and it will show you the sheet music for the midi.
Good luck
¯\_(ツ)_/¯ It works on my machine...