Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
PauseThreshold time.Duration
MinSegment time.Duration
Padding time.Duration
Overlap time.Duration
}
Config controls pause-based dictation segmentation.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor segments PCM audio into speech chunks using a VAD.
func NewProcessor ¶
NewProcessor creates a dictation processor with sane defaults.
func (*Processor) FeedPCM ¶
FeedPCM ingests raw S16 mono PCM and returns any segments flushed while processing.
Click to show internal directories.
Click to hide internal directories.