argmaxinc / WhisperKit

On-device Speech Recognition for Apple Silicon
http://argmaxinc.com/blog/whisperkit
MIT License
3.92k stars 331 forks source link

Streaming Microphone for CLI #25

Closed ZachNagengast closed 8 months ago

ZachNagengast commented 9 months ago

The CLI executable should be able to stream directly from the microphone, similar to the WhisperAX example app. This enables use cases outside of an Xcode project.

Reference

WhisperAX streaming code: https://github.com/argmaxinc/WhisperKit/blob/228630c37e4ac1b1c95790d77f64058d317f8859/Examples/WhisperAX/WhisperAX/Views/ContentView.swift#L997-L1127

jkrukowski commented 9 months ago

I can take it