diff options
| author | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-11-16 09:34:52 -0500 |
|---|---|---|
| committer | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-11-16 09:34:52 -0500 |
| commit | 5090b55eb7bc3a98b678e21b859fd01d2e30e554 (patch) | |
| tree | 21fb8fb1dcb994231a0d0468345b64c0156c24e8 /README.md | |
| parent | e0f907c9cc8f4cd11387bd943df9a0bdf2a0dbcf (diff) | |
| download | reccoon-1.1.2.tar.gz | |
Release RECCoon 1.1.2v1.1.2
- Refreshable MIC/SPK pickers with labels above the selectors.
- WAV/M4A, MONO/STEREO and Silence alerts on one harmonised row.
- Waveform and L/R meters under the record button, with Swap L/R.
- Recordings saved in Downloads/RECCoon.
- Confirmation before discarding and timer reset.
- Player export next to Transcribe, transcript save timestamp.
- Signed release APK for the F-Droid Binaries URL.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 88 |
1 files changed, 50 insertions, 38 deletions
@@ -1,32 +1,37 @@ # RECCoon -A minimal Android app that records uncompressed WAV audio and transcribes it +A minimal Android app that records audio (WAV or M4A) and transcribes it on device. -- **Format:** 44.1 kHz, 16-bit PCM (stereo when the device supports it), no compression -- **Compact mode:** an optional switch saves a small AAC-LC `.m4a` instead of the WAV +- **Capture:** 44.1 kHz, 16-bit PCM (stereo when the device supports it) +- **Format:** choose **WAV** or a small AAC-LC `.m4a` radio on the main screen (~22 MB/hour mono instead of ~317 MB); transcription still works because the decoder streams the M4A back to PCM (`PcmAudioSource`) - **Controls:** one big round button — tap to start recording (timer starts), tap again to stop and save -- **Meters:** live scrolling waveform plus left/right peak level meters with a clip indicator while recording -- **Mono switch:** optionally record a single channel (half the file size) -- **Swap L/R:** exchange the stereo channels when a device reports them inverted in - landscape; applies to the meters and the saved file -- **Mic picker:** choose Auto, the built-in mic, or a specific input (Bluetooth SCO, - USB, wired headset ...) — the BT-Mic-Force feature folded into RECCoon -- **Live monitoring:** an optional **Monitor** switch plays the microphone through a - chosen output (built-in speaker, wired, USB, Bluetooth ...). Use headphones — the - speaker causes feedback. A dedicated thread and a bounded queue keep a slow output - from ever stalling the recording -- **Discard:** stop a recording and throw it away without saving +- **Meters:** live scrolling waveform and left/right peak strips directly under the + record button, each with a microphone icon; a **Swap L/R** icon button sits on the right +- **MONO / STEREO radios:** record one channel (half the file size) or two +- **Mic / speaker pickers:** **MIC** and **SPK** labels sit above their selectors, + which list Auto, the built-in device, and every detected input/output. The first + entry in each list refreshes the device scan; phones show the two pickers side by + side, tablets stack them +- **Live monitoring:** with a concrete output selected, the microphone is played + through that SPK device while recording. Auto means no monitoring. Use + headphones — the speaker causes feedback. A dedicated thread and a bounded queue + keep a slow output from ever stalling the recording +- **Discard:** asks for confirmation, then stops the recording and throws it away + without saving; the timer returns to `00:00` - **Markers:** place labelled cue points while recording; they are embedded in the WAV (`cue ` + `LIST/adtl`) and shown in the player -- **Silence:** optional Do Not Disturb total silence (no notifications, no vibration) while recording -- **Recordings list:** scrollable list at the bottom of the main screen, newest first -- **Player:** scrubber, ±10 s jumps, speed control, delete / rename / share / export, no autoplay +- **Silence alerts:** barred-bell chip that enables Do Not Disturb total silence + (no notifications, no vibration) while recording +- **Recordings list:** scrollable list at the bottom of the main screen, newest first, + read from `Downloads/RECCoon` +- **Player:** scrubber, ±10 s jumps, speed control, delete / rename / share; Export + sits next to Transcribe and stays greyed out until a transcript exists; no autoplay - **Transcription:** on-device, offline speech recognition with [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) using multilingual **NVIDIA Parakeet v3** — works with English, Italian and 23 other languages -- **Name:** RECCoon · **by** Tom Cooks · **version** 1.0.0 +- **Name:** RECCoon · **by** Tom Cooks · **version** 1.1.2 - **Icon:** raccoon with a microphone ## Requirements @@ -52,8 +57,8 @@ Outputs: F-Droid submission status, the release-signing key and the build/reproducibility gotchas are documented in `FDROID.md`. -A prebuilt copy is available at `dist/RECCoon-1.0.0.apk` (release, signed with -the maintainer key). The APK in `dist/` is **not** tracked in git. The sherpa-onnx +A prebuilt copy of the previous release is available at `dist/RECCoon-1.0.0.apk` +(release, signed with the maintainer key). The APK in `dist/` is **not** tracked in git. The sherpa-onnx runtime comes from [JitPack](https://jitpack.io) (an F-Droid-trusted Maven repository), so no prebuilt binary lives in this repository. @@ -68,11 +73,13 @@ repository), so no prebuilt binary lives in this repository. - `RecordingService` is a microphone-typed foreground service started while recording, so capture continues when the app is in the background. - `MainActivity` handles the runtime permissions, the timer, the level meters - and copying the finished file into Downloads. On Android 10+ this uses - `MediaStore`; on older versions it writes directly to the public Downloads - directory and notifies the media scanner. -- Files are named `reccoon-YYYY-MM-DD-HHMMSS-XXXXX.wav`, where `XXXXX` is a - persistent 5-digit progressive counter. + and copying the finished file into `Downloads/RECCoon`. On Android 10+ this + uses `MediaStore` with `RELATIVE_PATH`; on older versions it writes directly + to that public subdirectory and notifies the media scanner. +- Files are named `RECCoon_YYYY-MM-DD_HH-MM-SS_XXXXX.wav` (or `.m4a`), where + `XXXXX` is a persistent 5-digit counter. The folder is the source of truth: + the recordings list accepts every `.wav` / `.m4a` in it, and still shows old + `reccoon-*` files from the root of Downloads after an upgrade. ## Waveform, meters and markers @@ -94,8 +101,9 @@ repository), so no prebuilt binary lives in this repository. (`SeekBar`), ±10 s jumps and a playback speed control (0.5×–2×). Playback does **not** start automatically. - Library actions: **Share** (FileProvider on Android 9 and older), **Rename** - (MediaStore or file), **Export** (writes `.txt` and `.srt` to Downloads) and - **Delete** (removes the WAV and its sidecars). + (MediaStore or file) and **Delete** (removes the recording and its sidecars). + **Export** (writes `.txt` and `.srt` to Downloads) sits next to Transcribe and + is enabled only when a transcript exists. - Transcript words are clickable: tapping a word seeks the player to it. Word timings come from the model's token timestamps when available, otherwise the segment is divided between its words. @@ -123,12 +131,15 @@ repository), so no prebuilt binary lives in this repository. and handles language detection itself (no language picker). It needs ~670 MB of storage and a large-heap device. - Transcripts are stored as JSON sidecars in app-private storage - (`filesDir/transcripts/<recording>.json`). + (`filesDir/transcripts/<recording>.json`). The sidecar records `savedAt`, shown + as **Transcript saved yyyy-mm-ddThh:mm:ss** in the player. +- The model spinner is hidden while Parakeet v3 is the only model. Transcribe is + disabled once a transcript exists; Export is enabled at the same moment. ## Compact (compressed) recordings -- The **Compressed (small M4A)** checkbox transcodes the finished WAV to - AAC-LC (48 kbps per channel) with `AudioCompressor` and saves that instead. +- The **M4A** radio transcodes the finished WAV to AAC-LC (48 kbps per channel) + with `AudioCompressor` and saves that instead. **WAV** keeps the original PCM. Markers are kept as a JSON sidecar. Use it when storage matters more than bit-exact audio. - `tools/whistle-eval/` contains a desktop harness that compares Whisper, @@ -136,14 +147,15 @@ repository), so no prebuilt binary lives in this repository. ## Live monitoring and discard -- **Monitor** plays the incoming audio back through the selected output device while - recording. The output picker mirrors the mic picker (Auto, phone speaker, wired, - USB, Bluetooth). `LiveMonitor` owns an `AudioTrack` on its own thread with a small - bounded queue, so a slow output (for example Bluetooth A2DP) drops monitor chunks - instead of blocking the capture loop and corrupting the recording. Headphones are - strongly recommended — the phone speaker feeds back. -- **Discard** stops the recording and deletes the temporary file without saving it, - for takes that are obviously bad. +- Monitoring plays the incoming audio back through the selected SPK device while + recording. The SPK picker mirrors the MIC picker (Auto, phone speaker, wired, USB, + Bluetooth). A concrete output enables monitoring; **Auto** means no live playback. + `LiveMonitor` owns an `AudioTrack` on its own thread with a small bounded queue, + so a slow output (for example Bluetooth A2DP) drops monitor chunks instead of + blocking the capture loop and corrupting the recording. Headphones are strongly + recommended — the phone speaker feeds back. +- **Discard** asks for confirmation, then stops the recording and deletes the + temporary file without saving it, for takes that are obviously bad. ## License |
