Documentation
¶
Overview ¶
Package audio provides the shared PCM audio primitives for the SpeechKit capture format: 16kHz S16 mono constants, WAV framing, duration math, and RMS level estimation.
Index ¶
Constants ¶
View Source
const ( SampleRate = 16000 Channels = 1 BitsPerSample = 16 BytesPerSample = BitsPerSample / 8 )
Variables ¶
This section is empty.
Functions ¶
func PCMDurationSecs ¶
PCMDurationSecs returns the duration of PCM audio in seconds.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package capture is the public microphone / system-audio capture layer of the SpeechKit framework: backend registry (RegisterBackend, Open), capture Session contract, device enumeration (ListCaptureDevices, ListOutputDevices), and the pooled PCM frame buffers (FramePool).
|
Package capture is the public microphone / system-audio capture layer of the SpeechKit framework: backend registry (RegisterBackend, Open), capture Session contract, device enumeration (ListCaptureDevices, ListOutputDevices), and the pooled PCM frame buffers (FramePool). |
Click to show internal directories.
Click to hide internal directories.