SoundFont class

Constructors

SoundFont({required SoundFontInfo info, required int bitsPerSample, required ArrayInt16 waveData, required List<SampleHeader> sampleHeaders, required List<Preset> presets, required List<Instrument> instruments})
SoundFont.fromBinaryReader(BinaryReader reader)
factory
SoundFont.fromByteData(ByteData bytes)
factory
SoundFont.fromFile(String path)
Loads a SoundFont from the file.
factory

Properties

bitsPerSample int
final
hashCode int
The hash code for this object.
no setterinherited
info SoundFontInfo
final
instruments List<Instrument>
final
presets List<Preset>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleHeaders List<SampleHeader>
An instance of 'SampleHeader' corresponds to a slice of the waveData array. i.e a sample.
final
waveData ArrayInt16
This single array contains all the waveform data in the SoundFont.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Gets the name of the SoundFont.
override

Operators

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