MidiFileSequencer class
- Implemented types
- Available extensions
Constructors
- MidiFileSequencer.new(Synthesizer synthesizer)
- Initializes a new instance of the sequencer.
Properties
- endOfSequence → bool
-
Gets a value that indicates whether the current playback position is at the end of the sequence.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- midiFile → MidiFile?
-
Gets the currently playing MIDI file.
no setter
- onSendMessage ↔ MessageHook?
-
getter/setter pair
- position → Duration
-
Gets the current playback position.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed ↔ double
-
Gets or sets the playback speed.
getter/setter pair
- synthesizer → Synthesizer
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
play(
MidiFile midiFile, {required bool loop}) → void - Plays the MIDI file.
-
render(
List< double> left, List<double> right) → void -
override
-
renderInterleaved(
List< double> destination, {int offset = 0, int? length}) → void -
Available on AudioRenderer, provided by the AudioRenderEx extension
Renders the waveform as a stereo interleaved signal. -
renderInterleavedInt16(
ArrayInt16 destination, {int offset = 0, int? length}) → void -
Available on AudioRenderer, provided by the AudioRenderEx extension
Renders the waveform as a stereo interleaved signal with 16-bit quantization. -
renderMono(
List< double> destination, {int offset = 0}) → void -
Available on AudioRenderer, provided by the AudioRenderEx extension
Renders the waveform as a monaural signal. -
renderMonoInt16(
ArrayInt16 destination, {int offset = 0, int? length}) → void -
Available on AudioRenderer, provided by the AudioRenderEx extension
Renders the waveform as a monaural signal with 16-bit quantization. -
stop(
) → void - Stops playing.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited