kunstmusik / blue

Blue - An Integrated Music Environment
https://blue.kunstmusik.com
GNU General Public License v2.0
130 stars 11 forks source link

create Mixerstrip only if BlueMixerOut is set in Instrument #743

Open tjingboem opened 1 year ago

tjingboem commented 1 year ago

If one creates an Instrument, a slider for that Instrument is created automatically. Also for Instruments that do not have an output that goes to the Mixer or an output that uses outs for example instead of blueMixerOut aout1, aout2 Screenshot from 2023-04-03 20-34-33 Would it be possible to only create a Mixer slider when blueMixerOut is used?

Steven: "Yeah could do, just need to add some code around that. The only tricky part is what to do if you're editing instrument code and it goes between valid and invalid, wouldn't want to lose mixer settings if you had things there. A possibility might be to add some configuration to every instrument for mixer outputs (as well as per-instrument MIDI interpretation settings), so Blue would use what is configured vs. trying to determine it from code. That might be a better way to address this, and I could add some backwards compatibility to auto-update instruments."