No description
- Kotlin 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| app | ||
| core | ||
| docs | ||
| gradle/wrapper | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| README.md | ||
| settings.gradle.kts | ||
STROBE
Native Android strobe tuner. The first milestone separates the DSP algorithms in core (Kotlin/JVM) from Android capture in app.
Status
- Phase 1 in progress: mono PCM capture, YIN/CMNDF estimation, note/cent conversion and tests with synthetic signals. Debug build verified.
- The phase strobe engine is implemented and verified with synthetic signals. Absolute accuracy of ±0.1 cent, latency and smoothness on a phone remain to be measured.
- The microphone is opened only after Android permission is granted; audio and analysis run on a dedicated thread.
- Prototype 0.1.1: adjustable sensitivity, an always-available level indicator and a dedicated release threshold for string decay. The setting lasts for the current session.
- Prototype 0.1.2: stabilized numeric readouts, confirmed note changes and corrected rounding to the nearest note.
- Prototype 0.2.0: three-harmonic strobe display, lockable automatic reference, bands frozen without a reliable signal. Right = sharp, left = flat.
- Prototype 0.2.1: more readable frequency and cent values, with five updates per second and a 300 ms numeric filter; rapid string-change confirmation.
- Prototype 0.2.2: app icon, automatic listening in the foreground without a button, screen kept on; microphone and screen released in the background.
- Prototype 0.2.3: adjustable A4 reference (415–450 Hz, 1 Hz steps), saved across sessions; English UI and documentation.
- Prototype 0.3.0: redesigned retro UI inspired by 1970s Peterson strobe tuners: glowing "HAL" eye with the note, large cents readout, strobe window with finer stripes on higher harmonics (all rows move at the same speed), steady glow when in tune (±1 cent). Lab readouts removed; A4 and sensitivity moved to a settings sheet.
- Prototype 0.3.1: portrait orientation forced.
Build and test
./gradlew :core:test
./gradlew :app:assembleDebug
Requires JDK 17 or later and Android SDK API 36. Debug build verified with JDK 21 and the SDK in ~/Library/Android/sdk (local.properties, JAVA_HOME=/opt/homebrew/opt/openjdk@21).
Debug APK: app/build/outputs/apk/debug/app-debug.apk.
Results and device testing: docs/testing.md.