Saving MIDI CC assignments in user presets?
-
@dannytaurus If by inactive you mean hidden UI, then Midi is still reaching them
-
@ustk A DAW will only route incoming live controller messages to the active or record-armed track(s), surely?
So if I have 3 different synths all set to respond to mod wheel > filter, then only the active one will respond when I turn the mod wheel, right?
Regardless of whether the synth UI is visible or hidden. It's based on active tracks, right?
The other 2 'unselected', 'inactive', 'not record-armed' synths won't respond to live controller data
Otherwise there would be chaos! Unless that's what you wanted, and armed ALL tracks for record!

-
@dannytaurus Oh yes absolutely, active in the sense of "armed track", then 100% yes

-
@ustk Yes, 'active' is too ambiguous a word to have used in the first place. My bad.
-
@dannytaurus The honour of badness is mine

-
@ustk said in Saving MIDI CC assignments in user presets?:
So the working solution is
I think there's more to it, at least if you're saving/loading it from a file.
setUpdateCallback is triggered before
on initandsetPreCallbackis only triggered when loading a preset.So we need it to be that when we make a change to automation we save the the object to a file.
Then at init we load that object from the file usingsetAutomationDataFromObject
And during preload we pass the object into preset data.