Time style attribute

Luigi Castelli's icon

Hi,

does anybody know how I would make a time style attribute exactly like metro uses, which displays the time in different units ? (ms, hh:mm:ss, ticks, bars.beats.units, notevalues, hz, samples, etc...)

Thanks.

- Luigi

Timothy Place's icon

Hi Luigi,

Instead of defining your time-based attribute in the usual way, you use the class_time_addattr() function, as documented in the SDK.

Hope this helps...