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.

OLA TimeCode

From wiki.openlighting.org

Jump to: navigation, search

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