Put Speed, Xfade and Fixture Overlap value for specific playback

This is a place for people to chare the custom macros they have written.

Moderator: Moderators

User avatar
kimwida
Posts: 250
Joined: 05 Aug 2016, 16:26
Location: Seoul

Put Speed, Xfade and Fixture Overlap value for specific playback

Postby kimwida » 04 Feb 2018, 16:56

I am trying to make some macros to change speed, Xfade, Fixture Overlap of some chases.
I found these codes can change them.

ActionScript.SetProperty("Playbacks.Editor.Times.PlaybackSpeed", float:1) ***** Time is BPM not Second *****
ActionScript.SetProperty("Playbacks.Editor.Times.ChaseFixtureOverlap", float:1)
ActionScript.SetProperty("Playbacks.Editor.Times.ChaseXFade", float:1)

I want to set those value to specific user id's chase.
How can I do this??
Last edited by kimwida on 08 Feb 2018, 17:48, edited 2 times in total.
User avatar
Gregory
Posts: 1300
Joined: 14 Dec 2007, 15:25
Location: London, United Kingdom
Contact:

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Postby Gregory » 05 Feb 2018, 14:34

You will need to set the selected playback first before you can set the properties, for example you can do the following to select the chase that is connected to the wheels:

Code: Select all

ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", Chases.ConnectedHandle)

Alternatives include setting the setting the selected playback using its Titan ID:

Code: Select all

ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"chaseHandleID=1601")

By its user number:

Code: Select all

ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"chaseHandleUN=2")

By its location:

Code: Select all

ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,2")
User avatar
kimwida
Posts: 250
Joined: 05 Aug 2016, 16:26
Location: Seoul

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Postby kimwida » 05 Feb 2018, 14:59

Thank you!!!
Especially by location, it's more than I want!!

==========================================================
I just made two simple macros but they don't work.
Two macros change overlap(90%) and xfade(50%) three playbacks which are in playback window page 1 and 61, 62, 63 slot.
Somebody help me!!!

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
  <macro id="ChangeOverlap" name="ChangeOverlap">
    <sequence>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,61")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseFixtureOverlap", 0.9)</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,62")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseFixtureOverlap", 0.9)</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,63")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseFixtureOverlap", 0.9)</step>
    </sequence>
  </macro>
</avolites.macros>



Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
  <macro id="ChangeXfade" name="ChangeXfade">
    <sequence>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,61")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseXFade", 0.5)</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,62")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseXFade", 0.5)</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.SelectedPlayback", handle:"Location=Playbacks,1,63")</step>
   <step pause="0.01">ActionScript.SetProperty("Playbacks.Editor.Times.ChaseXFade", 0.5)</step>
    </sequence>
  </macro>
</avolites.macros>

===========================================================================================
Ok, I found these codes only work with "Connected" playback.
How can I make these code work with NOT "Connected" playback???
User avatar
kimwida
Posts: 250
Joined: 05 Aug 2016, 16:26
Location: Seoul

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Postby kimwida » 06 Feb 2018, 06:36

It works by "its user number"!!!!

:D :D :D :D
User avatar
Gregory
Posts: 1300
Joined: 14 Dec 2007, 15:25
Location: London, United Kingdom
Contact:

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Postby Gregory » 08 Feb 2018, 15:49

Looking at your snippets your locations look incorrect as the first number is the page and the second is the button or fader number. As there are only 10/15 playback faders the number 61 you had is much too large, I assume this was the playback’s user number.
User avatar
kimwida
Posts: 250
Joined: 05 Aug 2016, 16:26
Location: Seoul

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Postby kimwida » 08 Feb 2018, 16:29

I thought it was the location of playback in the Playbacks Window.
User avatar
Gregory
Posts: 1300
Joined: 14 Dec 2007, 15:25
Location: London, United Kingdom
Contact:

Re: Put Speed, Xfade and Fixture Overlap value for specific playback

Postby Gregory » 12 Feb 2018, 13:44

The location Playbacks refers to the main playback faders, PlaybackWindow is for the playback workspace window.

Who is online

Users browsing this forum: No registered users and 24 guests