Commit Graph
28 Commits
Author SHA1 Message Date
ReactorcoremeltdownandClaude Opus 5 dd04a61e22 0.41.1 (77): cleanup and optimisation round (Android and iOS)
Nothing user-visible changes, except that the Android app is half the size and
both are lighter on the battery.

R8 is on for release builds (21.5 MB -> 10.1 MB); only the two JNI classes are
pinned by name, since the app reflects over nothing of its own, and `make dist`
keeps the mapping beside the APK. The Kotlin DSP that core/ replaced in 0.37.0
was still compiled into every APK with nothing calling it — it moves to the test
source set, where it belongs as the reference the C++ is checked against — and
the golden tests' TestVoice wrappers leave core/src for core/tests/voices, so
neither app compiles them either.

Speed: channel gain, mute/solo and the FX chain are read once per audio block
instead of once per frame in Engine::fillBlock (both platforms, bit-identical —
all 61 reference scenarios still match); the transport pollers idle at 100 ms
(Android) and 10 Hz (iOS) instead of polling flat out while a song is stopped,
woken by any transport call; ProjectIo.save builds into one pre-sized buffer and
a burst of edits is coalesced into one engine sync; the Kotlin grain sources and
factory wavetables are built when their editor opens rather than at launch, where
they duplicated ~6 MB the engine already renders in core/; and Xcode builds the
DSP core at -O2, the level the golden tests measure, not -Os.

Fix: `make lint` failed on a manifest asking for ACCESS_FINE_LOCATION without
ACCESS_COARSE_LOCATION (the BLE MIDI scan on Android 8-11), so `make check`
passes again.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-11-18 10:21:09 +01:00
ReactorcoremeltdownandClaude Opus 5.5 cdabf3018b 0.41.0 (76): Keep screen on toggle (Android and iOS)
Settings › Interface: Android sets FLAG_KEEP_SCREEN_ON on the window, iOS turns
the idle timer off; persisted (and in iOS backups).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 20:15:46 +01:00
ReactorcoremeltdownandClaude Opus 5.5 7041f762e5 0.40.0 (75): Sampler One-shot (Android and iOS)
- Sampler parameter oneShot (Off/On): note-offs don't release its pads; they
  play their whole slice. Transport stop/pause still releases (SampleVoice::
  release), panic kills
- Engine in core/ and the Kotlin reference both implement it; the golden
  Sampler "high" scenario covers it; oneshot_test checks MIDI, song, stop, panic
- ONE-SHOT toggle in both apps' Sampler editors; specs and layouts regenerated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:53:13 +01:00
ReactorcoremeltdownandClaude Opus 5.5 5240019b47 0.39.1 (74): preset bundles between Android and iOS, both ways
iOS couldn't import Android's Sampler preset bundle (a ZIP with the .szp and
its WAVs) and shared sample presets as bare text naming iOS sample ids.

- core/src/io/PresetBundle: import/export in Android's bundle layout
  (padNFile / sfFile), used by iOS IMPORT and SHARE
- bundle_test imports a bundle written by Android's PresetLibrary
  (IosGoldenPresetBundle); PresetBundleInteropTest imports the iOS-written
  fixture with Android's importZip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:39:33 +01:00
ReactorcoremeltdownandClaude Opus 5.5 6688718bed 0.39.0 (73): export and import MIDI mappings as .szm text (Android and iOS)
- SIZZLE-MIDIMAP 1 format: TYPE, NAME, one parameter=CC line each
- core/src/io/MidiMapIo (iOS) and io/MidiMapIo.kt (Android), tested on one
  shared fixture (midimap_test, MidiMapIoTest)
- EXPORT / IMPORT in each device's MIDI learn panel on both platforms
- Params::remove; iOS clears a mapping by removing it
- ios/Makefile regenerates the Xcode project when source folders change

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:31:46 +01:00
ReactorcoremeltdownandClaude Opus 5.5 4d9e2328cb 0.38.0 (72): Bluetooth LE MIDI controllers in Settings (Android and iOS)
- Android: BleMidi scans for the BLE MIDI service, connects through
  MidiManager.openBluetoothDevice, remembers and reconnects controllers;
  Settings › MIDI inputs › Bluetooth MIDI (Scan / Connect / Disconnect / Forget)
