HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

JASS sound script help...

09-07-2007, 09:35 PM#1
botanic
I have 2 problems with this script...

1) The SetSoundPitch function as far as I can tell has a min of .01 and a max of 2... and as such i cant do a "pitch = (((2^(1/12))^12) * octave) + ((2^(1/12))^note)" so then how could I modify the pitch of one note? (to save space) I was thinking maby loop it for the octave then modify it a final time for the note... However I don't know exactly how that would work :/

2) I need to dynamically create sound objects :/ any smart ideas? I was thinking create it in the start function to save lines of code however how would I not overwrite the global for the stop function or should that not become a problem? Also how do I destroy it after it plays?

Collapse JASS:
function Stoptimer1 takes nothing returns nothing
local timer T = GetExpiredTimer()
call PauseTimer(T)
call ReleaseTimer(T)
call StopSoundBJ( udg_Sound[1], true )
endfunction
function Stoptimer2 takes nothing returns nothing
local timer T = GetExpiredTimer()
call PauseTimer(T)
call ReleaseTimer(T)
call StopSoundBJ( udg_Sound[2], true )
endfunction
function Stoptimer3 takes nothing returns nothing
local timer T = GetExpiredTimer()
call PauseTimer(T)
call ReleaseTimer(T)
call StopSoundBJ( udg_Sound[3], true )
endfunction
function start takes integer track, sound S, real V, real time, real pitch returns nothing
local timer T = NewTimer() 
call PlaySoundBJ(S)
set udg_Sound[track] = S
if track == 1 then
call TimerStart(T, time, true, function Stoptimer1)
elseif track == 2then
call TimerStart(T, time, true, function Stoptimer2)
elseif track == 3then
call TimerStart(T, time, true, function Stoptimer3)
endif
set T = null
endfunction
function Track_1 takes nothing returns nothing
local sound S = udg_MIDI_Sound[1]
call start(1,S,100,0.005,1)
call TriggerSleepAction(0.005)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,0.613,1)
call TriggerSleepAction(0.613)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,0.068,1)
call TriggerSleepAction(0.068)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.636,1)
call TriggerSleepAction(1.636)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.681,1)
call TriggerSleepAction(0.681)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,0.136,1)
call TriggerSleepAction(0.136)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.818)

call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.272,1)
call TriggerSleepAction(0.272)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,1.636,1)
call TriggerSleepAction(1.636)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.818,1)
call TriggerSleepAction(0.818)
call start(1,S,100,0.545,1)
call TriggerSleepAction(0.545)
call start(1,S,100,2.730,1)
call TriggerSleepAction(2.730)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)
call start(1,S,100,1.090,1)
call TriggerSleepAction(1.090)
call start(1,S,100,2.732,1)
call TriggerSleepAction(2.732)

endfunction
function Track_2 takes nothing returns nothing
local sound S = udg_MIDI_Sound[2]
call start(2,S,100,10.914,2)
call TriggerSleepAction(10.914)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,0.613,2)
call TriggerSleepAction(0.613)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,0.068,2)
call TriggerSleepAction(0.068)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.636,2)
call TriggerSleepAction(1.636)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.681,2)
call TriggerSleepAction(0.681)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,0.136,2)
call TriggerSleepAction(0.136)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,1.090,2)
call TriggerSleepAction(1.090)
call start(2,S,100,2.732,2)
call TriggerSleepAction(2.732)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,0.545,2)
call TriggerSleepAction(0.545)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,2.730,2)
call TriggerSleepAction(2.730)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)
call start(2,S,100,0.818,2)
call TriggerSleepAction(0.818)
call start(2,S,100,0.272,2)
call TriggerSleepAction(0.272)

call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,1.363,3)
call TriggerSleepAction(1.363)
call start(3,S,100,0.272,3)
call TriggerSleepAction(0.272)
call start(3,S,100,2.732,3)
call TriggerSleepAction(2.732)

endfunction
function Trig_Song_001_Actions takes nothing returns nothing
    call ExecuteFunc("Track_1")
    call ExecuteFunc("Track_2")
    call ExecuteFunc("Track_3")
endfunction

//===========================================================================
function InitTrig_Song_001 takes nothing returns nothing
    set gg_trg_Song_001 = CreateTrigger(  )
    call TriggerRegisterTimerEventSingle( gg_trg_Song_001, 5 )
   call TriggerAddAction( gg_trg_Song_001, function Trig_Song_001_Actions )

endfunction

//You will need to import the following notes for this song:
//10
09-09-2007, 11:44 AM#2
botanic
bump :/
09-10-2007, 06:04 PM#3
Silvenon
An octave is an interval of 8 notes (for example, from C1 - C2).

I said that because I don't think everybody knows what an octave is.

Quote:
Also how do I destroy it after it plays?

KillSoundWhenDone destroys a sound when it's finished (the function name is quite self-explanatory ).

EDIT: Btw, "On the sixth day the Blizzard programmers created all the Abilities and Units of the realm, and it was good", I think you accidentally bolded "created" too.
09-10-2007, 07:32 PM#4
Captain Griffen
A note an octave up has twice the frequency (which is why they are in tune). It is by its very nature an exponential relationship.
09-11-2007, 06:05 AM#5
botanic
so would a

Collapse JASS:
 
if octave > 4 then 
I=4
loop
exitwhen I = octave
I = I+1
call setsoundpitch(S, 2)
endloop
elseif octave < 4
I=4
loop
exitwhen I = octave
I = I-1
call setsoundpitch(S, .5)
endloop
endif
or would that just go all funky?

also anyone know how I can create a new soundhandle in the trigger and how I will be able to play it? (the loadsound bug)
09-11-2007, 07:55 PM#6
Silvenon
About the sound handle, I think something like this:

