The scale degree of this note (e.g., "I", "II", "-III", "+V"). Corresponds to positions in the SCALE_DEGREES array.
Rhythmic duration of the note using standard musical notation. Examples: "4n" = quarter note, "8d" = dotted eighth, "16t" = sixteenth triplet
Whether this note should be emphasized or highlighted during playback. Target notes are typically structurally important in the pattern.
Optional
velocityOptional MIDI velocity value (0-127) for dynamic expression. Higher values result in louder playback.
Represents a single note within a musical pattern.
Each PatternNote defines a musical event with its position in the scale, rhythmic duration, emphasis level, and optional dynamic marking.
PatternNote