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-bounces@lists.iem.at> on behalf of Lucas Cordiviola <lucarda27@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-bounces@lists.iem.at> on behalf of Simon Iten <itensimon@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.