Both canvases detected their tap with detectTapGestures, which is the wrong
tool next to a scroll container for two reasons:
- it CONSUMES the initial down, so the scrollable/horizontalScroll wrapped
around the canvas had to fight for the gesture. A quick flick frequently
did nothing, or landed as a tap and moved the cursor; only a slow,
deliberate drag scrolled reliably.
- it knows nothing about an in-flight fling, so tapping to halt a flick — the
reflex every scrolling surface trains — selected a cell under a view that
was still moving.
Replaced with detectScrollAwareTaps, shared by both canvases: it leaves the
down unconsumed so the scroll container sees the whole gesture, drops the tap
as soon as the finger travels past touch slop or the container claims a drag,
and treats a touch landing on a moving view as "stop here" rather than
"select".
Also fixes a regression from v0.22.1: keeping the cursor row on screen was
written as a standing clamp inside the scroll accessor, which made it a
constraint on the viewport rather than a reaction to the cursor moving. With
the cursor on line 0 it pinned the grid to the top and no amount of dragging
could scroll it. It is now a snapshotFlow on the cursor line that nudges the
offset only when the cursor actually moves off screen, so free scrolling is
unconstrained and a tapped cell still never moves.
Verified on an emulator (Pixel, API 34): a fast flick on the pattern grid now
flings across the whole 64-line pattern where it previously did not move at
all; a slow drag tracks 1:1 with no overshoot; a tap lands on the exact cell
and leaves the view still; the arrangement roll flings from bar 1 to bar 31 and
taps the right lane/bar. The tap-stops-a-fling path is not covered — adb cannot
inject a tap inside the fling window.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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).
📖 Full User Guide — 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 —
.sngproject 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 — 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; 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 file for the full text; every
source file carries an SPDX GPL-3.0-or-later header.
Copyright © 2026 Reactorcoremeltdown