This is a simple stream ("realtime") speech-to-text transcirber reimplementation of whisper.cpp's stream example. It requires whisper.cpp.
Checkout whisper.cpp and verify that all the examples are working for the environment you're building. Then build the Go language examples:
$ cd bindings/go
$ make examplesIf you're building for a CUDA target:
$ cd bindings/go
$ GGML_CUBLAS=1 make examples
$This produces the libwhisper.a in whisper.cpp root directory. Now this version of stream can be compiled using go build. Note that cgo flags in main.go expect whisper.cpp to be in an adjacent directory (i.e. ../whisper.cpp from this directory).
$ cd ../whisper_stt_go
$ go build