Forums > Dev

Time style attribute

October 31, 2009 | 7:32 am

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


November 2, 2009 | 9:21 pm

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…


Viewing 2 posts - 1 through 2 (of 2 total)