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.
Click to show internal directories.
Click to hide internal directories.