HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Optimise JASS Sound Functions

09-02-2007, 11:32 AM#1
botanic
I have created a midi to JASS parser that I am trying to use to make into a midi style player for wc3 ~.~ ne ways I was wondering if there are any optimizations ect that I should be using?

PS the timers are still screwy im working on that part all the rest should be correct.)

Collapse JASS:
function tracks takes nothing returns integer
    return 5
endfunction


function Fs4_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function E_4_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function D_4_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function Cs4_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function B_3_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function A_3_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function G_3_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function Fs3_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function E_3_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function D_3_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function B_2_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function A_4_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function Cs3_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function B_4_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function G_4_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function Cs5_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function D_5_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function A_2_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function G_2_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function C_4_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function C_5_1 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[1], false )
endfunction

function Fs4_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function E_4_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function D_4_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function Cs4_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function B_3_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function A_3_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function G_3_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function Fs3_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function E_3_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function D_3_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function B_2_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function A_4_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function Cs3_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function B_4_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function G_4_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function Cs5_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function D_5_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function A_2_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function G_2_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function C_4_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function C_5_2 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[2], false )
endfunction

function D_2_3 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[3], false )
endfunction

function A_1_3 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[3], false )
endfunction

function B_1_3 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[3], false )
endfunction

function Fs1_3 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[3], false )
endfunction

function G_1_3 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[3], false )
endfunction

function D_1_3 takes nothing returns nothing
    local timer T = GetExpiredTimer()
    call PauseTimer(T)
    call ReleaseTimer(T)
    call StopSoundBJ( udg_Sound[3], false )
endfunction

