open_dspc
library
Functions
-
applyWindow(Float32List input, {WindowType type = WindowType.hann, bool periodic = true})
→ Float32List
-
Returns a new array containing
input multiplied by a generated window.
-
applyWindowInPlace(Float32List input, {WindowType type = WindowType.hann, bool periodic = true})
→ void
-
Multiplies
input in place by a generated window.
-
blackmanWindow(int length, {bool periodic = true})
→ Float32List
-
-
find_peaks(List<num> x, {Object? height, Object? threshold, double? distance, Object? prominence, Object? width, int? wlen, double rel_height = 0.5, Object? plateau_size})
→ FindPeaksResult
-
Finds local maxima in a 1-D signal using the native peak finder.
-
frameToMel(Float32List input, {required int sr, int numMels = 80, double fmin = 0, double? fmax, MelScale scale = MelScale.htk, MelNorm norm = MelNorm.none})
→ Float32List
-
-
generateWindow(int length, {WindowType type = WindowType.hann, bool periodic = true})
→ Float32List
-
Returns a window of
length for the selected type.
-
hammingWindow(int length, {bool periodic = true})
→ Float32List
-
-
hannWindow(int length, {bool periodic = true})
→ Float32List
-
-
multiplyWithWindow(Float32List input, Float32List window)
→ Float32List
-
Returns a new array containing
input[n] * window[n].
-
multiplyWithWindowInPlace(Float32List input, Float32List window)
→ void
-
Multiplies
input by window in place.
-
rectWindow(int length, {bool periodic = true})
→ Float32List
-