Display gain level values inside a max msp patch, for all tracks of a group
Display gain level values inside a max msp patch, for all tracks of a group
Hello,
I would like to develop a max msp patch audio effect that I use in the devices lane of a group in Ableton.
I would like that max msp device to display the current gain level of all the tracks that are inside the group the max msp device is added.
I would like one displayed number for each track comprising the group.
This patch would be used on multiple groups at the same time. Each instance displaying the gain values for the tracks of the corresponding group.
When I say "gain level", I am not talking about the actual volume of what is being played on each track. But about the current value of the gain slider located on each track, which is by default set to 0db.
I do not need parameter mapping. I just need to display the values in number fields.
Is this at all possible?
Is listings all tracks of the group at all possible?
Thank you for your help
I would like to develop a max msp patch audio effect that I use in the devices lane of a group in Ableton.
I would like that max msp device to display the current gain level of all the tracks that are inside the group the max msp device is added.
I would like one displayed number for each track comprising the group.
This patch would be used on multiple groups at the same time. Each instance displaying the gain values for the tracks of the corresponding group.
When I say "gain level", I am not talking about the actual volume of what is being played on each track. But about the current value of the gain slider located on each track, which is by default set to 0db.
I do not need parameter mapping. I just need to display the values in number fields.
Is this at all possible?
Is listings all tracks of the group at all possible?
Thank you for your help
-
- Posts: 6050
- Joined: Mon May 15, 2006 12:15 pm
Re: Display gain level values inside a max msp patch, for all tracks of a group
Totally doable.
Your goal is to keep the group folded but mix the nested tracks volumes ?
Your goal is to keep the group folded but mix the nested tracks volumes ?
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
Re: Display gain level values inside a max msp patch, for all tracks of a group
Thank you for your help!
Yes my goal is to keep the group folded, but I do not want to be able to adjust the track volumes no.
I just want to display the values of the faders. In a text/number field or in a read-only fader or knobe.
It should not be possible to manually change the volume values from this patch.
I would just like to see the values updated live as they change and as tracks are being added to the group.
Yes and No.Your goal is to keep the group folded but mix the nested tracks volumes ?
Yes my goal is to keep the group folded, but I do not want to be able to adjust the track volumes no.
I just want to display the values of the faders. In a text/number field or in a read-only fader or knobe.
It should not be possible to manually change the volume values from this patch.
I would just like to see the values updated live as they change and as tracks are being added to the group.
-
- Posts: 6050
- Joined: Mon May 15, 2006 12:15 pm
Re: Display gain level values inside a max msp patch, for all tracks of a group
It's, as I said, totally doable.
Are you trying to find some help to code it yourself, or maybe you're in seek of someone to make it for you ?
Your request is a bit unclear.
Are you trying to find some help to code it yourself, or maybe you're in seek of someone to make it for you ?
Your request is a bit unclear.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
Re: Display gain level values inside a max msp patch, for all tracks of a group
Thank you for your help. Yes it was ambiguous indeed.
I have developed some max msp in the past, but not querying the ableton LOM.
For the moment I am trying to list the tracks of the group track the patch is added on (path this_device canonical_parent is this the right start?).
I am not successful.
getchildren returns "ccc: children canonical_parent clip_slots devices group_track mixer_device view"
get group_track returns id 0
Here is a capture of the patch :
I am not trying to develop something generic for the moment, the device is set on a group which contains audio tracks and it will always be like that for the moment.
Am I going in the right direction?
Thanks for your pointers.
I have developed some max msp in the past, but not querying the ableton LOM.
For the moment I am trying to list the tracks of the group track the patch is added on (path this_device canonical_parent is this the right start?).
I am not successful.
getchildren returns "ccc: children canonical_parent clip_slots devices group_track mixer_device view"
get group_track returns id 0
Here is a capture of the patch :
I am not trying to develop something generic for the moment, the device is set on a group which contains audio tracks and it will always be like that for the moment.
Am I going in the right direction?
Thanks for your pointers.
-
- Posts: 6050
- Joined: Mon May 15, 2006 12:15 pm
Re: Display gain level values inside a max msp patch, for all tracks of a group
This is the other way round : your patch would give you the id of the group bus track if this device is placed in a track that is part of a group.
There might be a better way, but what I've done in this case is :
- get the device's track id
- optionnaly check it's indeed a group master track by sending "is_foldable"
- get its path, it will be "live_set tracks x"
- scan a given number of subsequent tracks with uzi, so send "tracks x+1", "tracks x+2", etc... to a live.path
- for each result, check that it's indeed a grouped track and stop the uzi from banging as soon as you've got a negative result
- for each result, get the mixer volume.
Hope it helps !
There might be a better way, but what I've done in this case is :
- get the device's track id
- optionnaly check it's indeed a group master track by sending "is_foldable"
- get its path, it will be "live_set tracks x"
- scan a given number of subsequent tracks with uzi, so send "tracks x+1", "tracks x+2", etc... to a live.path
- for each result, check that it's indeed a grouped track and stop the uzi from banging as soon as you've got a negative result
- for each result, get the mixer volume.
Hope it helps !
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
Re: Display gain level values inside a max msp patch, for all tracks of a group
Thanks for your help.
Is there really no other way to retrieve the list of the tracks in a group other than using uzi and shooting blind by trying N queries?
What about getchildren ?
Is there really no other way to retrieve the list of the tracks in a group other than using uzi and shooting blind by trying N queries?
What about getchildren ?
-
- Posts: 6050
- Joined: Mon May 15, 2006 12:15 pm
Re: Display gain level values inside a max msp patch, for all tracks of a group
It’s not that ugly
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1