Command 0x20: Register volume/ADSR preset 5

Registers volume/ADSR preset 5.

Syntax

0x20, sbyte left, sbyte right, byte adsr1, byte adsr2

Parameters

ParameterTypeDescription
leftsbyteLeft volume
rightsbyteRight volume
adsr1byteADSR1
adsr2byteADSR2

Description

As preset 5, saves the left volume to $14, the right volume to $19, ADSR1 to $1E and ADSR2 to $23. A registered preset is loaded with command 0x25.
Presets are shared by all channels.

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

See also

Sequence data structure
Command 0x25