Files
sizzletracker-android/README.md
T
ReactorcoremeltdownandClaude Opus 5 fdee7853e5 Adopt the cc.tiredsysadmin namespace and a Makefile entrypoint (v0.22.0)
Brings the project in line with CLAUDE.md:

- Application id / namespace is now cc.tiredsysadmin.android.sizzle
  (cc.tiredsysadmin.<os>.<application>), including the two JNI symbols in
  native_audio.cpp — JNI resolves by mangled package path, so renaming the
  package alone would fail at runtime, not at build time.
- Versions move to versions.properties at the repo root, read by both Gradle
  and the Makefile, with slots for the other platforms. The release APK name
  now derives from applicationId instead of being spelled out.
- Makefile becomes the build/publish entrypoint: atomic targets with real
  dependencies (deps, check, staging, release, install, dist, bump-*), and a
  manual-only publish split into publish-apk / publish-metadata, which also
  regenerates the F-Droid metadata from versions.properties.
- Annotate the two lint errors in MainActivity that this surfaced
  (ComponentActivity.dispatchKeyEvent's LIBRARY_GROUP_PREFIX restriction,
  media3's UnstableApi) so `make check` is green rather than advisory.
- Document identity, versioning, build types and publishing in the handover
  doc; point the README at make.

NOTE: the id change makes this a different app to Android and to F-Droid.
Installs of space.rcmd.android.sizzle will not be upgraded by it and will sit
side by side with the new one.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-11-03 16:54:48 +01:00

83 lines
3.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Sizzletracker (Android)
A retro, grid-based **music tracker** for Android — monospace UI, pixel icons,
demoscene-style pattern editing — playable equally with **touch, keyboard,
gamepad, and MIDI** (USB or Bluetooth).
<p>
<img alt="platform" src="https://img.shields.io/badge/platform-Android%208%2B-0b0d0e">
<img alt="language" src="https://img.shields.io/badge/kotlin-2.0-7cfc9a">
<img alt="ui" src="https://img.shields.io/badge/UI-Jetpack%20Compose-f2c14e">
<img alt="license" src="https://img.shields.io/badge/license-GPL--3.0--or--later-e05a4b">
</p>
📖 **[Full User Guide](docs/USER_GUIDE.md)** — a detailed, screenshot‑by‑screenshot
walkthrough of every tab, instrument, effect and control.
## Features at a glance
- **Tracker tab** — 4-track pattern grid (note / velocity-hex / MIDI-channel per
track), beat & bar coloring, tap-to-focus + drag-to-edit with haptics and
scale-aware note entry; plus an 8-lane arrangement piano-roll (up to 256 bars)
with A/B loop regions.
- **Mix tab** — 4 channels, each with an instrument + 4 FX slots, MIDI channel,
volume, mute/solo.
- **Toolbox tab** — 16 slots for instruments (3-oscillator synth, sampler, SF2/XI) and
effects (arp, transposer, LFO, tape delay, reverb, filters, 10-band EQ,
bitcrusher). Every device has an auto-generated editor and text presets.
- **Setup tab** — `.sng` project save/load, color themes (with import/export),
gamepad bindings, and searchable/collapsible MIDI bindings.
- **Master recording** — render the master bus (with FX tail) to a WAV file.
- **Background playback** with a media notification (Play/Pause/Stop).
- **Two-thread design** — Compose UI on the main thread, a sample-accurate sound
engine on its own high-priority thread.
There is also a standalone `tools/samplepack-builder.html` — an offline page for
assembling Sampler preset bundles (drop audio onto 16 note-labelled pads, then
download an importable `.zip`).
## Build & run
Open the project in **Android Studio** (2024.1+) and Run on an **API 26+**
device or emulator.
From the CLI, `make` is the entrypoint (the Gradle wrapper is committed, so a
fresh clone needs no setup):
```
make help # every target, plus the current version
make check # unit tests + lint
make staging # release-like build for on-device testing
make install # adb install -r the staging APK
```
Versions live in `versions.properties` (`make bump-minor` / `bump-patch`), and
`make release` produces the unsigned, F-Droid-named APK. Publishing to the
private F-Droid repo is a separate, manual `make publish`.
## Where to start reading
See **[docs/DEVELOPER_HANDOVER.md](docs/DEVELOPER_HANDOVER.md)** — a from-scratch
tour written for a developer new to Android: architecture, the file map, the
"one action / one song / two threads" model, how to add an instrument or input,
and an honest **implemented-vs-TODO** list.
Fastest orientation in code:
`model/Project.kt` → `input/InputAction.kt` → `ui/AppViewModel.kt` →
`audio/AudioEngine.kt`.
## Project format
Songs use a human-readable `.sng` text format (see `io/ProjectIo.kt`), aligned in
spirit with the desktop
[Sizzletracker](https://github.com/reactorcoremeltdown/sizzletracker); a byte-exact
compatibility shim is a listed TODO in the handover doc.
## License
Sizzletracker is free software: you can redistribute it and/or modify it under
the terms of the **GNU General Public License v3.0 or later**
(`GPL-3.0-or-later`). See the [`LICENSE`](LICENSE) file for the full text; every
source file carries an SPDX `GPL-3.0-or-later` header.
Copyright © 2026 Reactorcoremeltdown