Preset class
Represents a preset in the SoundFont.
Constructors
-
Preset({required String name, required int patchNumber, required int bankNumber, required int library, required int genre, required int morphology, required List<
PresetRegion> regions}) - Preset.defaultPreset()
-
factory
-
Preset.fromInfo(PresetInfo info, List<
Zone> zones, List<Instrument> instruments) -
factory
Properties
- bankNumber → int
-
final
- genre → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- library → int
-
final
- morphology → int
-
final
- name → String
-
final
- patchNumber → int
-
final
-
regions
→ List<
PresetRegion> -
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
List< PresetInfo> infos, List<Zone> zones, List<Instrument> instruments) → List<Preset>