Ops!!!,

Here is the really most efficient one. For Pd & for heavy.

Attached "simon-notes-minimal.pd"

Salutti,
Lucarda.



Mensaje telepatico asistido por maquinas.


________________________________
From: Pd-list <pd-list-boun...@lists.iem.at> on behalf of Lucas Cordiviola 
<lucard...@hotmail.com>
Sent: Sunday, July 2, 2017 7:52 PM
To: Simon Iten; Cyrille Henry
Cc: pd-list@lists.iem.at
Subject: Re: [PD] legato portamento


A little bit cleaned-up for “notearray.pd”

Attached “simon-notes.pd”

Salutti,
Lucarda.



Mensaje telepatico asistido por maquinas.


________________________________
From: Pd-list <pd-list-boun...@lists.iem.at> on behalf of Simon Iten 
<itensi...@gmail.com>
Sent: Sunday, July 2, 2017 10:29 AM
To: Cyrille Henry
Cc: pd-list@lists.iem.at
Subject: Re: [PD] legato portamento

and to close this, i have gone through 1000+ midi messages from my controller 
and stumbled across an error there…on very short notes there sometimes are two 
note ons sent for the same note and only one note off is sent afterwards. time 
to debug there! in the meantime i created an abstraction that is less naive in 
counting held keys, based on an array (with one value for each midinote). find 
attached a version for pd with array and array sum and a version that should 
compile in heavy that is slightly more complex.


#N canvas 106 87 886 408 12;
#X obj 351 124 notein;
#X obj 396 164 > 0, f 4;
#X obj 401 193 sel 0;
#X floatatom 427 283 5 0 0 0 - - -, f 5;
#X obj 419 250 + 1;
#X msg 396 217 -1;
#X msg 431 216 1;
#X obj 450 252 f;
#X text 507 286 number of notes on;
#X connect 0 1 1 0;
#X connect 1 0 2 0;
#X connect 2 0 5 0;
#X connect 2 1 6 0;
#X connect 4 0 3 0;
#X connect 4 0 7 0;
#X connect 5 0 4 0;
#X connect 6 0 4 0;
#X connect 7 0 4 1;
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to