Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Mario Theme Song
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
KevinW




PostPosted: Wed Oct 25, 2006 5:32 pm   Post subject: Mario Theme Song

This is my first year programming in Turing. I got bored and created the Mario Bros Theme Song based on a sheet music transcribed by Brain Auyeung. Here's his website. http://individual.utoronto.ca/auyeun/vgsheetmusic.html

The song is pretty basic, but the sound is quite good. Here's the code...

code:

procedure mario1
    play (">4eepepcep1g<g           4>cpp<gpeppapbpa+ap       4g>eg4apf2g4fpcd<bp") %BARS 1-3
    play (">cpp<gpeppapbpa+ap       4g>eg4apf2g4fpcd<bp     p>gf+fd+pep<g+a>cp<a>cd") % BARS 4-6
    play ("pgf+fd+pep>cpccp2p       4p<gf+fd+pep<g+a>cp<a>cd") %BARS 7-8
    play ("pe-ppdpcp2p1p            4pgf+fd+pep<g+a>cp<a>cd") %BARS 9-10
    play ("pgf+fd+pep>cpccp2p       4p<gf+fd+pep<g+a>cp<a>cd") %BARS 11-12
    play ("pe-ppdpcp2p1p            4ccpcpcdpecp<agp2p      4>ccpcde1pp") %BARS 13-14
    play ("4ccpcpcdpecp<agp2p       4>eepepcep1g<g          4>cpp<gpeppapbpa+ap") %BARS 16-18
    play ("4g>eg4apf2g4fpcd<bp      >cpp<gpeppapbpa+ap      4g>eg4apf2g4fpcd<bp") %BARS 19-21
    play (">ecp<gpg+pa>fpf<ap2p     4b>aaagf4ecp<agp2p      4>ecp<gpg+pa>fpf<ap2p") %BARS 22-24
    play ("b>fpf4fed4c<epecp2p      4>ecp<gpg+pa>fpf<ap2p   4b>aaagf4ecp<agp2p") %BARS 24-27
    play ("4>ecp<gpg+pa>fpf<ap2p    4b>fpf4fed4c<epecp2p    4>ccpcpcdpecp<agp2p") %BARS 28-30
    play ("4>ccpcde1pp              4ccpcpcdpecp<agp2p      4>eepepcep1g<g") %BARS 31-33
    play ("4>ecp<gpg+pa>fpf<ap2p    4b>aaagf4ecp<agp2p      4>ecp<gpg+pa>fpf<ap2p") %BARS 34-36
    play ("4b>fpf4fed4c<epecp2p     4>cpp<gpep2aba1a-b-a-   1g")
end mario1
loop
    mario1
end loop
[/code]
Sponsor
Sponsor
Sponsor
sponsor
[Gandalf]




PostPosted: Fri Oct 27, 2006 2:40 pm   Post subject: (No subject)

Seems like you got the tune right, good job.

Now, first off may I suggest not using pauses in the future, since they are quite badly done in Turing, and only mess up your song.

Also, this should have been posted in the music sticky.
jr.ranger.33




PostPosted: Sat Nov 04, 2006 4:53 pm   Post subject: Good Job

Great Job with the tune, other that a few missing notes it sounded almost perfect
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: