Longitudinal time code decoding algorithm

Sampled time code to HHMMSSFF
1.6K Downloads
Updated 4 Feb 2003

No License

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 (2024). Longitudinal time code decoding algorithm (https://www.mathworks.com/matlabcentral/fileexchange/1116-longitudinal-time-code-decoding-algorithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: load flow decoupled

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0