Integer TimecodeToMA2TCTime( timecodeString, fpsString )

timecodeString is a string. This is a timecode string, i.e. 10.00.03.15
fpsString is a string. This is the timecode base the timecodeString is in, i.e. 24, 25, 29.97, 30 or 100
Returns an integer. This is the value of the timecodeString string in 30ths of a second

This function is used to convert a timecode string into an integer value that the grandMA2 console understands. The integer value is the timecode string as a value of 30ths of a second. The timecode string can have any separator between the hours, minutes, seconds and frames, as long as there is a separator.

Example…

a = FormattedTimeToSeconds("00.00.05.00", "25")

The variable a would be assigned the value 150

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.