Skip to content

About

Experimental android app to record, transcribe and display audio of speech

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

1,536 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cassini talk for Android

Cassini records audio and makes the transcript on your phone. It labels the speakers and can remember the voices of the people that you name. It keeps the audio and the timed words together in one .opus file. Any audio player plays this file, and other Cassini software reads the transcript in it. On compatible arm64 phones with Android 10 or later, Whistle is included and is the initial default: basic transcription needs no model download or network connection. Once Parakeet is installed and verified, new transcriptions default to it; you can still choose Whistle. Parakeet is a recommended download from dist.gocassini.com, and remains the default on other devices. The Parakeet model is Parakeet Ultra by Moondream, a further-trained NVIDIA Parakeet TDT 0.6B v3 for 25 European languages.

Download the latest release · Changelog

Privacy

Cassini does all speech recognition and speaker analysis on the phone. It does not upload audio, transcripts or voiceprints. It has no accounts, no analytics and no advertising. The app uses the network only to download the models, and only after you agree. Voiceprints stay in the private storage of the app. Android can copy notes, the catalogue and saved voices in two ways, which you can turn off in Settings: encrypted cloud backup (Google or Seedvault, on by default) and, on Android 9 or later, direct device-to-device transfer to a new phone (on by default). Cassini itself uploads nothing, and downloaded models and unfinished work are never copied. Cassini never writes a voiceprint into a document or an export. PRIVACY.md gives the full privacy policy.

Requirements

  • Android 8.0 (API 26) or later, on a 64-bit ARM phone (arm64-v8a). The APK also has x86_64 for emulators.
  • Included Whistle requires Android 10 or later and an arm64 CPU with dot-product support. Settings shows when it is unavailable.
  • The optional Parakeet, speaker and voice models need about 1.3 GB free while installing and about 0.8 GB afterwards. Their total download is about 530 MB.
  • 4 GB of RAM is a good start. This is not a tested minimum.

Screenshots

These screenshots are the phone goldens of the :ui screenshot tests (docs/development.md). CI compares them with the current screens on every change, so they show the current design. They use test data and test names.

Notes Read and listen Transcribing Name a speaker Settings
Light Notes, light theme Read and listen, light theme Transcribing, light theme Name a speaker, light theme Settings, light theme
Dark Notes, dark theme Read and listen, dark theme Transcribing, dark theme Name a speaker, dark theme Settings, dark theme

Build

git clone --recurse-submodules https://github.com/codemyriad/cassini-android
cd cassini-android
./scripts/setup.sh
./gradlew :app:assembleDebug

The build needs JDK 17 and the Android SDK. CONTRIBUTING.md gives the tools, the tests and the rules for a change.

Modules

:core       Pure Kotlin/JVM. The verbatim engine plus pure app rules (statuses, search,
            trash arithmetic, exports, speaker stats, model plan).
:app-logic  Pure Kotlin/JVM app policies (leaf state, import tracking, model-install
            ownership and sequencing).
:data       Android library. Room catalogue, DataStore settings, file repositories.
:engine     Android library. Native wrappers (sherpa-onnx, Whistle, libcassini_opus),
            MediaCodec decoder, microphone capture, TranscriptionJob, ProgressTracker.
:ui         Android library. Compose design system and stateless screens.
:app        Android application. AppGraph, ViewModels, navigation, services, notifications.
:bench      Experiments and calibration on a device (com.android.test). Never in CI.
:baselineprofile  Generates the Baseline Profile of :app on a device. Never in CI.

app -> ui
app -> app-logic -> core
data, engine -> app-logic
app -> data -> core
app -> engine -> core
bench, baselineprofile -(instrument)-> app

whistle/ holds the build and verification tools of the included Whistle runtime (whistle/README.md). tools/ holds host programs that Gradle does not build.

Documentation

The cassini-format repository gives the specification of the portable format. The desktop pipeline and the web viewer are in gocassini.

License

Cassini for Android is free software under the GPLv3. THIRD_PARTY_NOTICES.md gives the licenses and sources of the dependencies and the models. We developed Cassini with AI coding assistance.

About

Experimental android app to record, transcribe and display audio of speech

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages