The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Zero-cgo macOS on-device speech recognition and full-duplex barge-in voice
control built on x/ondeviceasr (speech.SFSpeechRecognizer,
avfaudio.AVAudioPCMBuffer) and x/duplexaudio.
What it does
Probes SFSpeechRecognizer capabilities (IsAvailable,
SupportsOnDeviceRecognition, AuthorizationStatus, native sample rate,
supported locales) and x/duplexaudio host audio capabilities without
triggering an interactive TCC permission modal.
Synthesizes a 16 kHz PCM16 speech fixture with macOS say (falling back to
a 440 Hz tone fixture if say is unavailable).
Runs the AVAudioPCMBuffer -> SFSpeechAudioBufferRecognitionRequest
streaming bridge and x/duplexaudio full-duplex barge-in controller
(keyword + RMS energy flush-to-silence).
When Speech Recognition TCC is authorized, runs live on-device
TranscribeFile and streaming StartStream recognition on the fixture or
a user-supplied -file. When denied/not_determined/restricted,
reports the TCC status honestly without hanging.
Usage
CGO_ENABLED=0 go run ./examples/speech/live-dictation
Flags:
-locale (default en-US): BCP-47 locale identifier
-demo (default true): run the self-contained fixture + barge-in demo
-file: optional WAV/AIFF/M4A file to transcribe on-device