Home Forums Macros Variable for getting Mute state of a track

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6223

    Hello,

    I am looking for a variable that I can use to get the mute state of a track. Did not find anything in the documentation. If someone could help me with this it would be great!

    #6224
    Philippe OllivierPhilippe
    Keymaster

    Hi Daniel,
    This one is a bit more tricky ! -)

    It uses the “valueOfReactionNamed” expression.
    You can find one example in the native macro “Track Settings Copy And Paste”.
    There is also some other macro using it in Logelloop, to find them, you can filter with “valueOfReactionNamed”…

    In fact, there is no variable, but another system to get this info.
    Here is an example :

    //*********************** Begin ***************************
    DoRepeat
    MessageMain {“The TrackMute state of TRK1 is : ” + valueOfReactionNamed(“TrackMute_trk1”) }
    Sleep 100
    While true
    //*********************** End ***************************

    This will also work with :

    valueOfReactionNamed(“TrackVolume_trk1”)
    valueOfReactionNamed(“TrackPanRotator_trk1”)
    valueOfReactionNamed(“TrackAuxState_1_trk1”)
    valueOfReactionNamed(“TrackAuxPosition_1_trk1”)
    valueOfReactionNamed(“TrackAuxVolume_1_trk1”)
    valueOfReactionNamed(“TrackMute_trk1”)
    valueOfReactionNamed(“TrackSolo_trk1”)
    valueOfReactionNamed(“TrackPitch_trk1”)
    valueOfReactionNamed(“TrackPitchState_trk1”)
    valueOfReactionNamed(“TrackSpeed_trk1”)
    valueOfReactionNamed(“TrackSpeedDirection_trk1”)
    valueOfReactionNamed(“TrackTime_trk1”)
    valueOfReactionNamed(“TrackTimeState_trk1”)

    And probably some more…
    Having the possibility to find them in a list is on the todo list.
    Best,
    Philippe

    #6225

    Thanks! I will try this

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.