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.
On 28 Jun 2017, at 14:34, Simon Iten itensimon@gmail.com wrote:
ok, some more interesting things i found out:
with your counter cyrille i don’t get stack overflow anymore, it still glitches though.
if i connect my controller to ableton live and route midi through there to pd it does not glitch. so ableton does seem to change the midi stream?
cheers
On 27 Jun 2017, at 23:40, Simon Iten itensimon@gmail.com wrote:
ah sorry :-)
On 27 Jun 2017, at 23:37, cyrille henry ch@chnry.net wrote:
have a look at the attachement patch in my mail.
Le 27/06/2017 à 23:31, Simon Iten a écrit :
ok, what would be a simpler counter? sorry i don’t see another approach atm. cheers simon
On 27 Jun 2017, at 23:25, cyrille henry ch@chnry.net wrote:
hello, i would try a more simple counter, but i don't see any obvious problem, and I can't test the patch. cheers c
Le 27/06/2017 à 16:04, Simon Iten a écrit :
dear list, i try to make a monoponic bass synth patch that glides from note to note, but only when more than one note is pressed. here is my attempt that works, but if i play very fast i get stuck notes and a stack overflow error. this seems to come from the counter. when i remove the counter part it all works as expected, but without glide... is there something wrong with my approach? or is there a better (more stable) way to do this? cheers _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
<legatoportamentomidibass.pd>_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list