Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
time-grid.hpp File Reference

To establish a reference scale for quantised time values. More...

Go to the source code of this file.

Description

To establish a reference scale for quantised time values.

Contrary to the continuous Time values (Lumiera internal time scale), quantised time can only take on some discrete values corresponding to blocks or frames, according to the respective timecode format. The act of quantising continuous time values requires the definition of a time grid of such allowed time values. At least, the specification of a time origin and a frame spacing is required, but there might be way more elaborate specifications, e.g. a grid varying over time.

Time grid specifications are integrated into Lumiera's framework for meta assets, automation, configuration and similar metadata.

using time grids

TimeGrid is an interface (ABC), but provides some actual factory functions, which can be used as a convenience shortcut to fabricate the kind of simple time grid used most often.

See also
MetaFactory creating concrete asset::Meta instances
time::Quantiser

Definition in file time-grid.hpp.

Namespaces

namespace  steam
 Steam-Layer implementation namespace root.
 
namespace  steam::asset
 The asset subsystem of the Steam-Layer.
 
namespace  steam::asset::meta
 

Typedefs

using PGrid = lib::P< TimeGrid >
 
using GridID = lib::idi::EntryID< TimeGrid >
 

Classes

class  TimeGrid
 Interface: a grid and scale definition for time quantisation. More...
 
struct  Builder< TimeGrid >