A RANDOM button in the preset bar of the Synth, Morph Pad, Grain Cloud,
Wavetable and Ambience Reverb editors: it rolls a playable patch and names it.
The rules live in core/src/model/Randomizer.cpp and are shared, so a seed gives
the same patch on both platforms. Android reaches it over JNI as preset text and
imports it; iOS writes the Params into the slot. Neither touches the slot's own
files — a loaded sample or an imported wavetable survives a roll, because the
dice are for the settings, not for the sounds.
Scattering values over the parameter ranges produces silence and the occasional
scream, so the rules encode three things instead: something always sounds (a
layer is always up, an envelope that decays to nothing gets a body, a filter is
never shut, a reverb is never fully dry); levels share a budget and resonance,
drive and saturation stay out of the range where a patch screams; and tunings
come from consonant intervals rather than a uniform draw.
core/tests/randomizer_test.cpp is the specification: it renders every device over
hundreds of seeds through the real voice and fails on anything out of range,
silent, clipping or non-finite. Every bound that looks arbitrary was put there by
a seed it caught — a band-pass parked above the note (peak 0.010 against a 0.3
median), a Vel -> Cutoff mod slot closing the filter (0.41 -> 0.02), a choir-only
Morph Pad through its own band-pass, and MORPH TO, which a roll now leaves alone
because MORPH TIME carries a held note all the way onto a factory drone at a
level the randomizer never chose (1.33 with every layer of its own at zero).
--dump <TYPE> <seed> [key=value ...] re-renders one roll with overrides, which is
how each of those was found.
Also fixes the shared engine not compiling outside Apple's toolchain: a missing
<cstdint> in core/include/sizzle/Model.hpp. No change to the apps, but the
engine's tests and benchmark now build with GCC too — which is how the rules
above were iterated while the Mac was unreachable.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Skipped only for ACTION_VIEW + extra.REPLACE + a content URI whose provider
belongs to cc.tiredsysadmin.android.mikroseq. The replaced song is saved as
"Before Mikro Seq import" first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Instruments and effects without a bespoke editor are laid out by DeviceLayouts
as titled cards per function (source, filter, envelope, modulation, output),
with knobs, segmented switches for short choices, tabs for the larger devices,
envelope / filter / LFO drawings, unit-aware values and a fader-bank graphic EQ.
Replaces the two-column slider grid and the fixed-height swipe pager.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MidiClock reports Start/Continue/Stop to an onTransport hook before the
receive gate; the engine's recorder now runs while the sequencer plays or an
external clock runs, so an armed take starts on clock Start (also in
sound-module mode) and ends a TAIL after clock Stop. Sizzle's own Stop ends
a clock-started take too. ClockRecordingTest covers start, tail, disarmed
and stop.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The mixer's INSTRUMENT and FX dropdowns take a long-press (with a haptic
tick) that opens that toolbox slot's editor via a view-model request; the
Toolbox consumes it and returns to the Mix tab on CLOSE or Back. A tap
still opens the slot menu.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Written for Sizzle (the hub's candidates are GPL-3.0-only, so nothing was
copied): tables kept as spectra and rendered per octave by inverse FFT with
a taper, level picked per control block so high notes don't alias; twelve
generated tables plus Serum / WaveEdit WAV import (clm chunk, frame-size
guessing, rebuilt from the kept WAV after a restart); two oscillators with
position, phase bend and up to 4-voice unison, sub, noise, drive, SVF,
amp and mod envelopes, tempo-synced LFO. 12 factory presets. Played inside
SynthVoice like the Morph Pad.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A granular drone machine from ECHOFIELD FM-1 (Philip Bos, MIT): six modes
(Cloud, Dust, Tape, Bloom, Pulse, Drift), up to 32 grains, held notes pitch
the grains, freeze, auto-level. One shared cloud per mixer channel (plus one
for editor audition) with note ownership, so sequencer releases never cut a
held MIDI note. Ten built-in sources synthesised at startup (GrainSources,
GPL), or a loaded/recorded sample kept across restarts. 14 factory presets.
The echofield/ package stays MIT, LICENSES/MIT.txt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new instrument for evolving pads and drones, ported from FRASIL 3.3
(Styves Goupil, an M-VAVE FM-1 firmware, MPL-2.0): a detuned saw choir,
eight drifting additive partials and noise through resonators, an
Ornstein-Uhlenbeck MOTION walk and a shared TIDE. Morph toward any of
FRASIL's 36 drone sounds by hand, by MIDI LFO or over a set time while a
note is held. Played by SynthVoice (so the tracker, live MIDI and audition
pools all get it); the frasil/ package stays MPL-2.0, LICENSES/MPL-2.0.txt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
- "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>
An arrangement slot can now hold Arrangement.NOTE_OFF instead of a block id.
When the playhead reaches one, every track of that lane is released — the
arrangement-level equivalent of a column of note-off cells, for cutting a held
pad or a looping sample without editing the block that started it.
The OFF button sits between FILL and the A/B region controls and writes markers
across the current selection, toggling them away if they are all markers
already. Its label stays "OFF" rather than flipping to CLEAR the way FILL does:
a marker is also "filled", so FILL already reads CLEAR for it, and two adjacent
CLEAR buttons was genuinely confusing on screen. Markers draw in the palette's
`danger` red so they never read as another block.
The note-off branch of triggerCell is factored out into releaseTrack(), so the
marker and a note-off cell release identically — including the whole mixer bus
rather than just that column's voices, which is the existing cell's documented
behaviour and not something worth diverging from here.
Two things the sentinel broke that are easy to miss:
- The project writer filtered arrangement slots with `pid >= 0`, so a marker
saved silently and came back empty. Both formats now carry it: .szg writes
the value as-is, and .sng gets an 'x' alongside '#'/'.'. 'x' is an extension
to the interchange format — a reader that only knows '#' treats it as empty,
losing the marker but never mis-parsing the roll.
- A marker is NOT empty, so the run walk-back in triggerArrangementLine would
have treated it as part of a contiguous run and played the following block
from the wrong beat. It is now a boundary (Arrangement.hasBlockAt), and a
block after a marker restarts from its first beat. It still counts towards
lastFilledBeat, so playback runs up to it.
Tests cover both round-trips, graceful degradation of an unknown roll
character, and the filled-but-not-a-block distinction. Checked on an emulator
that the button appears and toggles, the marker draws red and distinct from a
block, it survives a background/restore autosave cycle, and playback crosses it
without incident.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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>
docs/USER_GUIDE.md: a full walkthrough of every screen — Tracker (transport,
grid, note-offs, scrolling), the punch-in keyboard, Arrangement, Mix
(channels, FX routing, recording), Toolbox (tile gestures, Synth/Sampler/
SF2-XI editors, effects, presets) and Setup (projects, audio routing, themes,
input bindings). Also covers the four input methods incl. the new
hold-to-repeat, file formats, recording, and default keyboard/gamepad/MIDI
maps. 11 on-device screenshots under docs/screenshots/, linked from README.
Also refresh the README's stale "NES synth" wording to "3-oscillator synth"
(renamed in v0.5.0).
Docs only — no code change, so no version bump or rebuild.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>