Hi,

I am quite new to Pure Data......What I want to do is to convert the continuous pitch output of Helmholtz~ to discrete midi note and velocity (as the output of notein). I am finding this task quite difficult, I feel like I am missing something.

Using ftom and int I get the midi note and using env~ with one mathematical expression I get the velocity scaled 1-127 but everything is a continuous stream. I want to isolate different notes. Does anybody has suggestions?

Thanks!