Collapse JASS:
function CreateSoundHandle takes nothing returns nothing
    local sound s = CreateSound(path, .......)
    call SoundSetPitch(s, 1)
    call SoundSetVolume(s, 127)
    // ...
    // ...
endfunction
09-11-2007, 08:14 PM#7
botanic
my only problem with that is that you have to "load" a sound before you can play it...
09-11-2007, 08:25 PM#8
Silvenon
I copied this from the Anitarf's Cinematic System, there is a PreloadSoundPath function:

Collapse JASS:
// play sound
function PlaySoundPath takes nothing returns nothing
    local gamecache g = GC()
    local sound snd = null
    local integer scene = GetStoredInteger( g, "Interpreter", "Scene" )
    local integer action = GetStoredInteger(  g, "Interpreter", "PendingAction" )
    local string s = "S"+I2S(scene)+"A"+I2S(action)

    local integer volume = GetStoredInteger( g, s, "int1" )
    local real pitch = GetStoredReal( g, s, "real1" )
    local string path = GetStoredString( g, s, "str1" )

    set snd = CreateSound(path, false, false, false, 10, 10, "")
    call SetSoundPitch(snd, pitch)
    call SetSoundVolume(snd, volume)
    call StartSound(snd)
    call KillSoundWhenDone(snd)
    set snd = null
    set g = null
endfunction

function PreloadSoundPath takes nothing returns nothing
    local gamecache g = GC()
    local timer t = GetExpiredTimer()
    local string path = GetStoredString( g, H2S(t), "path" )
    local sound snd = CreateSound(path, false, false, false, 10, 10, "")
    call SetSoundVolume(snd, 0)
    call StartSound(snd)
    call KillSoundWhenDone(snd)
    set snd = null
    call FlushStoredMission( g, H2S(t) )
    call DestroyTimer(t)
    set t = null
    set g = null
endfunction

function ScriptPlaySound takes real time, string path, real pitch, integer volume returns nothing
    local gamecache g = GC()
    local integer scene = GetStoredInteger( g, "Scripter", "Scene" )
    local integer action = GetActionSpot( scene, time )
    local string s = "S"+I2S(scene)+"A"+I2S(action)

    local timer t
    if not(GetStoredBoolean(g, "preloading", path)) then
        set t = CreateTimer()
        call StoreString( g, H2S(t), "path", path )
        call TimerStart(t, 1.00, false, function PreloadSoundPath)
        call StoreBoolean(g, "preloading", path, true)
        set t = null
    endif

    call StoreString( g, s, "ActionType", "PlaySoundPath" )

    call StoreReal( g, s, "Time", time )
    call StoreReal( g, s, "real1", pitch )
    call StoreInteger( g, s, "int1", volume )
    call StoreString( g, s, "str1", path )
    set g = null
endfunction


Maybe it helps somehow
09-11-2007, 08:41 PM#9
botanic
humm interesting thanks didn't know i could kill the sound and keep it loaded :/ should probably have guessed that tho generally speaking wc3 works in the most illogical and screwy way possible ^.^
09-12-2007, 10:52 AM#10
Silvenon
But something was weird, though. The sound played for me without the preload things, it played normally (I was using CreateSound)

EDIT:
Quote:
Originally Posted by Blade.dk
Sounds do not play first time
First time you try to play a certain sound in Jass, it won’t play. It will be “loaded”, and play correctly the next times.

So there you have it, you can play it at volume 0 (like in the PreloadSoundPath function) and then that sound will be "loaded" silently :P
09-12-2007, 06:22 PM#11
botanic
Ok this is what I have redeon it into, is this leakless ect? (I cant test it yet im at work :/)

Collapse JASS:
function WaitSoundTimer takes real duration returns nothing
    local timer t
    local real  timeRemaining

    if (duration > 0) then
        set t =  NewTimer() 
        call TimerStart(t, duration, false, null)
        loop
            set timeRemaining = TimerGetRemaining(t)
            exitwhen timeRemaining <= 0
            if (timeRemaining > 1.00) then
                call TriggerSleepAction(1.00)
            elseif (timeRemaining >.1) then
                call TriggerSleepAction(0.10)
            endif
        endloop
    call PauseTimer(t)
    call ReleaseTimer(t)
    endif
endfunction

function Stoptimer1 takes nothing returns nothing
local timer T = GetExpiredTimer()
call PauseTimer(T)
call ReleaseTimer(T)
call StopSound( udg_Sound[1], true, true )
endfunction

function start takes integer track, string SOUND, real V, real time, real pitch, integer octave returns nothing
local timer T = NewTimer() 
local  sound S
local integer I

call CreateSound(SOUND, true, false, false,0,0, "")

if octave > 4 then 
I=4
loop
exitwhen I = octave
I = I+1
call setsoundpitch(S, 2)
endloop
elseif octave < 4
I=4
loop
exitwhen I = octave
I = I-1
call setsoundpitch(S, .5)
endloop
endif

call SetSoundPitch(S,pitch)
call SetSoundVolume(S, 0)
call StartSound(S)
call KillSoundWhenDone(S)
call StopSound(S, false, false)
call SetSoundVolume(S, V)
call StartSound(S)
call KillSoundWhenDone(S)

set udg_Sound[track] = S
if track == 1 then
call TimerStart(T, time, true, function Stoptimer1)
elseif track == 2then
call TimerStart(T, time, true, function Stoptimer2)
elseif track == 3then
call TimerStart(T, time, true, function Stoptimer3)
endif
set T = null
endfunction

function Track_1 takes nothing returns nothing
call start(1,S,100,0.005,0.00, 4)
call WaitSoundTimer(0.005)