User Tools

Site Tools


macros:example:timecodetracks

This is an old revision of the document!


Example

Timecode - Winamp Tracks

by: Sebastian Beutel, November 2019
published: here
description: example to fire some distinct Winamp tracks based on the actual time
remarks: idea: https://www.facebook.com/groups/1811437589141428/permalink/2489876031297577/

The idea is to fire some Winamp tracks - with a timecoded show per track - at various times (real time of day).

The first idea to put everything into one cuelist did not work as then the timecode stamps would not be in successive order. However it can be done with two separate cuelists which also has some more advantages, e.g. it is very easy to adjust the general showtime (just offset the times in the Masterlist) without tampering with the showlist's times.

In theary it would be possible to do this without any coded macros by using the Winamp fixture but this turns out to be not very reliable (see Alex Del Bondio's remarks. Thus, Winamp is assigned as timecode source, and the tracks are selected with SetStartTime().

Global parameters:

  • Timecode 2 is set to Winamp (for additional safety this is done every time a track is fired)
  • Timecode 3 is set to Clock
  • the master cuelist needs to be set to Timecode source = Clock (playback options)
  • the show cuelist needs to be set to Timecode source = Winamp (playback options)
  • Of course the timer needs to be enabled and proper timestamps be defined

A macro file with track macros for track 1~4 and the pause macro is available here: timecodespecial.xml

functions

affected properties

control structures

Code

filename.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd">
 <macro name="" id="">
    <description></description>
    <sequence>
      <step></step>
     </sequence>
  </macro>
</avolites.macros>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

tbd

How to use it

You could leave a comment if you were logged in.
macros/example/timecodetracks.1574071987.txt.gz · Last modified: 2019/11/18 10:13 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki