Speech to text project, aimed at providing real-time, good-enough, text output from dispatch radio
- Go 100%
| .gitignore | begin restructure to set audio source from CLI flag | |
| fdnyems-7-1728777877.m4a | sample file as retrieved from openMHz (no reencode) | |
| fdnyems.wav | representative audio sample for testing | |
| go.mod | update deps | |
| go.sum | update deps | |
| LICENSE | Initial commit | |
| main.go | f typo | |
| README.md | fix list nesting in README and add comment on package managers, portaudio | |
dispatch-caption
Speech to text project, motivated by a desire for real-time, good-enough, text output from dispatch radio
Build and Install
-
If you have a system package manager, most of the requirements should be available there and that is the recommended way to install and manage the following components.
-
A Go (golang) development environment: see https://go.dev/doc/install
-
Setup Google Cloud credentials to run:
- https://cloud.google.com/sdk/docs/install
- https://cloud.google.com/docs/authentication/provide-credentials-adc#local-dev :
gcloud init gcloud auth application-default login -
Download and install PortAudio development library: https://files.portaudio.com/download.html
-
Clone repository and build with
go build . -
Run binary locally:
./dispatch-caption -sto capture from the microphone./dispatch-caption --file fdnyems-7-1728891544.m4ato test a file sample./dispatch-caption --helpto see all options
Notes
Sample audio files retrieved from OpenMHz