6 |
{ Convert BPM to microseconds (duration between the notes) } |
{ Convert BPM to microseconds (duration between the notes) } |
7 |
declare const $delayMicroSeconds := 60 * 1000000 / $bpm |
declare const $delayMicroSeconds := 60 * 1000000 / $bpm |
8 |
{ Just a working variable for being used with the while loop below } |
{ Just a working variable for being used with the while loop below } |
9 |
declare $i |
declare polyphonic $i |
10 |
{ For each successive note we trigger, we will reduce the velocity a bit} |
{ For each successive note we trigger, we will reduce the velocity a bit} |
11 |
declare $velocity |
declare polyphonic $velocity |
12 |
end on |
end on |
13 |
|
|
14 |
on note |
on note |