// Instrument Note Table Envelope
struct TNoteTableEnvelope
{
union
{
BYTE noteTable; // Set Note Index 0-255 (Absolute/Additive), capped to NOTE_COUNT
struct
{
SBYTE noteXY : 6; // Transpose by +- 32 semitones (Relative/Additive), capped to NOTE_COUNT
bool isNoteY : 1; // Add X or Y semitones to noteXY (Relative only), capped to NOTE_COUNT
};
struct
{
SBYTE note : 7; // Transpose by +- 64 semitones (Relative/Additive), capped to NOTE_COUNT
bool isArpeggioScheme : 1; // Arpeggio Scheme is paired to the Pattern Command 0xy if it is active, taking priority over it
};
};
};