good-lly / WhisperCppAndroidDemo

A sample Android app using [whisper.cpp](https://github.com/ggerganov/whisper.cpp/) to do voice-to-text transcriptions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A sample Android app using whisper.cpp to do voice-to-text transcriptions. For the most up-to-date code, check whisper.cpp's examples.

To use:

  1. Select a model from the whisper.cpp repository.1
  2. Copy the model to the "app/src/main/assets/models" folder.
  3. Select a sample audio file (for example, jfk.wav).
  4. Copy the sample to the "app/src/main/assets/samples" folder.
  5. Select the "release" active build variant, and use Android Studio to run and deploy to your device.

Footnotes

  1. I recommend the tiny or base models for running on an Android device.

About

A sample Android app using [whisper.cpp](https://github.com/ggerganov/whisper.cpp/) to do voice-to-text transcriptions.

License:MIT License


Languages

Language:C 66.4%Language:C++ 28.3%Language:Kotlin 5.1%Language:Makefile 0.3%