Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CapturedAudio ¶
type CapturedSample ¶
type Config ¶
type Config struct { // // This is determined by the hyperparameter configuration that whisper was trained on. // // See more here: https://github.com/ggerganov/whisper.cpp/issues/909 SampleRate int // = 16000 // 16kHz // sampleRateMs = SampleRate / 1000 // // This determines how much audio we will be passing to whisper inference. // // We will buffer up to (whisperSampleWindowMs - pcmSampleRateMs) of old audio and then add // // audioSampleRateMs of new audio onto the end of the buffer for inference SampleWindow time.Duration // = 24000 // 24 second sample window }
Click to show internal directories.
Click to hide internal directories.