beep songs

All about graphics, sounds, etc...
Post Reply
User avatar
isapiens
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 533
Joined: 05 May 2006, 16:00
17
Location: Turn around

beep songs

Post by isapiens »

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.
Fluoridation is the most monstrously conceived and dangerous communist plot we have ever had to face.

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

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? :-k

User avatar
Gogeta70
^_^
^_^
Posts: 3275
Joined: 25 Jun 2005, 16:00
18

Post by Gogeta70 »

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
¯\_(ツ)_/¯ It works on my machine...

User avatar
isapiens
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 533
Joined: 05 May 2006, 16:00
17
Location: Turn around

Post by isapiens »

o really...i thought people would like have a ton of prewritten songs. whatevs, i think we managed to do the power rangers song with beeps. kinda cool.
Fluoridation is the most monstrously conceived and dangerous communist plot we have ever had to face.

Post Reply