I’m coding a simple arpeggiator plugin (Up/Down). It processes few midi chords and it returns another set of notes. I do it modifying the MidiBuffer in process_block function and sending a NoteOn in each buffer. This means that if I’ve the chord 63, 66 and 70 in a “up” arp I obtain multiple NoteOn for the first 63 note until its NoteOff, then multiple NoteOn for the 66 note… etc.
Can this be a source of problems? Is there another way to do it if you cannot know the lenght of each arpeggio note? (is there any arp example?)