Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "OLA TimeCode"

From wiki.openlighting.org

Jump to: navigation, search
(Created page with "There is very basic support for sending TimeCode data using OLA. At the moment the only output method is ArtNet. From ola/timecode/TimeCode.h , ola/timecode/TimeCode…")
 
(No difference)

Latest revision as of 17:44, 4 November 2011

There is very basic support for sending TimeCode data using OLA. At the moment the only output method is ArtNet.

From ola/timecode/TimeCode.h , ola/timecode/TimeCodeEnums.h & ola/OlaCallbackClient.h

ola::timecode::TimeCode timecode(ola::timecode::TIMECODE_EBU, hours, minutes, seconds, frames);

client.SendTimeCode(
    ola::NewSingleCallback(&TimeCodeDone),
    timecode);

An example program demonstrates how to use the API. To run it use:

$ ola_timecode -f FILM 0:0:0:0