GuitarStep
interface GuitarStep {
stroke: GuitarStroke
strings: number
velocity: number
speed: number
bends: readonly number[]
}One step of the Guitar pattern
Properties
stroke: GuitarStroke
What the step plays. Like the editor, a new pick starts without strings and a strum after a stroke that ignored them takes all six
- See:
strings: number
The strings the stroke plays as a mask, bit 0 is the low E, bit 5 the high e (0 to 63, default 63). A strum crosses them, a pick plucks them together
velocity: number
Velocity in percent, the velocity variation scales all strings of the step alike (0 to 100, default 80)
speed: number
How long the stroke takes to cross the strings in percent, higher is slower, 50 strums at the device Speed (0 to 100, default 50)
bends: readonly number[]
How far each string bends up and back within the step, low E first: 0 = none, 1 = ¼, 2 = ½, 3 = 1, 4 = 2 semitones (default all 0)