Longitudinal time code decoding algorithm

Sampled time code to HHMMSSFF

You are now following this Submission

SMPTE 12M time code is the industry standard for synchronization of multiple media sources, such as video and sound. I and colleagues use it to synchronize video recordings of events with measurements (for example, fluoro scope images of people swallowing with physiological measurments of swallowing muscle activity).

To use these programs, record the SMPTE code at 20 kHz, export the (time, value) pairs into a data format that
MATLAB can read, and call the program 'smpte' with the name of this two column matrix. To test, try included SMPTE time sample by doing

load('smpte_code.txt')
smpte(smpte_code)

Also included are a number of m-files for doing arithmetic with HHMMSSFF numbers and conversion to decimal frame number.

Cite As

Malcolm A. MacIver (2026). Longitudinal time code decoding algorithm (https://ch.mathworks.com/matlabcentral/fileexchange/1116-longitudinal-time-code-decoding-algorithm), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: load flow decoupled

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0