Synthesizer Snapshot - spessasus/spessasynth_core GitHub Wiki
Synthesizer Snapshot
Represents a synthesizer's current state, which can be saved and restored.
Obtaining
const snapshot = SynthesizerSnapshot.createSynthesizerSnapshot(synth);
- synth - a
SpessaSynthProcessor
instance to use.
Properties
ChannelSnapshots
An array of ChannelSnapshot instances for all the MIDI channels of the synth.
keyMappings
An array of arrays of KeyModifiers.
Stored as:
const mapping = snapshot.keyMappings[channelNumber][midiNote];