User Tools

Site Tools


macros:example:timecodetracks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:example:timecodetracks [2019/11/18 12:10] – [How to use it] icke_siegenmacros:example:timecodetracks [2020/03/29 12:02] (current) – [Explanation] icke_siegen
Line 24: Line 24:
  
 A macro file with track macros for track 1~4 and the pause macro is available here: {{ :macros:example:timecodespecial.xml |}} A macro file with track macros for track 1~4 and the pause macro is available here: {{ :macros:example:timecodespecial.xml |}}
 +
 +//There are similar functions and properties in the namespaces [[macros:namespace:timecode.timecodeone|]], [[macros:namespace:timecode.timecodetwo|]], [[macros:namespace:timecode.timecodethree|]] and [[macros:namespace:timecode.timecodefour|]]. Use the functions for the particular timecode you want to use.//
  
 ==== functions ==== ==== functions ====
   * [[:macros:function:actionscript.setproperty.enum]]   * [[:macros:function:actionscript.setproperty.enum]]
-  * [[:macros:function:Timecode.TimecodeX.SetSource]] +  * [[:macros:function:Timecode.TimecodeOne.SetSource]] 
-  * [[:macros:function:Timecode.TimecodeX.SetStartTime]]+  * [[:macros:function:Timecode.TimecodeOne.SetStartTime]]
   * [[:macros:function:Timecode.MakeTimecodeTime]]   * [[:macros:function:Timecode.MakeTimecodeTime]]
   * [[:macros:function:Math.IsEqual]]   * [[:macros:function:Math.IsEqual]]
-  * [[:macros:function:Timecode.TimecodeX.Reset]] +  * [[:macros:function:Timecode.TimecodeOne.Reset]] 
-  * [[:macros:function:Timecode.TimecodeX.Play]] +  * [[:macros:function:Timecode.TimecodeOne.Play]] 
-  * [[:macros:function:Timecode.TimecodeX.Pause]]+  * [[:macros:function:Timecode.TimecodeOne.Pause]]
  
  
 ==== affected properties ==== ==== affected properties ====
-  * [[:macros:property:Timecode.TimecodeX.Source]] +  * [[:macros:property:Timecode.TimecodeOne.Source]] 
-  * [[:macros:property:Timecode.TimecodeX.IsControlAllowed]]+  * [[:macros:property:Timecode.TimecodeOne.IsControlAllowed]]
  
 ==== control structures ==== ==== control structures ====
Line 83: Line 85:
   * ''Timecode.TimecodeTwo.SetSource(...)'' activates this as actual timecode source (the pause is required to avoid race conditions here)   * ''Timecode.TimecodeTwo.SetSource(...)'' activates this as actual timecode source (the pause is required to avoid race conditions here)
   * ''Timecode.TimecodeTwo.SetStartTime(...)'' sets a specific start time   * ''Timecode.TimecodeTwo.SetStartTime(...)'' sets a specific start time
-    * the time itself needs to be of [[macros:type:TimecodeTime|type TimecodeTime]] whicch is created with ''Timecode.MakeTimecodeTime(1, 00, 00, 00, false, 100)'' (thus, for more tracks, change this to (1, 00, 00, 00, false, 100),  (2, 00, 00, 00, false, 100) - see http://forum.avolites.com/viewtopic.php?f=20&t=6298+    * the time itself needs to be of [[macros:type:object:TimecodeTime|type TimecodeTime]] whicch is created with ''Timecode.MakeTimecodeTime(1, 00, 00, 00, false, 100)'' (thus, for more tracks, change this to (1, 00, 00, 00, false, 100),  (2, 00, 00, 00, false, 100) - see http://forum.avolites.com/viewtopic.php?f=20&t=6298
   * the next two functions - ''Timecode.TimecodeTwo.Reset()'' to rewind the track to the given time, and ''Timecode.TimecodeTwo.Play()'' to actually start the timecode, are only applicable if the timecode source can be controlled (i.e. not Clock, MIDI or SMPTE), and are only executed if the flag ''Timecode.TimecodeTwo.IsControlAllowed'' is set to true   * the next two functions - ''Timecode.TimecodeTwo.Reset()'' to rewind the track to the given time, and ''Timecode.TimecodeTwo.Play()'' to actually start the timecode, are only applicable if the timecode source can be controlled (i.e. not Clock, MIDI or SMPTE), and are only executed if the flag ''Timecode.TimecodeTwo.IsControlAllowed'' is set to true
  
macros/example/timecodetracks.1574079053.txt.gz · Last modified: 2019/11/18 12:10 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki