Array of all the available automations.
[0] = Volume[1] = Panning[2] = Cutoff[3] = Wavetable Position[4] = Granular Position[5] = FinetuneInstrument bit depth.
Valid range: 4 - 16 (integer).
Filter cutoff.
Valid range: 0.0 - 1.0 (float).
Instrument delay send.
Valid range: 0.0 - 1.0 (float).
End point of sample (in frames).
Valid range: 0 to 65535 (maximum for unsigned 16-bit integer).
Filter enabled flag.
Filter type.
Instrument fine tuning (cents).
Valid range: -100 - 100 (integer).
Granular properties.
Instrument header.
Instrument active flag (unused)
Loop point 1 (Start of Loop).
Valid range: 0 to 65535 (maximum for unsigned 16-bit integer).
Loop point 2 (End of Loop).
Valid range: 0 to 65535 (maximum for unsigned 16-bit integer).
Integer value for number of set slices.
Valid value range: 0 to 47 (integer).
Instrument overdrive.
Valid range: 0 - 100 (integer).
Instrument panning.
Valid range: -1.0 - 1.0 (float).
0.0 = center
Indicates the playmode for the instrument.
Filter resonance.
Valid range: 0.0 - 4.3 (float).
Instrument reverb send.
Valid range: 0.0 - 1.0 (float).
Sample data/properties.
Integer value representing the last selected slice on the tracker.
Valid value range: 0 to 47 (integer).
Array of slice positions.
Always contains 48 values. Use numSlices to check which ones are actually used.
Valid value range: 0 to 65535 (maximum for unsigned 16-bit integer).
Start point of sample (in frames).
Valid range: 0 to 65535 (maximum for unsigned 16-bit integer).
Instrument coarse tuning (semitones).
Valid range: -24 - 24 (integer).
Instrument volume.
Valid range: 0.0 - 2.0 (float).
0.0 = 0db.
ArrayBuffer containing a valid 16bit 44.1khz WAV file.
Integer value representing current active window within a wavetable.
Returns the sample as a Blob. Mimetype is audio/wav.
Replace / update the sample
a new ArrayBuffer containing the new sample
Represents all the instrument data.
ℹ️ There is no need to create this yourself. Use Tracker.createInstrument instead.