instrument library Null safety

Classes

AudioUnitInstrument
Describes an AudioUnit instrument (Apple platforms only.)
Instrument
The base class for Instruments.
RuntimeSfzInstrument
Describes an instrument in SFZ format. The SFZ will be played by sfizz. With this instrument, the SFZ file will be generated dynamically from the Sfz object that's passed in. Sample paths will be relative to sampleRoot. To use an alternate tuning, set tuningString to a Scala tuning. Note that if you want to change the SFZ, you'll have to recreate the instrument.
Sf2Instrument
Describes an instrument in SF2 format. Will be played by the SoundFont player for the current platform.
SfzInstrument
Describes an instrument in SFZ format. The SFZ will be played by sfizz. path should point to an SFZ file. Paths in the SFZ file should be relative to the parent directory of path. To use an alternate tuning, set tuningPath to the path to a Scala tuning file.