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>
242 lines
13 KiB
Markdown
242 lines
13 KiB
Markdown
# Changelog
|
||
|
||
Sizzle for iOS/iPadOS (`cc.tiredsysadmin.ios.sizzle`). One entry per version in
|
||
`../versions.properties`. Since 0.37.0 the version (`versionName` / `versionCode`)
|
||
is shared with Android, continuing Android's numbering, and both apps ship the
|
||
same features; the Android side of each version is in `../CHANGELOG.md`.
|
||
|
||
## 0.42.0 (build 79)
|
||
|
||
- RANDOM: the Synth, Morph Pad, Grain Cloud, Wavetable and Ambience Reverb
|
||
editors have a RANDOM button in the preset bar, which rolls a new patch and
|
||
names it. Always audible, never clipping — the ranges it draws from are picked
|
||
to keep a patch there rather than scattered over the whole knob. It replaces the
|
||
editor's settings like a preset does (SAVE first to keep what is there) and
|
||
leaves a loaded sample or an imported wavetable alone. The same rules and the
|
||
same seeds as Android, from `core/src/model/Randomizer.cpp`.
|
||
(Android has the same in 0.42.0.)
|
||
|
||
## 0.41.2 (build 78)
|
||
|
||
Housekeeping and speed; nothing you can see changes.
|
||
|
||
- **The DSP core is built at `-O2`.** It was `-Os`, which traded the engine's
|
||
speed for a little binary size in an app that has to hold a 4 ms deadline. The
|
||
golden tests measure the core at `-O2`, so the build that ships is now the
|
||
build that was checked.
|
||
- **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
|
||
(`core/src/engine/Engine.cpp`, shared with Android). Bit-for-bit the same
|
||
audio: all 61 reference scenarios still match.
|
||
- **Less battery while a song is stopped.** The transport display polled the
|
||
engine 30 times a second whatever was happening; stopped it now ticks 10 times
|
||
a second, and any transport call — the PLAY button, a gamepad, a MIDI binding —
|
||
starts the display-rate ticks in the same turn. The tick also stopped hopping
|
||
through a task per poll, 30 times a second, for a main-thread timer that was
|
||
already on the main actor.
|
||
- **Dead code gone.** The golden tests' `TestVoice` wrappers were compiled into
|
||
the app and the plugin extension although only `golden_test` calls them; they
|
||
have moved to `core/tests/voices/`. A couple of unused declarations went too.
|
||
|
||
## 0.41.1 (build 77)
|
||
|
||
- Fix: some controls only showed their new state after something else redrew
|
||
the screen (rotating the iPad): the Mix tab's ● ARM / TAIL / SHARE bar, the
|
||
Sampler's slice markers, the LFO's target and the audition keyboards. They now
|
||
redraw as soon as the song changes. (SwiftUI skipped them because none of their
|
||
own inputs changed.)
|
||
|
||
## 0.41.0 (build 76)
|
||
|
||
- Keep screen on: a Setup › Interface toggle that turns the idle timer off while
|
||
Sizzle is open (remembered, and in backups). (Android has the same in 0.41.0.)
|
||
|
||
## 0.40.0 (build 75)
|
||
|
||
- Sampler One-shot: a ONE-SHOT toggle above the pad tools (also in the Sampler's
|
||
card and as the plugin's "One-shot" parameter). On, note-offs (key release,
|
||
`===`, the next note on the track) don't cut a pad; it plays its whole slice.
|
||
Stop / pause still fade the song's pads; MIDI PANIC silences everything.
|
||
(Android has the same in 0.40.0.)
|
||
|
||
## 0.39.1 (build 74)
|
||
|
||
- Fix: a Sampler preset shared from Android (a .zip with the preset and its
|
||
WAVs) failed with "Couldn't import this preset". Preset IMPORT now takes these
|
||
bundles, for the Sampler, SF2/XI loader, Grain Cloud and Wavetable, and their
|
||
sounds come along. SHARE sends the same kind of bundle, so presets with samples
|
||
also go from iOS to Android (before, they named iOS-only sample ids).
|
||
|
||
## 0.39.0 (build 73)
|
||
|
||
- MIDI mappings as files: EXPORT / IMPORT in each device's ⇄ MIDI sheet share a
|
||
device's CC mapping as a plain-text `.szm` file (the same files as Android).
|
||
Clearing a mapping now removes it from the song instead of leaving it empty.
|
||
(Android has the same in 0.39.0.)
|
||
|
||
## 0.38.0 (build 72)
|
||
|
||
- Bluetooth LE MIDI controllers: Setup › MIDI Sync › Bluetooth MIDI › Find
|
||
controllers opens the system Bluetooth MIDI panel to find and connect them; a
|
||
connected controller is one of the MIDI inputs. Controllers connected there are
|
||
remembered and connected again at launch (through CoreBluetooth) until Forget.
|
||
(Android has the same in 0.38.0.)
|
||
|
||
## 0.37.0 (build 71)
|
||
|
||
- Same version as Android from now on (iOS 0.6.0 build 11 → 0.37.0 build 71).
|
||
- The C++ core moved from `ios/core` to the repo's top-level `core/`: it is the
|
||
engine of both apps now (Android plays through it too).
|
||
- Master recording uses the shared recorder (`core/src/host/MasterRecorder`);
|
||
nothing changes in use.
|
||
|
||
## 0.6.0 (build 11)
|
||
|
||
Milestone 5: the rest of the Android app.
|
||
|
||
- Recording: ● ARM on the Mix tab records the master bus to a WAV when Play
|
||
starts (or an external MIDI clock's Start), up to an FX tail of 0-4 bars
|
||
after the stop. Takes land in Files › On My iPad › Sizzle › Recordings;
|
||
SHARE sends the last one. Sampler pads and the Grain Cloud get ● RECORD
|
||
(microphone or an audio interface's input, up to 30 s).
|
||
- MIDI (CoreMIDI): every source is listened to (USB, Bluetooth, network, other
|
||
apps), plus a "Sizzle" destination other apps can send to. Notes play the
|
||
mixer tracks on their channel straight from the MIDI thread; with punch-in
|
||
armed they are entered into the grid. Setup › MIDI Sync: send clock, Start/
|
||
Stop and the sequenced notes (also through a "Sizzle" source), follow an
|
||
external clock, sound-module mode, and a switch per source.
|
||
- Hardware keyboard and gamepads (GameController): Android's default hotkeys
|
||
and the Z…M / Q…U tracker piano; buttons, D-pad and both sticks, with combos.
|
||
Setup › Controls rebinds keyboard, gamepad and MIDI CC by learning.
|
||
- ⇄ MIDI in each slot editor: MIDI-learn a CC per device parameter (saved in
|
||
the song, as on Android).
|
||
- Colour themes: Amber CRT and Ice Terminal, import / export / delete .szt
|
||
themes (Android's format). The default look now uses Android's exact colours.
|
||
- Project bundles (.szgz, with samples) for Export / Import project, readable
|
||
by the Android app and from it; Import also takes a plain .szg.
|
||
- Backup & Restore: one .zip with songs, presets, themes, samples, the open
|
||
song and the settings.
|
||
- Settings persist: keyboard channel and octave, record tail, mixer VU meters
|
||
(now switchable), MIDI options, bindings, theme.
|
||
- Audio: the output pauses in the background when nothing plays, unless
|
||
sound-module mode is on; it restarts after route changes and interruptions.
|
||
- Documents shows in the Files app.
|
||
|
||
## 0.5.0 (build 10)
|
||
|
||
- The hand-built editors of the Android app, in the app and in the plugins:
|
||
- Tape Delay: four tape heads, each an on/off toggle over a vertical fader
|
||
that snaps to the delay divisions, then Feedback / Mix / Tape.
|
||
- Tape Engine: the reel-to-reel transport, reels turning with the tape speed;
|
||
hold a reel to brake the tape (pitch dives, then springs back).
|
||
- Mix Tightener: Strength plus the EQ / Comp / Limit stage trims.
|
||
- Granular Glitch: the live oscilloscope with the jumping read head (once the
|
||
effect sits on a channel with signal), and the Intensity slider.
|
||
- Wavetable: each oscillator's table drawn, the playing frame lit; LOAD TABLE
|
||
turns your own WAV (Serum, WaveEdit, power-of-two frames) into the Custom table.
|
||
- Grain Cloud: the source waveform with START..END lit; LOAD WAV takes your own
|
||
WAV, SF2 or XI as the source.
|
||
- Loading your own tables and sources works in the app; inside AUM the plugins
|
||
can't reach your files yet.
|
||
|
||
## 0.4.1 (build 9)
|
||
|
||
- Fix: clearing a Toolbox tile, deleting a preset, and importing a WAV, SF2/XI
|
||
or preset in the slot editor did nothing. On iOS 15, SwiftUI resets an
|
||
alert's (or file picker's) presentation state before running the button's
|
||
action, and the action read that state. The tile / preset / kind of import is
|
||
now handed over in a way that survives that.
|
||
|
||
## 0.4.0 (build 8)
|
||
|
||
- Sizzle itself on iOS: the Tracker, Mix, Toolbox and Setup tabs, ported from
|
||
the Android app, playing songs through the C++ engine.
|
||
- Tracker: transport (tap tempo on the BPM), block / length / signature /
|
||
scale / root, the pattern grid with cursor, playhead follow, selection,
|
||
cut / copy / paste / clear, note-offs, skip step, the punch-in keyboard, and
|
||
the arrangement roll with lane mutes, FILL / CLEAR / OFF, loop A/B repeats.
|
||
- Mix: four strips with instrument and FX routing, MIDI channel, volume,
|
||
limiter, mute / solo and level meters.
|
||
- Toolbox: 16 slots, device picker, the card editors with a preset library
|
||
(factory presets, save / delete / import / share), audition keyboard,
|
||
Sampler pads (import WAV, slice, trim, normalize, pad volumes), SF2/XI
|
||
loading, the MIDI LFO's target.
|
||
- Setup: song browser (load / save / new / delete), import and export of
|
||
projects (.szg) and .sng, MIDI panic, help, the device lab and plugin check.
|
||
- Songs open from and save to the Android project format, autosave when the app
|
||
goes to the background, and reopen at launch.
|
||
- Not yet: MIDI input and clock sync, hardware keyboard and gamepad, recording,
|
||
themes, backups and sample-carrying project bundles.
|
||
|
||
## 0.3.1 (build 7)
|
||
|
||
- Fix: a sample loaded into the Sampler or the SF2/XI loader stayed silent. Its
|
||
id (file name plus a unique suffix) was longer than the 31 characters a setting
|
||
could hold, so the stored id was cut and matched nothing. Settings now hold up
|
||
to 255 characters (file paths too).
|
||
- Under the hood (not used by the app yet): the song model, the project / .sng /
|
||
preset file formats and the sequencer-and-mixer engine in C++, checked against
|
||
the Android app (four whole songs render the same; files round-trip byte for
|
||
byte).
|
||
|
||
## 0.3.0 (build 6)
|
||
|
||
- Plugin editors like the Android app's: tabs of titled cards tinted by role,
|
||
knobs (slide up/down, double-tap to reset), switches for short choices, menus
|
||
for long ones, faders for the EQ, and live envelope, filter and LFO drawings.
|
||
The layouts come from the Android app's own DeviceLayouts; the devices whose
|
||
Android editor is hand-built (Synth, Tape Delay, Tape Engine, SF2/XI, Sampler,
|
||
Mix Tightener, Granular) get card layouts of their own. The same editor shows
|
||
in AUM and in the app.
|
||
- Not yet on iOS: the wavetable picture in the Wavetable's oscillator cards and
|
||
its LOAD TABLE button.
|
||
|
||
## 0.2.1 (build 5)
|
||
|
||
- Fix: switching instruments (e.g. to the Wavetable) killed the app. Rewiring the
|
||
audio graph read the engine's microphone input, which iOS treats as a privacy
|
||
access the app hadn't declared. The app no longer touches the input.
|
||
- Benchmark results also go to the system log ("SizzleBench"), readable over USB.
|
||
|
||
## 0.2.0 (build 4)
|
||
|
||
- All six instruments, now in C++ and matching the Android app sample for sample:
|
||
Synth, Morph Pad, Wavetable, Grain Cloud, Sampler and the SF2/XI loader, as
|
||
AUv3 instruments ("Tired Sysadmin: Sizzle …", 8 voices each, notes placed
|
||
sample-accurately) next to the eight effects.
|
||
- Factory presets from the Android app for Ambience, Synth, Morph Pad, Grain
|
||
Cloud, Wavetable and Mix Tightener (127 in all).
|
||
- The app now plays the devices itself, without going through iOS's plugin list:
|
||
pick an instrument and an effect, edit them, play from the on-screen keyboard
|
||
or any MIDI controller, load a WAV into a Sampler pad or an SF2/XI/WAV into the
|
||
loader. Audio keeps playing in the background.
|
||
- Benchmark: renders every device for 10 s and shows what it costs on this
|
||
device, as a share of one CPU core.
|
||
|
||
## 0.1.2 (build 3)
|
||
|
||
- Fix: **Check all plugins** crashed the app right after an update. iOS can still
|
||
list the old plugin registration while the new one isn't loadable yet, and
|
||
loading it then raised an exception instead of returning an error. The check
|
||
now skips such plugins with "not registered (yet)" and catches the exception.
|
||
|
||
## 0.1.1 (build 2)
|
||
|
||
- Fix: the effects were silent in real hosts (and 0/8 in the app's check). When a
|
||
plugin runs out of process, iOS hands it the input in its own buffers instead
|
||
of filling the plugin's; the plugin kept reading its own, empty ones. It now
|
||
reads the input wherever the host puts it.
|
||
- The app's check reports a failed render as such instead of "silent".
|
||
|
||
## 0.1.0 (build 1)
|
||
|
||
- First build: Sizzle's eight audio effects as AUv3 plugins (Bitcrusher, Filter,
|
||
10-Band EQ, Tape Delay, Mix Tightener, Tape Engine, Granular Glitch, Ambience
|
||
Reverb), listed in hosts as "Tired Sysadmin: Sizzle …".
|
||
- Sound matches the Android app: the C++ core is checked against audio rendered
|
||
by the Kotlin code (25 scenarios), and the plugin wrapper against the core.
|
||
- Stereo as dual mono, host tempo for the tempo-synced effects, Mix Tightener
|
||
factory presets, user presets and saved host sessions.
|
||
- A generic editor with every parameter; the card editors come later.
|
||
- The app lists the installed plugins and checks each one on the device.
|