GuitarSlot
interface GuitarSlot {
length: number
steps: readonly GuitarStep[]
setSteps(steps: readonly Partial<GuitarStep>[]): void
load(name: string): void
}One of the 16 Guitar pattern slots
- See:
Properties
length: number
Number of steps played (1 to 64, default 16)
steps: readonly GuitarStep[]
readonly
64 steps
- See:
Methods
setSteps(steps: readonly Partial<GuitarStep>[]): void
Set the given fields of the steps from the beginning and set the length. Fields left out keep their value, except that a stroke of another kind resets strings and bends like the editor
Parameters
steps(readonly Partial<GuitarStep>[])
Returns
void
- See:
load(name: string): void
Load a built in pattern by name into this slot, see Guitar.patternNames
Parameters
name(string)
Returns
void