I am trying to build a patch that syncs subtitles to an audio file. I.e. loads a .txt and bangs each text line at key moments determined by mm:ss of audio file.
But I cannot find an easy way to get elapsed time of a playing audio file. Could someone please guide me? is there an vanilla object or external for this?
I was doing this before with ableton live sending midi to PD through IAC driver on OSX. PD would respond to the midi by loading .txt files and banging the text lines from textfile towards text2d, then gem window.
Any help appreciated.