the following patch takes in a midi note (so far only set up for 70 and 70)
and depending on how it is set either lets the note play until a midi off comes, or it forces a set duration for the note.(which needs to be customisable for each different note)
this patch is going to go into a patch that drives a real world mechanical orchestra. some of the instruments like horns, need to sound as long as the note is open, others like xylophones are best played quick.
i'm not a newbie programmer but i'm a noob patcher, so there's probably lots of really basic stuff i haven't figured out how to use properly yet, such as encapsulation of patches within patches, so i've basically used the first things that got the job done that i found. and it works fine...
i can see that by the time i make this patch work for the full range of notes i need its going to be huge and repetitive.
and maybe there's a much smarter way to get the job done.
anyone got any ideas?