Config

data class Config(val sampleRateHz: Int = 16000)

Defines the specific details from the microphone.

Constructors

Link copied to clipboard
fun Config(sampleRateHz: Int = 16000)

Properties

Link copied to clipboard
val sampleRateHz: Int = 16000

The number of audio samples per second. Many speech-to-text services perform best with 16000 Hz audio.