Commit Graph
4 Commits
Author SHA1 Message Date
ReactorcoremeltdownandClaude Opus 5.5 dae8ac46ac Sound-module mode ignores clock Start/Stop for Sizzle's own song (v0.29.2)
With "Receive MIDI clock" on, Mikro Seq's Start also started Sizzle's
sequencer, so a song imported from Mikro Seq played along with the live
notes, doubling parts that Mikro Seq's mutes could not reach. While
sound-module mode is on, Start/Stop are now ignored (traced as such);
tempo is still followed. Verified on the emulator with MidiTrace, plus a
control run with the mode off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 23:04:41 +01:00
ReactorcoremeltdownandClaude Opus 5.5 3c248028c9 MIDI trace, spaced block names survive save/load, clearer clock-receive text (v0.29.1)
- input/MidiTrace: optional (setprop log.tag.SizzleMidiTrace VERBOSE) log of
  every received packet with lateness and every note handed to the engine
  with the mixer strips it reaches; flags Sizzle's own transport playing and
  clock Start/Stop acting on it. AudioEngine.describeBusTargets backs it.
- ProjectIo percent-encodes spaces/%/] in [PATTERN name=...], so "C1 muted"
  no longer comes back as "C1"; old files load unchanged.
- "Receive MIDI clock" explains that it starts Sizzle's own song, which then
  plays along with incoming notes (the cause of "mutes don't work / only C2"
  reports when used as a sound module with an imported Mikro Seq song).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 23:00:39 +01:00
ReactorcoremeltdownandClaude Opus 5.5 df64af8c9b MIDI inputs list with per-source switches; reconnect dead virtual sources (v0.29.0)
- Setup -> MIDI Sync lists every MIDI source that can send to Sizzle with a
  switch and its state (Listening / Not connected / Off) plus Reconnect.
  Off-choices persist by a stable MidiSourceKey (Android ids change).
- When the app behind a virtual source dies/restarts, Android keeps the
  device and our connection, drops the service binding and sends no callback,
  so Sizzle went deaf to e.g. a restarted Mikro Seq. A worker thread now
  probes open virtual sources every 3 s (openOutputPort is null from a dead
  server) and reopens dead ones; resume re-scans; zero-open port status is
  also treated as dead.
- Verified on an Android 15 emulator: force-stop + restart Mikro Seq ->
  reconnected within ~3 s, notes flowing with both apps in background.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:32:04 +01:00
ReactorcoremeltdownandClaude Opus 5.5 fb9a219e27 Background MIDI sound module and opening .sng from other apps (v0.28.0)
- "Keep running as MIDI sound module" setting: a mediaPlayback foreground
  service (SoundModuleService) keeps Sizzle from being frozen in the
  background, so another app (Mikro Seq) can play its mixer over MIDI with
  the transport stopped. Notification shows open sources and has Stop.
- MIDI notes are routed by MidiSoundModule, owned by SizzleApp next to the
  engine, not by the ViewModel; the UI only mirrors/punches them in. Held
  notes are released per source on disconnect and on CC 120/123. MIDI clock
  follow is wired in SizzleApp. Engine and MIDI ports are ref-counted
  between the Activity and both services.
- MidiByteParser: running status, split packets, realtime, SysEx.
- VIEW/SEND intent filters for .sng (application/x-sizzle-song,
  application/octet-stream, text/plain, .sng path); confirm before replacing.
- SngFormat reader follows the desktop reader: spaced block names, comments,
  loop/group/scale/root, track slot fallback, on-roll blocks first, length
  cap. Mikro Seq 4/4 and 3/4 exports as test fixtures.
- CHANGELOG.md started; handover §5.5/§5.6 and user guide updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 22:11:18 +01:00