RuntimeSfzInstrument class

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.

Inheritance

Constructors

RuntimeSfzInstrument({required String id, required bool isAsset, required String sampleRoot, required Sfz sfz, String? tuningString})

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
sampleRoot String
final
sfz Sfz
final
tuningString String?
final

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