- iOS: the system Bluetooth MIDI panel from Setup › MIDI Sync, connected
  controllers remembered and reconnected at launch via CoreBluetooth

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 14:57:53 +01:00
ReactorcoremeltdownandClaude Opus 5.5 2bc5cb1cbb 0.37.0 (71): one engine, one version for Android and iOS
- Three source trees: core/ (shared C++ engine, moved from ios/core),
  app/ (Android UI), ios/app/ (iOS UI)
- Android plays through core/ via JNI (EngineHost, jni_engine.cpp): the Oboe
  callback renders natively; the Kotlin model is mirrored as project text and
  applied as a diff, so playback continues through edits
- The Kotlin engine moves to the unit tests as ReferenceEngine (golden reference)
- Shared MasterRecorder in core/src/host, used by both apps; host_test
- versions.properties: one versionName/versionCode for both platforms,
  continuing Android's numbering (iOS 0.6.0/11 -> 0.37.0/71)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 14:49:46 +01:00
ReactorcoremeltdownandClaude Opus 5.5 64e21e0bcc iOS 0.6.0: milestone 5 (recording, MIDI, input bindings, themes, bundles, backups)
- Master recording (MasterSink ring + writer thread) and the sample recorder
- CoreMIDI in/out: sound module, clock send/follow, virtual "Sizzle" ports;
  platform-free parser/module/clock in core (midi_test)
- Hardware keyboard and gamepads via GameController; rebindable keyboard,
  gamepad and MIDI CC actions; per-parameter MIDI learn
- Colour themes (.szt), project bundles (.szgz), backup & restore;
  ZIP in core with zlib (zip_test against jar and unzip)
