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>
254 lines
14 KiB
Markdown
254 lines
14 KiB
Markdown
# Changelog
|
||
|
||
Sizzletracker for Android (`cc.tiredsysadmin.android.sizzle`). One entry per
|
||
version in `versions.properties`; versions before 0.28.0 are described in the git
|
||
log (one commit per version). Since 0.37.0 Android and iOS share one version and
|
||
one feature set; the iOS side of each version is in `ios/CHANGELOG.md`.
|
||
|
||
## 0.42.0 (versionCode 78)
|
||
|
||
- **RANDOM:** the Synth, Morph Pad, Grain Cloud, Wavetable and Ambience Reverb
|
||
editors have a RANDOM button in the preset bar. It throws a new patch into the
|
||
editor and names it ("Hazy Drift"). It is a starting point rather than a slot
|
||
machine: a roll is always something you can hear and never something that
|
||
clips, because levels, filters and envelopes are drawn inside ranges that keep a
|
||
patch in that territory instead of scattered over the whole knob. It replaces
|
||
the editor's settings like loading a preset does, so SAVE first if you want to
|
||
keep what is there — but it never touches a sample you loaded or a wavetable you
|
||
imported. The other devices have none on purpose: a Sampler is only as
|
||
interesting as the sound you put in it, and the MIDI effects have too few
|
||
settings for a dice roll to say anything. (iOS has the same in 0.42.0.)
|
||
- Fix: the shared engine did not compile outside Apple's toolchain — a missing
|
||
`<cstdint>` in `core/include/sizzle/Model.hpp`. No change to the apps; it means
|
||
the engine's tests and benchmark now build with GCC too.
|
||
|
||
## 0.41.1 (versionCode 77)
|
||
|
||
<<<<<<< HEAD
|
||
- No Android change: an iOS redraw fix (see `ios/CHANGELOG.md`).
|
||
=======
|
||
Housekeeping and speed; nothing you can see changes, except that the app is
|
||
half the size and lighter on the battery.
|
||
|
||
- **The APK is half as big** — 21.5 MB → 10.1 MB. Release builds now go through
|
||
R8 (shrink, optimise, obfuscate, and drop unused resources), which throws away
|
||
the Compose and Material icon code the app never calls. Only the two JNI
|
||
classes are pinned by name (`app/proguard-rules.pro`), because the native
|
||
library looks them up at runtime; `make dist` keeps the de-obfuscation map next
|
||
to the APK so a crash report from a published build can still be read.
|
||
- **Less battery while a song is stopped.** The thread that feeds the transport
|
||
display polled the engine 100 times a second whatever was happening; it now
|
||
does that only while the song plays or a recording is armed, and waits 100 ms a
|
||
turn otherwise. Pressing Play still moves the playhead in the same frame — a
|
||
transport call wakes it. iOS does the same (30 Hz playing, 10 Hz stopped).
|
||
- **Smoother editing.** Every edit hands the engine the whole song as text. That
|
||
text is now built in one pre-sized pass instead of a string per line, and a
|
||
burst of edits — dragging a note column, sweeping a knob — is collected into
|
||
one sync instead of one per touch event.
|
||
- **The mixer costs less per sample.** Channel volume, mute/solo and the effect
|
||
chain are read once per audio block rather than once per frame, in the shared
|
||
C++ engine (so iOS gets it too). Bit-for-bit the same audio: all 61 reference
|
||
scenarios still match the Kotlin DSP.
|
||
- **Dead code gone.** The Kotlin DSP that `core/` replaced in 0.37.0 was still
|
||
compiled into every APK although nothing called it; it has moved to the test
|
||
source set, where it belongs as the reference the C++ is checked against. The
|
||
golden tests' `TestVoice` wrappers left the shared engine's sources for the
|
||
same reason, and a handful of unused declarations are gone.
|
||
- Fix: `make lint` failed on a manifest that asked for `ACCESS_FINE_LOCATION`
|
||
without `ACCESS_COARSE_LOCATION` (the BLE MIDI scan on Android 8–11). Both are
|
||
declared and both are requested now, so `make check` passes again.
|
||
>>>>>>> c1758637df9651f2c6a4ef6296509acb9d774186
|
||
|
||
## 0.41.0 (versionCode 76)
|
||
|
||
- **Keep screen on:** a Settings › Interface toggle that stops the screen from
|
||
dimming or locking while Sizzle is open (remembered). (iOS has the same in 0.41.0.)
|
||
|
||
## 0.40.0 (versionCode 75)
|
||
|
||
- **Sampler One-shot:** a ONE-SHOT toggle at the top of the Sampler editor. On,
|
||
note-offs are ignored: releasing a MIDI key or pad, the tracker's `===` and a
|
||
new note on the same track no longer cut a pad, which plays its whole slice
|
||
(the bus's eight voices overlap). Stopping or pausing the song still fades the
|
||
pads it played, and MIDI PANIC silences everything. It's a Sampler setting, so
|
||
it's saved with the song and in presets, and the Sampler plugin offers it as a
|
||
parameter. (iOS has the same in 0.40.0.)
|
||
|
||
## 0.39.1 (versionCode 74)
|
||
|
||
- Sampler, SF2/XI, Grain Cloud and Wavetable preset bundles now travel between
|
||
Android and iOS in both directions (the fix is on the iOS side; Android's
|
||
bundle format is unchanged and is now checked against the iOS code by tests).
|
||
|
||
## 0.39.0 (versionCode 73)
|
||
|
||
- **MIDI mappings as files:** the ⇄ MIDI panel of every toolbox device has
|
||
EXPORT and IMPORT. EXPORT shares the device's mapping (which MIDI CC drives
|
||
which parameter) as a plain-text `.szm` file; IMPORT replaces the device's
|
||
mapping with one from a file for the same kind of device, moving any CC another
|
||
parameter used. The same files work on iOS. (iOS has the same in 0.39.0.)
|
||
|
||
## 0.38.0 (versionCode 72)
|
||
|
||
- **Bluetooth LE MIDI controllers:** Settings › MIDI Sync › MIDI inputs has a
|
||
Bluetooth MIDI section. SCAN looks for BLE MIDI controllers for 15 s (asking for
|
||
the Bluetooth permission the first time), CONNECT opens one, and from then on it
|
||
is one of the MIDI inputs: listed, switchable and played on the mixer tracks of
|
||
its channel. Connected controllers are remembered and connected again at every
|
||
start until FORGET. (iOS has the same in 0.38.0.)
|
||
|
||
## 0.37.0 (versionCode 71)
|
||
|
||
- **One engine for Android and iOS:** Android now plays through the shared C++
|
||
engine in `core/` (sequencer, mixer, every instrument and effect), the same
|
||
code the iOS app runs, instead of the Kotlin engine. Audio is rendered entirely
|
||
in native code inside the Oboe callback, so a Java garbage-collector pause can
|
||
no longer glitch playback. Edits reach the engine as they happen; playback
|
||
carries on through them.
|
||
- **One version:** Android and iOS now carry the same version number and
|
||
versionCode (continuing Android's), and from now on ship the same features.
|
||
- The Kotlin engine stays in the unit tests as the reference the C++ engine is
|
||
checked against.
|
||
|
||
## 0.36.2 (versionCode 70)
|
||
|
||
- **Instrument editors in landscape:** the audition keyboard (or the Sampler's
|
||
pads) is now pinned on the right at the same width as on the Toolbox and
|
||
Tracker tabs, with the controls scrolling on the left, instead of being stacked
|
||
below the controls. Tab labels shrink when there are more than five, so the
|
||
Wavetable's FILTER tab isn't cut off in the narrower column.
|
||
|
||
## 0.36.1 (versionCode 69)
|
||
|
||
- **Wavetable editor fits without scrolling:** tabs are now OSC 1 · OSC 2 · VOICE
|
||
· FILTER · AMP · MOD · LFO, each oscillator's card draws its own table, and LOAD
|
||
TABLE moved into Oscillator 1's title with the frame size below the table. The
|
||
big table strip above the tabs is gone. Tabs in every device editor now share
|
||
the width instead of scrolling sideways.
|
||
|
||
## 0.36.0 (versionCode 68)
|
||
|
||
- **One-tap transfer from Mikro Seq:** a song sent by Mikro Seq's "Current to
|
||
Sizzle" button (the `extra.REPLACE` intent) loads straight away, without the
|
||
"replace song?" question. Only Mikro Seq can do this: the URI must come from
|
||
its own content provider. The replaced song is saved first as "Before Mikro Seq
|
||
import" in the project list, and a toast says so. Every other app still gets
|
||
the question.
|
||
|
||
## 0.35.1 (versionCode 67)
|
||
|
||
- **Fix:** knobs, switches, EQ faders and the envelope/filter/LFO drawings in the
|
||
new device editors did not move when touched (the value changed, the screen
|
||
didn't). They now redraw on every edit.
|
||
|
||
## 0.35.0 (versionCode 66)
|
||
|
||
- **Device editors redesigned:** instruments and effects no longer show two
|
||
columns of horizontal sliders. Their controls are grouped into titled cards by
|
||
what they do (oscillators, filter, envelopes, modulation, output), each tinted
|
||
by its role, with knobs for numbers, segmented switches for short choices and
|
||
tabs for the bigger devices. Envelope, filter-response and LFO-wave drawings
|
||
follow the knobs live. Values read in their units (ms / s, dB, semitones, cents,
|
||
%, note divisions). The 10-Band EQ is a graphic EQ of vertical faders. Applies
|
||
to Wavetable, Morph Pad, Grain Cloud, Ambience, Filter, EQ, Bitcrusher and the
|
||
MIDI Arpeggiator / Transposer / LFO; the Tape Delay's feedback, mix and tape
|
||
controls are knobs. The Synth's editor is unchanged.
|
||
|
||
## 0.34.0 (versionCode 65)
|
||
|
||
- **Recording follows MIDI clock:** while ● ARM is on, an external clock Start (or
|
||
Continue) starts the master recording and its Stop ends it after the TAIL, the
|
||
same as Sizzle's own Play/Stop. Works in sound-module mode, where the clock
|
||
doesn't start Sizzle's song, and whether or not "Receive MIDI clock" is on.
|
||
Sizzle's own Stop also ends a clock-started take.
|
||
|
||
## 0.33.0 (versionCode 64)
|
||
|
||
- **Mix tab:** long-press an instrument or FX slot to open that device's settings
|
||
(the Toolbox editor); closing it returns to the Mix. A short tap still picks the
|
||
device.
|
||
|
||
## 0.32.0 (versionCode 63)
|
||
|
||
- **Wavetable**, a new two-oscillator wavetable synth: twelve built-in tables
|
||
(Classic, PWM, Vowels, Harmonic Sweep, Sync, FM, Organ, Fold, Digital, Glass,
|
||
Odd Even, Comb), Serum / WaveEdit WAV import, position swept by its own envelope
|
||
and a tempo-synced LFO, phase bend, up to 4-voice unison, sub, noise, drive and a
|
||
low/band/high filter. Band-limited per octave, so high notes don't alias. 12
|
||
factory presets. Written for Sizzle (GPL-3.0-or-later), not ported.
|
||
|
||
## 0.31.0 (versionCode 62)
|
||
|
||
- **Grain Cloud**, a new granular drone instrument: ECHOFIELD's grain engine (by
|
||
Philip Bos, an M-VAVE FM-1 firmware) ported to Kotlin. Six modes (Cloud, Dust,
|
||
Tape, Bloom, Pulse, Drift), up to 32 grains per channel, held notes pitch the
|
||
grains, freeze, and an auto-level that keeps every sound at one loudness. Ten
|
||
built-in sources synthesised by Sizzle, or load / record your own (kept across
|
||
restarts). 14 factory presets. Plays from the tracker, the toolbox keyboard and
|
||
live MIDI.
|
||
- The ported files (`echofield/`) are MIT, as ECHOFIELD is (`LICENSES/MIT.txt`).
|
||
|
||
## 0.30.0 (versionCode 61)
|
||
|
||
- **Morph Pad**, a new instrument for evolving pads and drones: the drone voice of
|
||
FRASIL (a custom firmware for the M-VAVE FM-1 by Styves Goupil), ported to
|
||
Kotlin. A detuned saw choir, eight drifting additive partials and noise through
|
||
resonators, slow random motion and a shared tide on the timbre. Morph toward
|
||
any of the 36 factory sounds by hand, by MIDI LFO or over a set time while a
|
||
note is held. Plays from the tracker, the toolbox keyboard and live MIDI
|
||
(including sound-module mode).
|
||
- The ported files (`frasil/`) are MPL-2.0, as FRASIL is; the licence text is in
|
||
`LICENSES/MPL-2.0.txt`. The rest of Sizzle stays GPL-3.0-or-later.
|
||
|
||
## 0.29.2 (versionCode 60)
|
||
|
||
- While Sizzle runs as a MIDI sound module, another app's clock Start/Stop no
|
||
longer starts or stops Sizzle's own song (tempo is still followed). Before, a
|
||
song opened from Mikro Seq played along with Mikro Seq's live notes, doubling
|
||
parts that Mikro Seq's mutes couldn't silence.
|
||
|
||
## 0.29.1 (versionCode 59)
|
||
|
||
- **MIDI trace** for checking what reaches Sizzle and what it plays: every
|
||
received packet (bytes, lateness) and every note with the mixer strips it
|
||
reaches, flagged when Sizzle's own transport is also playing. Off by default;
|
||
`adb shell setprop log.tag.SizzleMidiTrace VERBOSE`, then
|
||
`adb logcat -s SizzleMidiTrace`.
|
||
- Block names with spaces (e.g. Mikro Seq's "C1 muted") survive the autosave and
|
||
project save/load (they were cut at the first space).
|
||
- "Receive MIDI clock" now says that it starts Sizzle's own song, which then
|
||
plays along with the notes another app sends.
|
||
|
||
## 0.29.0 (versionCode 58)
|
||
|
||
- **MIDI inputs list** (Setup → MIDI Sync): every MIDI source Sizzle can hear
|
||
(controllers, other apps' virtual ports such as Mikro Seq), each with a switch
|
||
and its state (Listening / Not connected / Off), plus a **Reconnect** button.
|
||
The choice is saved; new sources are on by default.
|
||
- **Automatic reconnect** when the app behind a virtual source restarts (crash,
|
||
update, force stop). Android gives no signal for that and left Sizzle holding a
|
||
dead connection, so Mikro Seq could play into nothing. Sizzle now checks open
|
||
virtual sources every 3 s and reopens a dead one, and re-scans on every resume.
|
||
|
||
## 0.28.0 (versionCode 57)
|
||
|
||
- **Background MIDI sound module.** New setting "Keep running as MIDI sound
|
||
module" (Setup → MIDI Sync). While on, a foreground service with a notification
|
||
(open-source count, Stop) keeps Sizzle from being frozen in the background, so
|
||
another app such as Mikro Seq can play Sizzle's mixer over MIDI with Sizzle's
|
||
transport stopped and its screen gone.
|
||
- MIDI notes are now played by a sound-module layer that lives with the engine,
|
||
not the UI. The UI still shows them and punch-in still records them.
|
||
- Notes held by a MIDI source are released when it disconnects; All Notes Off
|
||
(CC 123) and All Sound Off (CC 120) release a channel.
|
||
- MIDI input understands running status and messages split across packets.
|
||
- MIDI clock follow (Start/Stop/tempo) works without the UI.
|
||
- **Open `.sng` from other apps**: "Open with" / "Share to" Sizzletracker for
|
||
`.sng` files (`application/octet-stream`, `text/plain`,
|
||
`application/x-sizzle-song`, or the `.sng` extension). Sizzle asks before it
|
||
replaces the current song's patterns and arrangement.
|
||
- `.sng` import follows the desktop reader: block names with spaces, `#`
|
||
comments, `loop`, `group`/`scale`/`root` lines, track slots by number with
|
||
fallback, on-roll blocks kept first when a file has more than 8, block length
|
||
capped. Mikro Seq exports in 4/4 and 3/4 import correctly.
|