Music Script?
#5
Not what you're looking for but I'll post it anyway.
[cubescript]
playsound = [ sound $arg1 ]

playsong = []

tonecount = [ 0 ]

addsound = [
add2list playsong sleep
add2list playsong (* $tonecount 500)
add2list playsong "["
add2list playsong [playsound]
add2list playsong $arg1
add2list playsong "]"
add2list playsong ";"
tonecount = (+ $tonecount 1)
]

clearsong = [
playsong = []
]
[/cubescript]
Use it to compose your own music inside AC.
Use addsound to add a sound to the total song.
Use playsong to play your song once you're done adding.
To start again, you have to use clearsong or you'll be adding more sounds to your existing song.
I used this with a set of preset tones between A and Ab, but you can use whatever sounds you want.
Note that there is half a second between the start of each sound. This is because the tones I used were half a second long.
You can choose your own interval by modifying the line:
[cubescript]
add2list playsong (* $tonecount 500)
[/cubescript]
Thanks given by:


Messages In This Thread
Music Script? - by CDan75 - 30 Oct 12, 01:34AM
RE: Music Script? - by Cho - 30 Oct 12, 02:11AM
RE: Music Script? - by D3M0NW0LF - 30 Oct 12, 08:46PM
RE: Music Script? - by CDan75 - 31 Oct 12, 12:39AM
RE: Music Script? - by Frogulis - 01 Nov 12, 12:37PM