OptionalchannelsThe channel changes.
"clear" - all MIDI messages for this channel, such as Note On are removed.OptionalfallbackThe system reset to add when the file contains no reset.
Unlike midiParams.system, existing resets are left untouched.
Ignored when midiParams.system is set (it takes precedence)
and when midiParams.system is "clear" (no reset is added).
When unset, the added reset defaults to "xg"
if only XG setups are requested, otherwise to "gs".
Also, if GM resets are replaced, they use this system if provided, otherwise "gs".
OptionalgsThe GS chorus parameters.
"clear" - all existing parameter change MIDI messages are cleared.OptionalgsThe GS delay parameters.
"clear" - all existing parameter change MIDI messages are cleared.OptionalgsThe GS Insertion Effect parameters.
"clear" - all existing parameter change MIDI messages are cleared.OptionalgsThe desired GS reverb parameters.
"clear" - all existing parameter change MIDI messages are removed.OptionalmidiThe GlobalMIDIParameter changes.
"clear" - all changes for this parameter are removed.specific value - clear + sets the new parameter,
re-applying it after every system reset,
effectively locking it to the set value.For the system parameter specifically:
"clear" - deletes every system reset. Setup is inserted
before the first note on without any reset.specific value - replaces every system reset with the desired one.OptionalfineTune?: ClearableParameter<number>The global tuning in cents.
OptionalkeyShift?: ClearableParameter<number>The global key shift in semitones.
Optionalpan?: ClearableParameter<number>The master pan. From -1 (left) to 1 (right). 0 is center.
This uses the cosine panning law, so the perceived loudness remains constant as the pan changes.
Optionalsystem?: ClearableParameter<MIDISystem>The currently enabled MIDI system used by the synthesizer. It changes how the synthesizer behaves, including things such as effects or bank selection.
It can be changed with a System Exclusive reset message. (GM, GM2, GS, XG)
Optionalvolume?: ClearableParameter<number>The master volume. From 0 (silent) to 1 (full volume).
OptionaluserThe User Drum Set changes.
"clear" - all existing changes for this drum set are removed.OptionalxgThe desired XG chorus parameters.
"clear" - all existing parameter change MIDI messages are removed.OptionalxgThe desired XG insertion parameters. Key is the insertion effect number.
Value is:
"clear" - all existing parameter change MIDI messages are removed.OptionalxgThe desired XG reverb parameters.
"clear" - all existing parameter change MIDI messages are removed.OptionalxgThe desired XG variation parameters.
"clear" - all existing parameter change MIDI messages are removed.
Options editing a MIDI sequence using BasicMIDI.modify.