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>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
2bc5cb1cbb
commit
4d9e2328cb
@@ -418,6 +418,27 @@ to draw (wavetable frames, Grain Cloud source peaks, sample decoding).
|
||||
**Parity rule:** every feature or fix lands in both apps in the same change, with
|
||||
one shared version bump. Engine and DSP work goes into `core/` only.
|
||||
|
||||
### 5.4.3 Bluetooth LE MIDI controllers (0.38.0)
|
||||
|
||||
Android lists a BLE MIDI device to MIDI apps only after some app has connected
|
||||
it. `input/BleMidi.kt` scans for the BLE MIDI service
|
||||
(`03B80E5A-EDE8-4B33-A751-6CE34EC4C700`, 15 s, low-latency mode), connects the
|
||||
chosen device with `MidiManager.openBluetoothDevice` and holds that `MidiDevice`
|
||||
open while Sizzle's MIDI runs; the device then reaches `MidiInput` through the
|
||||
ordinary device callback, so it is listed and played like USB gear. Connected
|
||||
addresses are remembered (`SettingsStore.bleMidiDevices`) and reopened by
|
||||
address at start, without a scan. Permissions: `BLUETOOTH_SCAN`
|
||||
(`neverForLocation`) + `BLUETOOTH_CONNECT` on Android 12+, `ACCESS_FINE_LOCATION`
|
||||
(and the legacy `BLUETOOTH` / `BLUETOOTH_ADMIN`) on 8-11, asked for when SCAN is
|
||||
first tapped. The emulator has no usable Bluetooth radio (its Bluetooth service
|
||||
crashes on a scan); test on a phone.
|
||||
|
||||
iOS (`ios/app/Host/BluetoothMidi.swift`): the system panel
|
||||
(`CABTMIDICentralViewController`) finds and connects; when it closes, the
|
||||
connected BLE MIDI peripherals are remembered and reconnected at launch through
|
||||
CoreBluetooth (best effort: iOS decides whether that brings the CoreMIDI source
|
||||
back without the panel).
|
||||
|
||||
### 5.5 Sizzle as a background MIDI sound module
|
||||
|
||||
Goal: another app (Mikro Seq, a DAW, a controller app) plays Sizzle's mixer over
|
||||
|
||||
Reference in New Issue
Block a user