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>
This commit is contained in:
Reactorcoremeltdown
2026-11-16 14:26:01 +01:00
co-authored by Claude Opus 5.5
parent 435305e42a
commit 64e21e0bcc
54 changed files with 3303 additions and 97 deletions
+16
View File
@@ -50,6 +50,22 @@ extension EnvironmentValues {
}
}
/// The app's microphone recorder for editors that take a recording (the Grain
/// Cloud's RECORD); nil in the plugin, which shows no RECORD button.
struct DeviceRecordControl {
let isRecording: Bool
let toggle: () -> Void
}
private struct DeviceRecorderKey: EnvironmentKey {
static let defaultValue: DeviceRecordControl? = nil
}
extension EnvironmentValues {
var deviceRecorder: DeviceRecordControl? {
get { self[DeviceRecorderKey.self] }
set { self[DeviceRecorderKey.self] = newValue }
}
}
/// Hand-built pieces of device editors (the Android app's bespoke editors), by
/// device. DeviceEditor asks here first and falls back to the card layout. Each
/// device's views live in their own file in this folder.