View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide

How do you track down MIDI in noteoff messages in SC2

a =; 
x = < 0 

if you want to find out the time difference between the note on and the note off,
you can do this:
var a, dt;
//a =,0.3);  
a =; 
x = < 0;{ dt = thisSynth.time }, x);{ (thisSynth.time - dt).postln }, a>0);
authors so far:
HPZ1 will measure the difference between two adjacent samples in the audio stream.
so if the level drops it will output a negative value.

something 0 outputs 0.0 if the something is 0 or larger, if it drops below zero it will output 1.0.

Link to this Page