- Persistent app settings; audio pauses in the background unless sound module

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 14:26:01 +01:00
ReactorcoremeltdownandClaude Opus 5.5 435305e42a iOS 0.5.0: hand-built editors (Tape Delay, Tape Engine, Mix Tightener, Granular scope, Wavetable tables, Grain Cloud source)
Effect visualisation through the C++ effect, engine and AU; custom wavetables and
grain sources load and persist with the song; the app's slot editor hosts the
file picker for bespoke views.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 10:01:14 +01:00
ReactorcoremeltdownandClaude Opus 5.5 3b035d6a7d iOS milestone 4 groundwork: bespoke editor registry and data sources
Device editors ask BespokeEditors for headers, whole bodies, drawings and card
actions; DeviceDataSource gives them DSP data and hidden settings, backed by app
slots (SlotDataSource) or AUs (AUDataSource, hidden values in SizzleDeviceAU).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:47:25 +01:00
ReactorcoremeltdownandClaude Opus 5.5 42f66534bf iOS 0.4.1: clearing tiles, deleting presets and slot-editor imports work on iOS 15
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:40:32 +01:00
ReactorcoremeltdownandClaude Opus 5.5 962cfd1e2b iOS 0.4.0: Sizzle's Tracker, Mix, Toolbox and Setup tabs on the C++ engine
Ported from the Android tabs by parallel agents (each screen with its own
SizzleSession category); slot editors use the card editor with a preset
library; songs load/save in the Android project format.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:32:30 +01:00
ReactorcoremeltdownandClaude Opus 5.5 29650b88d7 iOS milestone 3 groundwork: SizzleSession bridge, app shell with tabs, slot-backed editors, screen snapshots
SizzleSession owns the song, engine (192-frame chunks, try-lock on the audio
thread), samples and audio output; AppModel/RootView give the four tabs;
DeviceModel now works on toolbox slots too; make screen-snapshots renders the
app's tabs on the Mac.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:15:28 +01:00
ReactorcoremeltdownandClaude Opus 5.5 7bc54e6466 iOS 0.3.1: engine, model and file formats in C++, verified against Kotlin; longer settings
Engine (sequencer, mixer, FX chains, MIDI effects) renders four whole songs like
AudioEngine.kt (two bit-exact, two within 9e-6). ProjectIo / SngFormat / PresetIo
round-trip the Kotlin-written files; Float.toString is JDK 17's, checked on all
2^32 floats. Params now holds 255-character values (sample ids were cut).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 01:50:51 +01:00
ReactorcoremeltdownandClaude Opus 5.5 b1dc5ed8db iOS milestone 2 groundwork: song model in C++, whole-song references from Kotlin
IosGoldenSongs exports .szg/.sng/.szp files and full AudioEngine renders of four
songs (demo, mix, waltz, midifx); Model.hpp is the C++ twin of model/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:50:10 +01:00
ReactorcoremeltdownandClaude Opus 5.5 c6520277b7 iOS: record the iPad mini 4 benchmark
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:45:06 +01:00
ReactorcoremeltdownandClaude Opus 5.5 b6589ee792 iOS 0.3.0: card editors like Android's for every plugin (knobs, switches, tabs, drawings)
Layouts exported from Android's DeviceLayouts (DeviceLayouts.json), iOS layouts
for the devices with hand-built Android editors, SwiftUI editor shared by the
extension and the app, Mac snapshot tool for the editors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:41:33 +01:00
ReactorcoremeltdownandClaude Opus 5.5 47588990ce iOS 0.2.1: don't touch the engine's input node (microphone privacy crash); log benchmark
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:35:18 +01:00
ReactorcoremeltdownandClaude Opus 5.5 7f231c8f79 iOS 0.2.0: instruments as AUv3, in-app host with keyboard, MIDI in and benchmark
Shared SizzleDeviceAU base for effects and instruments; sizzle::Instrument voice
pools; Android's factory presets generated into the specs header; the app hosts
every device in-process (no dependence on the system plugin registry).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:17:47 +01:00
ReactorcoremeltdownandClaude Opus 5.5 a5b2f4c873 iOS core: Synth voice, Sampler, sample store and SF2/XI loader ported, bit-exact with Kotlin
All six instruments now run in C++ (61 reference scenarios, 16 sampler tests).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:06:51 +01:00
ReactorcoremeltdownandClaude Opus 5.5 8d85b14a67 iOS core: Morph Pad, Wavetable and Grain Cloud ported, bit-exact with Kotlin
Ported by parallel agents against reference renders. The export now records
Kotlin's global voice-seed counters and every factory wavetable's data, and adds
Sampler/SF2 scenarios (not ported yet).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:56:33 +01:00
ReactorcoremeltdownandClaude Opus 5.5 bf5f2b53af iOS port plan and instrument reference harness
PORTING.md: native SwiftUI app on a C++ engine verified against Kotlin.
IosGoldenInstruments renders note scripts through the Kotlin voices; the C++
runner plays the same scripts through TestVoice makers (weak placeholders
until each port lands).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:49:02 +01:00
ReactorcoremeltdownandClaude Opus 5.5 6b7e2108e7 iOS README: record the plugin registration problem on the test iPad
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:59:35 +01:00
ReactorcoremeltdownandClaude Opus 5.5 005e0984de iOS 0.1.2: plugin check can't crash on a stale registration after an update
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:10:05 +01:00
ReactorcoremeltdownandClaude Opus 5.5 7d8311a77f iOS 0.1.1: effects read the input where the host puts it (were silent out of process)
Out of process the pulled input arrives by pointer, not in the buffers the
plugin offered. au_test now drives the render block with such an upstream;
it fails on 0.1.0 and passes now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:07:05 +01:00
ReactorcoremeltdownandClaude Opus 5.5 dcf85ba915 iOS 0.1.0: the eight audio effects as AUv3 plugins on a C++ core
C++ ports of the Kotlin effects, checked against audio the Kotlin code renders
(25 scenarios, IosGoldenExport); an Objective-C++ AUv3 wrapper checked on the
Mac against the core (parameters, presets, saved state); a container app that
checks each plugin on the device. Built as a TrollStore .ipa.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 20:47:06 +01:00
ReactorcoremeltdownandClaude Opus 5.5 c9ad186de1 iOS spike build 2: app icon, scene manifest, crash-proof self-test on demand
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 20:28:29 +01:00
ReactorcoremeltdownandClaude Opus 5.5 77d6e459b2 iOS: TrollStore AUv3 spike (host app + sine AUv3 + App Group self-test)
Separate tree under ios/ with its own Makefile: XcodeGen project, unsigned
device build ad-hoc signed with entitlements and packed as an .ipa.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:46:45 +01:00