Repository navigation
FM1Kit 0.3.0
FM1Kit can now back up an FM-1 running M-VAVE's open firmware before it's switched to another firmware.
Added
FM1Updater.backUpOpenFirmware(progress:)backs up open firmware's 16 project slots, the project being edited (with unsaved changes) and its sample bank, through the firmware's project library. Open firmware can only read the project being edited, so each slot is loaded in turn and the workspace is put back afterwards; no slot is saved and the sample bank isn't written.OpenFirmwareBackup.write(to:)saves the backup as the.fm1project and.fm1ssample files M-VAVE's workbench restores, with abackup.jsondescribing them. Open V13's per-slot tuning tables aren't included yet.fm1probe backup FOLDER(with--simulatedand--log FILE).SimulatedFM1answers the project library while running open firmware (Options.projectSlots,workspace,currentSlot,sampleBank).llms.txtandllms-full.txtdescribe the package for language models.
Fixed
SimulatedFM1could ignore the upgrade command from a host that found its loader very quickly after staging, which made an open firmware test fail now and then.
Tested on hardware
V15 → Open V12, then a backup that kept the unsaved tempo of the project being edited; M-VAVE's workbench read the backed-up project and wrote it back to the FM-1. Then V15 over Open V12 in one go, without --resume (24 s), and V15's factory voices restored. See HARDWARE_TESTING.md.
Using it
.package(url: "https://github.com/ocean/FM1Kit.git", .upToNextMinor(from: "0.3.0")),Full changelog: 0.2.0...0.3.0