Command 0x27: Pitch bend (round trip)

Sets a pitch bend that goes back and forth the same number of times.

Syntax

0x27, byte delay, byte interval, byte count, sbyte delta

Parameters

ParameterTypeContents
delaybyteTime until the first change
intervalbyteInterval between changes
countbyteNumber of changes in one direction
deltasbytePitch change per step

Remarks

Performs the same setting as command 0x08 with reverse set to count and count set to count × 2.
The pitch falls by delta for the first count changes, then rises by delta for the next count changes, returning to the original pitch.

For the detailed behavior of pitch bend, see command 0x08.

This command takes no time to process, and the following event is read within the same tick.

Note

  • count × 2 is calculated in 8 bits, so if 128 or more is specified for count, the total number of changes will be incorrect.

See also

Structure of sequence data
Command 0x08
Command 0x09
Command 0x0A
Command 0x26