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>
This commit is contained in:
Reactorcoremeltdown
2026-11-16 16:31:46 +01:00
co-authored by Claude Opus 5.5
parent 4d9e2328cb
commit 6688718bed
19 changed files with 580 additions and 8 deletions
+11 -2
View File
@@ -82,6 +82,10 @@ build/core/host_test: $(CORE_SRC) $(CORE_HDR) ../core/tests/host_test.cpp
mkdir -p build/core
$(CXX) $(CXXFLAGS) -o $@ $(CORE_SRC) ../core/tests/host_test.cpp
build/core/midimap_test: $(CORE_SRC) $(CORE_HDR) ../core/tests/midimap_test.cpp
mkdir -p build/core
$(CXX) $(CXXFLAGS) -o $@ $(CORE_SRC) ../core/tests/midimap_test.cpp
build/core/midi_test: ../core/include/sizzle/Midi.hpp ../core/tests/midi_test.cpp
mkdir -p build/core
$(CXX) $(CXXFLAGS) -o $@ ../core/tests/midi_test.cpp
@@ -98,7 +102,7 @@ zip-test: build/core/zip_test
build/core/zip_test build/core/java.zip build/core/ours.zip
unzip -tq build/core/ours.zip
core-test: build/core/golden_test build/core/sampler_test build/core/engine_test build/core/io_test build/core/midi_test build/core/host_test zip-test
core-test: build/core/golden_test build/core/sampler_test build/core/engine_test build/core/io_test build/core/midi_test build/core/host_test build/core/midimap_test zip-test
@test -f $(GOLDEN)/input.f32 || $(MAKE) --no-print-directory golden
build/core/golden_test $(GOLDEN) $(TYPES)
build/core/sampler_test
@@ -106,6 +110,7 @@ core-test: build/core/golden_test build/core/sampler_test build/core/engine_test
build/core/io_test $(GOLDEN)/songs ../app/src/test/resources/mikroseq
build/core/midi_test
build/core/host_test $(GOLDEN)/songs
build/core/midimap_test ../app/src/test/resources/midimap/filter.szm
# ------------------------------------------------------------------ app
AU_SRC := app/FX/SizzleDeviceAU.mm app/FX/SizzleEffectAU.mm app/FX/SizzleInstrumentAU.mm app/FX/SizzleDeviceAU+Sources.mm
@@ -158,8 +163,12 @@ app/FX/Info.plist app/FX/Components.gen.h: app/components.txt tools/gen_componen
python3 tools/gen_components.py app/components.txt app/FX/Info.plist app/FX/Components.gen.h
project: $(PROJECT)/project.pbxproj
$(PROJECT)/project.pbxproj: app/project.yml app/FX/Info.plist
# The folders too: a directory's time changes when a file is added or removed, and
# the generated project lists every source file.
SRC_DIRS := $(shell find app ../core/src ../core/include -type d -not -path '*.xcodeproj*')
$(PROJECT)/project.pbxproj: app/project.yml app/FX/Info.plist $(SRC_DIRS)
cd app && xcodegen generate --spec project.yml --quiet
touch $@
# Device: build without signing, then ad-hoc sign inside-out (extension first) with
# each target's entitlements. TrollStore re-signs at install and keeps them.