ScaleMatrixEffect
interface ScaleMatrixEffect extends MIDIEffect {
uuid: string
label: string
enabled: boolean
minimized: boolean
index: number
audioUnit: AnyAudioUnit
key: 'ScaleMatrix'
root: number
scale: number
follow: boolean
custom: readonly number[]
remove(): void
move(index: number): void
setCustom(offsets: readonly number[]): void
}Moves every note onto the nearest key of a scale (ties go down), or through a custom grid
Hierarchy
MIDIEffectScaleMatrixEffect
Properties
uuid: string
Inherited from uuid
Unique id
label: string
Inherited from label
Custom label
enabled: boolean
Inherited from enabled
Enable or bypass the device
minimized: boolean
Inherited from minimized
Collapse the device editor in the studio
index: number
Inherited from index
Position in the effect chain (0 = first)
audioUnit: AnyAudioUnit
Inherited from audioUnit
The audio unit this effect belongs to
key: 'ScaleMatrix'
Overrides key
Always "ScaleMatrix"
root: number
Root pitch class (0 to 11, 0 = C, default 0)
scale: number
Scale (0 to 15, default 0): Major, Natural Minor, Harmonic Minor, Melodic Minor, Dorian, Phrygian, Lydian, Mixolydian, Locrian, Pentatonic Major, Pentatonic Minor, Blues, Whole Tone, Diminished, Augmented, 15 Custom
follow: boolean
Uses the key of the project's key track at the note's position instead of root and scale (default false)
custom: readonly number[]
The custom grid, used when scale is 15: per note above the root its offset in semitones (-6 to 11), 12 mutes it
Methods
remove(): void
Inherited from remove
Remove this device from its host
Returns
void
move(index: number): void
Inherited from move
Move this effect to another position in its chain
Parameters
index(number)
Returns
void
setCustom(offsets: readonly number[]): void
Replace the custom grid, up to 12 offsets starting at the root
Parameters
offsets(readonly number[])
Returns
void