function Track_1 takes nothing returns nothing
    local timer T1 = NewTimer()
    local integer Track = 1
    local sound S

    set S = udg_Fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0272727272727273, true, function Track_1_Fs4())
    set T1 = null

    set S = udg_fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_fs4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_e_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_d_4())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_cs4())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_b_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_a_3())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_b_3())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_cs4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_d_4())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_cs4())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_b_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_a_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_g_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_fs3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_g_3())
    set T1 = null

    set S = udg_E_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_E_3())
    set T1 = null

    set S = udg_e_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_e_3())
    set T1 = null

    set S = udg_D_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_D_3())
    set T1 = null

    set S = udg_d_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_d_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_fs3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_a_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.18181818181818, true, function Track_1_g_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.18181818181818, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.636363636363636, true, function Track_1_fs3())
    set T1 = null

    set S = udg_D_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.636363636363636, true, function Track_1_D_3())
    set T1 = null

    set S = udg_d_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.954545454545455, true, function Track_1_d_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.954545454545455, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.27272727272727, true, function Track_1_fs3())
    set T1 = null

    set S = udg_E_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.27272727272727, true, function Track_1_E_3())
    set T1 = null

    set S = udg_e_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.3, true, function Track_1_e_3())
    set T1 = null

    set S = udg_D_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.3, true, function Track_1_D_3())
    set T1 = null

    set S = udg_d_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_d_3())
    set T1 = null

    set S = udg_B_2
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_B_2())
    set T1 = null

    set S = udg_b_2
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_b_2())
    set T1 = null

    set S = udg_D_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_D_3())
    set T1 = null

    set S = udg_d_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_d_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.327272727272727, true, function Track_1_a_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.327272727272727, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_g_3())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_b_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_a_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.354545454545455, true, function Track_1_g_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.354545454545455, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_fs3())
    set T1 = null

    set S = udg_D_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_D_3())
    set T1 = null

    set S = udg_d_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_d_3())
    set T1 = null

    set S = udg_E_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_E_3())
    set T1 = null

    set S = udg_e_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_e_3())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.381818181818182, true, function Track_1_cs4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.381818181818182, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_d_4())
    set T1 = null

    set S = udg_Fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_Fs4())
    set T1 = null

    set S = udg_fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_fs4())
    set T1 = null

    set S = udg_A_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_A_4())
    set T1 = null

    set S = udg_a_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_a_4())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.409090909090909, true, function Track_1_a_3())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.409090909090909, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_b_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_g_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_a_3())
    set T1 = null

    set S = udg_D_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_D_3())
    set T1 = null

    set S = udg_d_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.436363636363636, true, function Track_1_d_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.436363636363636, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_g_3())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_d_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.654545454545455, true, function Track_1_d_4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.654545454545455, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.30909090909091, true, function Track_1_e_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.30909090909091, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.96363636363636, true, function Track_1_d_4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.96363636363636, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -2.61818181818182, true, function Track_1_e_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -2.61818181818182, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.27272727272727, true, function Track_1_d_4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.27272727272727, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.92727272727273, true, function Track_1_e_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.92727272727273, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -4.58181818181818, true, function Track_1_d_4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -4.58181818181818, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_e_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.654545454545455, true, function Track_1_d_4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.654545454545455, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.30909090909091, true, function Track_1_e_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.30909090909091, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.96363636363636, true, function Track_1_d_4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.96363636363636, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -2.61818181818182, true, function Track_1_e_4())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -2.61818181818182, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 13.7545454545455, true, function Track_1_cs4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 13.7545454545455, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_d_4())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_cs4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_d_4())
    set T1 = null

    set S = udg_D_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_D_3())
    set T1 = null

    set S = udg_d_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_d_3())
    set T1 = null

    set S = udg_Cs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_Cs3())
    set T1 = null

    set S = udg_cs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_cs3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_a_3())
    set T1 = null

    set S = udg_E_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_E_3())
    set T1 = null

    set S = udg_e_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_e_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 14.5636363636364, true, function Track_1_fs3())
    set T1 = null

    set S = udg_D_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 14.5636363636364, true, function Track_1_D_3())
    set T1 = null

    set S = udg_d_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_d_3())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_d_4())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_cs4())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_b_3())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_cs4())
    set T1 = null

    set S = udg_Fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_Fs4())
    set T1 = null

    set S = udg_fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_fs4())
    set T1 = null

    set S = udg_A_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_A_4())
    set T1 = null

    set S = udg_a_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_a_4())
    set T1 = null

    set S = udg_B_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_B_4())
    set T1 = null

    set S = udg_b_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 15.3727272727273, true, function Track_1_b_4())
    set T1 = null

    set S = udg_G_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 15.3727272727273, true, function Track_1_G_4())
    set T1 = null

    set S = udg_g_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_g_4())
    set T1 = null

    set S = udg_Fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_Fs4())
    set T1 = null

    set S = udg_fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_fs4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_e_4())
    set T1 = null

    set S = udg_G_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_G_4())
    set T1 = null

    set S = udg_g_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_g_4())
    set T1 = null

    set S = udg_Fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_Fs4())
    set T1 = null

    set S = udg_fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_fs4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_e_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_d_4())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 16.9142992424242, true, function Track_1_cs4())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 16.9142992424242, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 81.1636363636364, true, function Track_1_b_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 81.1636363636364, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.69090909090909, true, function Track_1_a_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.69090909090909, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 81.1636363636364, true, function Track_1_g_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 81.1636363636364, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.53636363636364, true, function Track_1_fs3())
    set T1 = null

    set S = udg_E_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.53636363636364, true, function Track_1_E_3())
    set T1 = null

    set S = udg_e_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 81.1636363636364, true, function Track_1_e_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 81.1636363636364, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.38181818181818, true, function Track_1_g_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.38181818181818, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 81.1636363636364, true, function Track_1_fs3())
    set T1 = null

    set S = udg_E_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 81.1636363636364, true, function Track_1_E_3())
    set T1 = null

    set S = udg_e_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 16.9961174242424, true, function Track_1_e_3())
    set T1 = null

    set S = udg_D_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 16.9961174242424, true, function Track_1_D_3())
    set T1 = null

    set S = udg_d_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_d_3())
    set T1 = null

    set S = udg_E_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_E_3())
    set T1 = null

    set S = udg_e_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_e_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_fs3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_g_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_a_3())
    set T1 = null

    set S = udg_E_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_E_3())
    set T1 = null

    set S = udg_e_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_e_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_a_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 16.9909090909091, true, function Track_1_g_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 16.9909090909091, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_fs3())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_b_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_a_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_g_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_a_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_g_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_fs3())
    set T1 = null

    set S = udg_E_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_E_3())
    set T1 = null

    set S = udg_e_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 18.6142992424242, true, function Track_1_e_3())
    set T1 = null

    set S = udg_D_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 18.6142992424242, true, function Track_1_D_3())
    set T1 = null

    set S = udg_d_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_d_3())
    set T1 = null

    set S = udg_B_2
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_B_2())
    set T1 = null

    set S = udg_b_2
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_b_2())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_b_3())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_cs4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_d_4())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_cs4())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_b_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 19.4233901515152, true, function Track_1_a_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 19.4233901515152, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_g_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_fs3())
    set T1 = null

    set S = udg_E_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_E_3())
    set T1 = null

    set S = udg_e_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_e_3())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_b_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_a_3())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_b_3())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 3.23636363636364, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_a_3())
    set T1 = null

    set S = udg_G_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 77.6727272727273, true, function Track_1_G_3())
    set T1 = null

    set S = udg_g_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 20.2324810606061, true, function Track_1_g_3())
    set T1 = null

    set S = udg_Fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 20.2324810606061, true, function Track_1_Fs3())
    set T1 = null

    set S = udg_fs3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_fs3())
    set T1 = null

    set S = udg_Fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 1.61818181818182, true, function Track_1_Fs4())
    set T1 = null

    set S = udg_fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_fs4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 2.42727272727273, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.940246212121212, true, function Track_1_e_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0727272727272727, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_d_4())
    set T1 = null

    set S = udg_Fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_Fs4())
    set T1 = null

    set S = udg_fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.976609848484848, true, function Track_1_fs4())
    set T1 = null

    set S = udg_B_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.976609848484848, true, function Track_1_B_4())
    set T1 = null

    set S = udg_b_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_b_4())
    set T1 = null

    set S = udg_A_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_A_4())
    set T1 = null

    set S = udg_a_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.01297348484848, true, function Track_1_a_4())
    set T1 = null

    set S = udg_B_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.01297348484848, true, function Track_1_B_4())
    set T1 = null

    set S = udg_b_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_b_4())
    set T1 = null

    set S = udg_Cs5
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_Cs5())
    set T1 = null

    set S = udg_cs5
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.04933712121212, true, function Track_1_cs5())
    set T1 = null

    set S = udg_D_5
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.04933712121212, true, function Track_1_D_5())
    set T1 = null

    set S = udg_d_5
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0727272727272727, true, function Track_1_d_5())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0727272727272727, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_d_4())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0.00520833333333333, true, function Track_1_cs4())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_b_3())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, 0, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.12206439393939, true, function Track_1_d_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.12206439393939, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.145454545454545, true, function Track_1_d_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.145454545454545, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.867518939393939, true, function Track_1_d_4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.867518939393939, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_d_4())
    set T1 = null

    set S = udg_G_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_G_4())
    set T1 = null

    set S = udg_g_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_g_4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_e_4())
    set T1 = null

    set S = udg_A_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_A_4())
    set T1 = null

    set S = udg_a_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.845454545454545, true, function Track_1_a_4())
    set T1 = null

    set S = udg_A_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.845454545454545, true, function Track_1_A_4())
    set T1 = null

    set S = udg_a_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.30909090909091, true, function Track_1_a_4())
    set T1 = null

    set S = udg_Fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -2.61818181818182, true, function Track_1_Fs4())
    set T1 = null

    set S = udg_fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.92727272727273, true, function Track_1_fs4())
    set T1 = null

    set S = udg_G_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.92727272727273, true, function Track_1_G_4())
    set T1 = null

    set S = udg_g_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_g_4())
    set T1 = null

    set S = udg_A_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0545454545454545, true, function Track_1_A_4())
    set T1 = null

    set S = udg_a_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.30909090909091, true, function Track_1_a_4())
    set T1 = null

    set S = udg_Fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -2.61818181818182, true, function Track_1_Fs4())
    set T1 = null

    set S = udg_fs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.92727272727273, true, function Track_1_fs4())
    set T1 = null

    set S = udg_G_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.92727272727273, true, function Track_1_G_4())
    set T1 = null

    set S = udg_g_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_g_4())
    set T1 = null

    set S = udg_A_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.0818181818181818, true, function Track_1_A_4())
    set T1 = null

    set S = udg_a_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.30909090909091, true, function Track_1_a_4())
    set T1 = null

    set S = udg_A_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.30909090909091, true, function Track_1_A_3())
    set T1 = null

    set S = udg_a_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -2.61818181818182, true, function Track_1_a_3())
    set T1 = null

    set S = udg_B_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -2.61818181818182, true, function Track_1_B_3())
    set T1 = null

    set S = udg_b_3
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.92727272727273, true, function Track_1_b_3())
    set T1 = null

    set S = udg_Cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -3.92727272727273, true, function Track_1_Cs4())
    set T1 = null

    set S = udg_cs4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_cs4())
    set T1 = null

    set S = udg_D_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -0.109090909090909, true, function Track_1_D_4())
    set T1 = null

    set S = udg_d_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.30909090909091, true, function Track_1_d_4())
    set T1 = null

    set S = udg_E_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -1.30909090909091, true, function Track_1_E_4())
    set T1 = null

    set S = udg_e_4
    call laySoundBJ( S )
    call SetSoundVolumeBJ( S,100 )
    set udg_Sound[1] = S
    call TimerStart(T1, -2.61818181818182, true, function Track_1_e_4())
    set T1 = null

    set S = udg_Fs4
    call laySoundBJ( S )
    call SetSoundVolum

humm it cut it off :/ ne ways you get the idea :P
09-03-2007, 06:32 AM#2
The Elite
why don't you just use a sound editing program to convert the midi to .mp3 and save yourself so much coding?
09-03-2007, 06:41 AM#3
PipeDream
Heh, neat idea. I don't think there's any real optimization you can do, because the cost of playing a sound will dominate the computational effort.

Hm I see you're not but you should be creating timers for every sound. You could fix that by creating a queue of events and having the timer elapse walk from one to the next, turning notes on and if necessary off.
09-03-2007, 09:06 AM#4
botanic
@ The_Elite : because I can have a 30 minute song take up less the 1 mb this way

@ PipeDream : I dont really get what you are saying. I am calling a function that on time expire will stop the note then the parent function will go on to the next one...