whisper.cpp icon indicating copy to clipboard operation
whisper.cpp copied to clipboard

Android example app

Open ggerganov opened this issue 2 years ago • 2 comments

Implement a very basic Java application using whisper.cpp. It can be used as an example for running Whisper on Android.

The ggwave-java project can be used as a good starting point. It already provides the audio capture functionality. Instead of passing it to ggwave, we just need to pass it to whisper.cpp.

Edit: Looking for volunteers to help with this - ideally, we would like to have the same functionality demonstrated as in the iOS example application.

ggerganov avatar Oct 12 '22 18:10 ggerganov

https://github.com/alphacep/vosk-android-demo

Maybe could also have a look at vosk demo, it's more adapted for streaming though but just for example...

This is a bit off topic, I've been playing around with react native and wenet also, haven't done IOS yet but yeah the android part is working: https://github.com/Hannes1/react-native-wenet

Hannes1 avatar Oct 13 '22 16:10 Hannes1

Maybe one of the open source Android keyboard projects would be a good candidate for integration :)

luke-jr avatar Dec 10 '22 23:12 luke-jr