[PD] using PD/GEM to generate timecode overlay

Hans-Christoph Steiner hans at at.or.at
Thu Nov 3 03:14:22 CET 2011

You need to generate a symbol, then Pd won't strip the zeros off.  You can do that with:

[makefilename %02d]

That will give you just hh.  You could do one of those per hh mm ss SSS, then combine them into a list and feed it thru [zexy/list2symbol :]


On Nov 2, 2011, at 9:45 PM, Mikael Fernstrom wrote:

> I need to generate live timecode to overlay on a video of a cinema projection screen.
> So far PD/GEM works fine, but does anybody have a quick-and-easy suggestion for formatting numbers/strings fed into [text2d] to get leading zeros?
> My desired format is hh:mm:ss:SSS
> Cheers!
> /Mikael
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


The arc of history bends towards justice.     - Dr. Martin Luther King, Jr.

More information about the Pd-list mailing list