mlx-bun library API
Documentation
Preparing search index...
@mlx-bun/module-transcription
@mlx-bun/module-transcription
VadGate
Interface VadGate
The Silero gate (about 1 MB, stays resident once loaded).
interface
VadGate
{
detect
(
samples
:
Float32Array
,
options
:
SpeechTimestampOptions
,
)
:
{
segments
:
VadSegment
[]
}
;
dispose
()
:
void
;
probsStreaming
(
samples
:
Float32Array
,
state
:
VadStreamState
)
:
Float32Array
;
speechTimestamps
(
probs
:
Float32Array
,
audioLengthSamples
:
number
,
options
:
SpeechTimestampOptions
,
)
:
VadSegment
[]
;
streamState
()
:
VadStreamState
;
}
Index
Methods
detect
dispose
probs
Streaming
speech
Timestamps
stream
State
Methods
detect
detect
(
samples
:
Float32Array
,
options
:
SpeechTimestampOptions
,
)
:
{
segments
:
VadSegment
[]
}
Parameters
samples
:
Float32Array
options
:
SpeechTimestampOptions
Returns
{
segments
:
VadSegment
[]
}
dispose
dispose
()
:
void
Returns
void
probs
Streaming
probsStreaming
(
samples
:
Float32Array
,
state
:
VadStreamState
)
:
Float32Array
Parameters
samples
:
Float32Array
state
:
VadStreamState
Returns
Float32Array
speech
Timestamps
speechTimestamps
(
probs
:
Float32Array
,
audioLengthSamples
:
number
,
options
:
SpeechTimestampOptions
,
)
:
VadSegment
[]
Parameters
probs
:
Float32Array
audioLengthSamples
:
number
options
:
SpeechTimestampOptions
Returns
VadSegment
[]
stream
State
streamState
()
:
VadStreamState
Returns
VadStreamState
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
detect
dispose
probs
Streaming
speech
Timestamps
stream
State
Documentation
mlx-bun library API
Loading...
The Silero gate (about 1 MB, stays resident once loaded).