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:
co-authored by
Claude Opus 5.5
parent
4d9e2328cb
commit
6688718bed
@@ -19,6 +19,15 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
/// True for a ZIP archive (bundle or backup) rather than text.
|
||||
+ (BOOL)isZipData:(NSData *)data;
|
||||
|
||||
/// Toolbox [slot]'s MIDI mapping as .szm text (io/MidiMapIo: TYPE, NAME, one
|
||||
/// `parameter=CC` line each), or nil for an empty slot.
|
||||
- (nullable NSString *)midiMapTextOfSlot:(NSInteger)slot;
|
||||
/// Replace [slot]'s MIDI mapping with the .szm [text] (a CC another parameter used
|
||||
/// moves here). NO with [error] set when it isn't a mapping or is for another device.
|
||||
- (BOOL)importMidiMapText:(NSString *)text intoSlot:(NSInteger)slot error:(NSError **)error;
|
||||
/// Remove setting [key] from [slot] (a cleared MIDI mapping).
|
||||
- (void)removeValueOfSlot:(NSInteger)slot key:(NSString *)key;
|
||||
|
||||
/// Everything Sizzle keeps: Documents/songs, themes, presets and samples, the
|
||||
/// autosaved song, and [settings] as settings.txt. The open song is autosaved first.
|
||||
- (nullable NSData *)backupDataWithSettings:(NSString *)settings;
|
||||
|
||||
Reference in New Issue
Block a user