it works fine here as well as long as I don't send very fast runs (20 notes per second and more) did you try with fast midi input? 

cheers

On Jun 27, 2017 18:14, "Lucas Cordiviola" <lucarda27@hotmail.com> wrote:

Hi Simon,

Your patch is working perfect here on Win8.1.

I don't get “stack overflow error”.

You can try [notein yourchannel?], just to test?

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: Tuesday, June 27, 2017 2:04 PM
To: Pd-List
Subject: [PD] legato portamento
 
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