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>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
bcec71597d
commit
fb9a219e27
@@ -298,6 +298,11 @@ you delete stay deleted.
|
||||
note ever hangs.
|
||||
- **Project** — save / new / delete full projects on the device, and **Export /
|
||||
Import `.sng`** for desktop interchange. (See [Files](#files-projects--sharing).)
|
||||
- **MIDI Sync → Keep running as MIDI sound module** — keeps Sizzle playing
|
||||
incoming MIDI while it is in the background, so another app (Mikro Seq, a
|
||||
DAW) can use it as its synth. A notification shows while it is on; its
|
||||
**Stop** button turns it off. Each mixer track plays the notes on its MIDI
|
||||
channel.
|
||||
- **Audio Devices** — route **Output** and **Input** to USB or built‑in.
|
||||
- **Color Theme** — pick a palette, or **Export / Import `.szt`** themes. Stock
|
||||
themes can't be deleted; imported ones join the list.
|
||||
@@ -344,6 +349,9 @@ One‑shot actions (play, stop, tab switch, note/clear) still fire once even if
|
||||
| **`.szt`** | A colour palette | Sharing themes |
|
||||
|
||||
Projects auto‑save, so a crash or process death resumes where you left off.
|
||||
Other apps can hand Sizzle a `.sng` directly (Mikro Seq's **Open in Sizzle**,
|
||||
a file manager's **Open with**, the share sheet); Sizzle asks before it replaces
|
||||
the current song's notes and arrangement.
|
||||
Export a `.sng` before wiping data if you want a portable copy of the song.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user