Inspired by Sting! (from Skinnerbox) and fascinated by the Euclidean/Bjorklund algorithm I decided 3 weeks ago that its about time to dig into M4L. After a lot of frustration and even more excitment I ended up with my first own device. For most part it already does what it is supposed to do: creating odd midi patterns by twisting 8 knobs (I want to use it with the APC40) and I'm quite happy with it.
What is puzzling me now is that when I record the pattern, there are sometimes (couldn't figure out yet when exactly) some really short like ghost notes triggered. There could be a few reasons for this: the way I handle duration, the sustain object (which is triggered if you set duration to 0), or the live.step object. Since I coudn't nail down the troublemaker, I post here the whole patch.
Has anyone one of you an idea where the problem could lie? Also, if you see any optimization potential, I'd really appreciate your input. Some solutions I found look pretty messy to me (like the way the note stretching is handled by the sustain object) an every hint on how to polish the patch is welcome.
Made in Live 9.0.2 with Max 6.1.1 (wonder why copy compressed Shows max5_patcher).