so I did this basic sequencer with 3 STGC
the first STGC generates a value called !Count that I also use as a "step pointer" for my sequencer, generated by: (!Run bpm: !BPM) nextIndexMod: 16 reset: !Reset
the second STGC generates the trigs, with: !Count of: #(!sw01 !sw02 !sw03 !sw04 !sw05 !sw06 !SW07 !sw08 !sw09 !sw10 !sw11 !sw12 !sw13 !sw14 !sw15 !sw16
thethird STGC generates the "notes", with !Count of: #(!note1 !note2 !note3 !note4 !note5 !note6 !note7 !note8 !note9 !note10 !note11 !note12 !note13 !note14 !note15 !note16)
if I use an oscillator within Kyma, everything works fine.
but if I send MIDIOutputEvent a strange thing happens. The Trigs works properly, while there is an anticipation on the notes! so !note16 send the pitch for !sw01, !sw01 send the pitch for !sw02 and so on.
I would like to understand what is happening and whether I didi some mistake.
thanks a lot.