Loads audio into AudioBuffer from a Blob to transcribe.
By default, audio is loaded at 16kHz monophonic for compatibility with model. In Safari, audio must be loaded at 44.1kHz instead.
The loaded audio in an AudioBuffer.
Loads audio into AudioBuffer from a URL to transcribe.
By default, audio is loaded at 16kHz monophonic for compatibility with model. In Safari, audio must be loaded at 44.1kHz instead.
A path to a audio file to load.
The loaded audio in an AudioBuffer.
Convert a power spectrogram (amplitude squared) to decibel (dB) units
Intended to match librosa.core.power_to_db
Input power.
Minimum threshold for abs(S)
.
Threshold the output at topDb
below the peak.
Generated using TypeDoc
Given a timeseries, returns an array of timeseries that are windowed according to the params specified.