Home › Forums › Macros › All_Tracks_To_Players › Répondre à: All_Tracks_To_Players
Salut Krismenn,
Bien vu!
Complètement cassée!
Voici la correction.
Mais effectivement, c’est strictement réservé aux boucles asynchrones.
Philippe
CopyToFile @ “ply-$now$”
WaitEndCopyToFile
Sleep 200
// Important to wait a little here
FilePlayerStop 1
FilePlayerOpen 1 “$last_copy_to_file_prefix$-1.aiff”
FilePlayerLoopMode 1 ON
FilePlayerVolume 1 = 0
Sleep 500
FilePlayerStart 1
StopMacroIf {$current_full_track$<1}
FilePlayerStop 2
FilePlayerOpen 2 "$last_copy_to_file_prefix$-2.aiff"
FilePlayerLoopMode 2 ON
FilePlayerVolume 2 = 0
Sleep 500
FilePlayerStart 2
StopMacroIf {$current_full_track$<2}
FilePlayerStop 3
FilePlayerOpen 3 "$last_copy_to_file_prefix$-3.aiff"
FilePlayerLoopMode 3 ON
FilePlayerVolume 3 = 0
Sleep 500
FilePlayerStart 3
StopMacroIf {$current_full_track$<3}
FilePlayerStop 4
FilePlayerOpen 4 "$last_copy_to_file_prefix$-4.aiff"
FilePlayerLoopMode 4 ON
FilePlayerVolume 4 = 0
Sleep 500
FilePlayerStart 4
StopMacroIf {$current_full_track$<4}
FilePlayerStop 5
FilePlayerOpen 5 "$last_copy_to_file_prefix$-5.aiff"
FilePlayerLoopMode 5 ON
FilePlayerVolume 5 = 0
Sleep 500
FilePlayerStart 5
StopMacroIf {$current_full_track$<5}
FilePlayerStop 6
FilePlayerOpen 6 "$last_copy_to_file_prefix$-6.aiff"
FilePlayerLoopMode 6 ON
FilePlayerVolume 6 = 0
Sleep 500
FilePlayerStart 6
StopMacroIf {$current_full_track$<6}
FilePlayerStop 7
FilePlayerOpen 7 "$last_copy_to_file_prefix$-7.aiff"
FilePlayerLoopMode 7 ON
FilePlayerVolume 7 = 0
Sleep 500
FilePlayerStart 7
StopMacroIf {$current_full_track$<7}
FilePlayerStop 8
FilePlayerOpen 8 "$last_copy_to_file_prefix$-8.aiff"
FilePlayerLoopMode 8 ON
FilePlayerVolume 8 = 0
Sleep 500
FilePlayerStart 8
StopMacroIf {$current_full_track$<8}
// To erase the copyed sound
UndoClear
UndoRecord