Then you’re 99.99999% of the way there.
[0, 3, 6, 10] aren’t exactly the intervals (those would be 3, 3, 4). They’re the semitones in the chord: 3 = minor 3rd, 6 = diminished 5th, 10 = minor 7th.
To play them, transpose them chromatically to the desired root pitch. In semitones, transposition is +.
[0, 3, 6, 10] + 60
-> [ 60, 63, 66, 70 ]
… and these are MIDI notes that you can stick into your pattern. Patterns support math so you can also have Pseq( ... chord forms ... ) + Pseq( ... root notes ... )
.
What I don’t recall offhand is whether the vst_midi event type expects chords as [note, note, note]
or [[note, note, note]]
but you could try them both and see which one works (or maybe they both do). I expect the first will be fine though, I’m probably overthinking a bit.
hjh