etiennedemoulin / midi-mixer

Map a midi controller and communicate with OSC, Midi and Max
1 stars 1 forks source link

[discuss] about vumeter standards #15

Open Nipaleme opened 11 months ago

Nipaleme commented 11 months ago

Hi !

I am currently using midi-mixer with an SSL UF8 for some concerts and felt like it was missing some vumeters informations on the SSL when performing.

I found out that SSL can receive Vumeters information in midi that can be displayed on the SSL with touchout messages on channel 1. As the UF8 has 8 channels it is made in a way to the 0 to 127 values are divided in 8 (16 each) to control vumeter of each track.

For my main audio software i am using Panoramix so i made a patch that parse je json file of midi mixer and keep track of current bank number then route the good OSC vumeters from Panoramix to the SSL UF8 depending on the bank currently selected.

This was really useful, i am wondering how much this vumeter is standardised in the mackie control protocol and if maybe we could natively integrate it in the midi-mixer ? I guess we would need to specify the correct OSC meta for the vumeters messages. (By meta i mean for example in Panoramix vumeters address can look like /track/1/levels/input [value] then /track/1 is the oscPrefix and /levels/inputs is the meta.

Maybe instead of declaring :

{ channel: 1, name: 'midi-1', type: 'volume', oscAddress: '/track/1/gain', default: 0, },

we could declare something like :

{ channel: 1, name: 'midi-1', type: 'volume', oscPrefix: '/track/1', gainMeta: '/gain', vumetersMeta: '/levels/input' default: 0, },

or be fully declarative like :

{ channel: 1, name: 'midi-1', type: 'volume', oscAddressGain: '/track/1/gain', oscAddressVumeter: '/track/1/levels/inputs', default: 0, },

PS: thing to be noted, as a midi track can be connected to a multichannel track it would be nice to prepare that the osc message received can be a list of values and maybe display the average of it ?

I could share with you the max patchs i did.

Cheers !

Nipaleme commented 11 months ago

this discussion about the new json keys should be thought in mind with the futures developments, in the future we will wan to add new keys like 'mute' or 'solo' and give an oscAddress for them also and then choose between the oscPrefix-meta way or full address each time.