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>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6688718bed
commit
5240019b47
@@ -776,6 +776,18 @@ attack=0.01
|
||||
```
|
||||
Copy/paste from the Toolbox parameter editor uses this exact text.
|
||||
|
||||
### Preset bundle (`.zip`)
|
||||
|
||||
What SHARE sends for a Sampler, SF2/XI, Grain Cloud or Wavetable preset: a ZIP
|
||||
holding `<name>.szp` and the WAVs it names. In a song, pads name sample ids
|
||||
(`padN`, `sfSample`); in a bundle they name files (`padNFile=<name>_padN.wav`,
|
||||
`sfFile=<name>_sf.wav`). Android: `PresetLibrary.bundleForShare` / `importZip`.
|
||||
iOS: `core/src/io/PresetBundle`. The two are checked against each other.
|
||||
`IosGoldenPresetBundle` (part of `make -C ios golden`) writes a bundle with
|
||||
Android's code for `core/tests/bundle_test.cpp` to import. `bundle_test` also
|
||||
writes `app/src/test/resources/presetbundle/ios_sampler.zip` (checked byte for
|
||||
byte), which `PresetBundleInteropTest` imports with Android's code.
|
||||
|
||||
### MIDI mapping (`MidiMapIo`, `.szm`, 0.39.0)
|
||||
|
||||
One device's parameter → MIDI CC mapping, exported and imported from the ⇄ MIDI
|
||||
|
||||
Reference in New Issue
Block a user