Sf2Instrument class

Describes an instrument in SF2 format. Will be played by the SoundFont player for the current platform.

Inheritance

Constructors

Sf2Instrument({required String path, required bool isAsset, int presetIndex = DEFAULT_PATCH_NUMBER})

Properties

displayName → String
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
idOrPath → String
finalinherited
isAsset → bool
finalinherited
presetIndex → int
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited