Reply To: Generic Sysex Recorder Utility for Ableton Live

Home Forums General Panels, Components, Macros Generic Sysex Recorder Utility for Ableton Live Reply To: Generic Sysex Recorder Utility for Ableton Live

#60009
dasfaker
Keymaster
  • Topics: 80
  • Replies: 793
  • Total: 873
  • ★★★

This is a very basic example. Let’s say you have a MemoryBlock called PatchData you want to save. You have to create a method for “Called when Ctrlr state is saved”

saveValueTree = function(stateData)

stateData:setProperty("RefName", PatchData:toHexString(1), nil)
end

To restore data on project loading, create another method for “Called when Ctrlr is loaded”

loadValueTree = function(stateData)

stringHexData = stateData:getProperty("RefName")
PatchData:loadFromHexString(stringHexData)
end
Ctrlr