I've built a relatively simple step sequencer with js gui, but the basic info is stored in 3 funbuff's and a coll, and triggered with a metro/counter combination.
The problem is the timing is really poor, even to my unmusical ears. I presume this is some kind of efficiency issue. The timing is even worse when you are altering things in the gui, although i have ensured that a message is only sent out on release of the mouse button etc.
At the moment it's literally one track, which can store upto 128 note numbers, associated velocities, trigger times and durations. It also uses about 90% of my cpu so something wrong must be going on. I have ensured the notes are triggered at the right point using a delay and the stash object.
There are no msp objects, it's all max.