MIDI data conundrum - FS, 3rd party plugs, & DAW
Posted: Tue Aug 23, 2016 8:13 am
I have a situation that has me stumped. I'm either programming this project wrong, or not thinking correctly about the workings. Here's the issue:
Making a MIDI plugin with FS. Generally not that difficult ... ok.
Through MIDI, I want to have my plugin talk to another plugin [3rd party]. Again, fairly straight-forward.
Of course, my plugin would have the usual knobs, buttons, sliders ... so the 'PRESET MANAGER' handles the storing and recalling in the DAW data file.
The 3rd party plugin ALSO has parameters, and has ITS settings stored in the DAW fill as well.
The conundrum.
When my plugin loads, it gets all its parameters loaded and set, and sends this out the MIDI. However, the 3rd party-plug is already getting its data settings loaded back from the DAW.
I have [UN-necessary] 'duplication' of data, in a sense. It also cause issues like patch presets of the 3rd party being loaded twice [once from the DAW, and the 2nd time from my plugin]. Not good.
Obviously, I need to keep the MIDI channels open for normal use ... but, how do I stop/prevent this double data going on ?? I can't really post an example about this ... I'm trying to get my thinking/strategy proper.
I have experiment with several ideas ... one being, blocking the MIDI data stream from my plugin ... minor success, but this and other attempts seem like a band-aid approach, and don't get to the actual issue.
I could really use some insight to re-think this situation.
Thanks everyone
Making a MIDI plugin with FS. Generally not that difficult ... ok.
Through MIDI, I want to have my plugin talk to another plugin [3rd party]. Again, fairly straight-forward.
Of course, my plugin would have the usual knobs, buttons, sliders ... so the 'PRESET MANAGER' handles the storing and recalling in the DAW data file.
The 3rd party plugin ALSO has parameters, and has ITS settings stored in the DAW fill as well.
The conundrum.
When my plugin loads, it gets all its parameters loaded and set, and sends this out the MIDI. However, the 3rd party-plug is already getting its data settings loaded back from the DAW.
I have [UN-necessary] 'duplication' of data, in a sense. It also cause issues like patch presets of the 3rd party being loaded twice [once from the DAW, and the 2nd time from my plugin]. Not good.
Obviously, I need to keep the MIDI channels open for normal use ... but, how do I stop/prevent this double data going on ?? I can't really post an example about this ... I'm trying to get my thinking/strategy proper.
I have experiment with several ideas ... one being, blocking the MIDI data stream from my plugin ... minor success, but this and other attempts seem like a band-aid approach, and don't get to the actual issue.
I could really use some insight to re-think this situation.
Thanks everyone