STFTFrames class

Complex STFT output stored as contiguous frame-major real and imaginary bins.

Constructors

STFTFrames.empty(int bins)
Returns an empty complex STFT result with the given bin count.
factory
STFTFrames.fromBuffers({required int frames, required int bins, required Float32List real, required Float32List imag})
Builds a complex STFT result from caller-owned real and imaginary buffers.
factory

Properties

bins → int
final
frames → int
final
hashCode → int
The hash code for this object.
no setterinherited
imag → Float32List
final
isEmpty → bool
Whether this result contains zero frames.
no setter
real → Float32List
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

asComplex() → Complex32List
Wraps the flattened real and imaginary buffers as a complex vector view.
frameImag(int index) → Float32List
Returns the imaginary bins for a single frame as a zero-copy sublist view.
frameReal(int index) → Float32List
Returns the real bins for a single frame as a zero-copy sublist view.
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