Sign in to follow this  
Followers 0
nwurd

wuts wit these beep songs?

3 posts in this topic

there seemed to be this cool mario beep song i wanted to play but the code example i got had no specific function or anyting at all just this:

CODE
_56(162)

_56(162)

_R(54)

_56(162)

_R(54)

_52(162)

_56(162)

_R(27)

_59(162)

_r(324)

_47(162)

_r(216)

_52(162)

_R(162)

_49(162)

_R(162)

_47(162)

_R(162)

_49(162)

_51(162)

_50(162)

_49(162)

_R(108-27)

_47(162)

_56(162)

_59(162)

_61(162)

_R(27)

_57(162)

_59(162)

_R(27)

_56(162)

_R(54)

_52(162)

_54(162)

_51(162)

_R(216)

_52(162)

_R(162)

_49(162)

_R(162)

_47(162)

_R(162)

_49(162)

_51(162)

_50(162)

_49(162)

_R(108-27)

_47(162)

_56(162)

_59(162)

_61(162)

_R(27)

_57(162)

_59(162)

_R(27)

_56(162)

_R(54)

_52(162)

_54(162)

_51(162)

_R(324)

_59(162)

_58(162)

_57(162)

_55(162)

_R(27)

_56(162)

_R(162)

_48(162)

_49(162)

_52(162)

_R(54)

_49(162)

_52(162)

_54(162)

_R(324)

_59(162)

_58(162)

_57(162)

_55(162)

_R(27)

_56(162)

_R(162)

_64(162)

_R(27)

_64(162)

_R(54)

_64(216)

is there ne1 who knows how to get this thing working? -thx

Share this post


Link to post
Share on other sites



Search for 'Beep songs' in Example Scripts and you'll find the original code.

Share this post


Link to post
Share on other sites

there seemed to be this cool mario beep song i wanted to play but the code example i got had no specific function or anyting at all just this:

CODE
_56(162)

_56(162)

_R(54)

_56(162)

_R(54)

_52(162)

_56(162)

_R(27)

_59(162)

_r(324)

_47(162)

_r(216)

_52(162)

_R(162)

_49(162)

_R(162)

_47(162)

_R(162)

_49(162)

_51(162)

_50(162)

_49(162)

_R(108-27)

_47(162)

_56(162)

_59(162)

_61(162)

_R(27)

_57(162)

_59(162)

_R(27)

_56(162)

_R(54)

_52(162)

_54(162)

_51(162)

_R(216)

_52(162)

_R(162)

_49(162)

_R(162)

_47(162)

_R(162)

_49(162)

_51(162)

_50(162)

_49(162)

_R(108-27)

_47(162)

_56(162)

_59(162)

_61(162)

_R(27)

_57(162)

_59(162)

_R(27)

_56(162)

_R(54)

_52(162)

_54(162)

_51(162)

_R(324)

_59(162)

_58(162)

_57(162)

_55(162)

_R(27)

_56(162)

_R(162)

_48(162)

_49(162)

_52(162)

_R(54)

_49(162)

_52(162)

_54(162)

_R(324)

_59(162)

_58(162)

_57(162)

_55(162)

_R(27)

_56(162)

_R(162)

_64(162)

_R(27)

_64(162)

_R(54)

_64(216)

is there ne1 who knows how to get this thing working? -thx
Hi, as a knucklehead for whom it took several days to figure this out, thought I'd make it easier for you <g>. A first, me answering a post here, for a change!! <g>

Paulie's file, from the example files area, I've saved like he mentions and called it Piano.au3, also as per Paulie's instructions. This file must go into the "INCLUDE" folder that's found in your AutoIt installation folder. You might decide to make a backup copy of this "Piano.au3" file since these beep files can't run without it!

Then any beep song of the type shown here needs to be modified by adding one tiny bit of code, that is, "#Include <Piano.au3>" at the top so that AutoIt knows how to deal with it. So the above beep song with the added line of code would look like this (also saved as attachment for easier understanding, though):

#Include <Piano.au3>

_56(162)
_56(162)
_R(54)
_56(162)
_R(54)
_52(162)
_56(162)
_R(27)
_59(162)
_r(324)
_47(162)
_r(216)
_52(162)
_R(162)
_49(162)
_R(162)
_47(162)
_R(162) 
_49(162)
_51(162)
_50(162)
_49(162)
_R(108-27)
_47(162)
_56(162)
_59(162)
_61(162)
_R(27)
_57(162)
_59(162)
_R(27)
_56(162)
_R(54)
_52(162)
_54(162)
_51(162)
_R(216)
_52(162)
_R(162)
_49(162)
_R(162)
_47(162)
_R(162)
_49(162)
_51(162)
_50(162)
_49(162)
_R(108-27)
_47(162)
_56(162)
_59(162)
_61(162)
_R(27)
_57(162)
_59(162)
_R(27)
_56(162)
_R(54)
_52(162)
_54(162)
_51(162)
_R(324)
_59(162)
_58(162)
_57(162)
_55(162)
_R(27)
_56(162)
_R(162)
_48(162)
_49(162)
_52(162)
_R(54)
_49(162)
_52(162)
_54(162)
_R(324)
_59(162)
_58(162)
_57(162)
_55(162)
_R(27)
_56(162)
_R(162)
_64(162)
_R(27)
_64(162)
_R(54)
_64(216)

Once you have the Piano.au3 file in the INCLUDE folder, you can play the Mario beep song.

Good luck! :)

p.s., my script folders were all getting cluttered what with all the WAV files and such I was adding. I much prefer beep music. Does the same thing but means for self-contained AI scripts. With Paulie's great Piano.au3 file, keeps the code in my own scripts way down, too!

Piano.au3

Mario_beep_song.au3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0