[comp.music] SMPTE conversion

jn11+@andrew.cmu.edu (Joseph M. Newcomer) (06/15/91)

Given a time expressed in some number of units (in our case, 100usec
ticks), I need a subroutine that will produce a set of integer values
representing the hour, minute, second and frame values represented by
that time, taking into account all of the peculiarities of SMPTE
drop-frame encoding.

Does anyone have such a subroutine and/or know where I can find code for
doing so, before I waste a day or two writing it myself?
					thanks
					joe newcomer

(Background: I'm part of Roger Dannenberg's 'Tactus' distributed
multimedia project at the Information Technology Center at CMU)

scott@bbxsda.UUCP (Scott Amspoker) (06/18/91)

In article <ccKEDyG00VsaA1i2Bv@andrew.cmu.edu> jn11+@andrew.cmu.edu (Joseph M. Newcomer) writes:
>Given a time expressed in some number of units (in our case, 100usec
>ticks), I need a subroutine that will produce a set of integer values
>representing the hour, minute, second and frame values represented by
>that time, taking into account all of the peculiarities of SMPTE
>drop-frame encoding.

Please post any responses.  I too have wondered about the calculation
concerns associated with the SMPTE drop-frame.

-- 
Scott Amspoker                       | Touch the peripheral convex of every
Basis International, Albuquerque, NM | kind, then various kinds of blaming
(505) 345-5232                       | sound can be sent forth.
unmvax.cs.unm.edu!bbx!bbxsda!scott   |    - Instructions for a little box that
                                     |      blurts out obscenities.