Skip to main content

Whisper STT Node

Number of inputs1
Number of outputs0

Configuration​

initializeModel​

Type: Bool

Indicates whether the model should be initialized when the node is created.

useGPU​

Type: Bool

Specifies whether to utilize GPU acceleration for faster processing.


Values​

Inherits values from its parent, SingleBusAudioSinkNode.


Actions​

Inherits actions from its parent, SingleBusAudioSinkNode.

loadModel​

Loads the specified whisper model.

Parameters​

NameTypeDescription
modelPathStringPath of the model to load.
useGPUBoolWhether to use GPU acceleration.

transcribe​

Starts speech transcription process.

Parameters​

NameTypeDescription
startIntStart of audio data that will be transcribed.
endIntEnd of audio data that will be transcribed.

Events​

Inherits events from its parent, SingleBusAudioSinkNode.

transcription​

Emitted when text is transcribed.

Data​

NameTypeDescription
textStringThe text that was transcribed.