Mute Sends

5.66K viewsCSS Feature RequestsSENDS
0

Hello.

Track Send works great, but is there are also way to add mute/unmute specific send?

pedjableton Answered question
0

Hi Pedjableton,

I’ve been looking into the use of a Track Object as an identifier but I think it’s going to be a dead end. The reason is something I barely understand myself atm, something with a hash value that’s being regenerated with every session which means the hash value of the saved Track will be different from that of the reloaded Track. Because of this difference, the Track objects appear as different from each other and can’t be used as identifiers.

Another possible strategy

While looking in the API docs I found 2 interesting Track methods:

  • set_data: lets us store a value to a key inside of the Track object
  • get_data: lets us retrieve that value inside of the Track object based on the key

Meaning we could use these methods to save a track_ID inside each Track object.
Or, we could use it to save all of the last_send_values inside the Track object.

The cool thing about set_data is that, if you don’t forget to save your Ableton Set, the data will persist over different Ableton Sessions.

The Custom Code construction looks like this

  • [track].set_data(key, value)
  • [track].get_data(key, default_value)

get_data will return default_value when the key wasn’t found to be stored in the [track].
So you could make None the default_value and whenever None is returned, you’ll know there was nothing stored with the given key.

Glenn V. Edited answer
You are viewing 1 out of 16 answers, click here to view all answers.