I’m working on a project where I’ve generated an audio file. Now, I need to associate specific timestamps with text data within that file. I’m currently using FLAC, but I’m open to other lossless options. The goal is to have this metadata display automatically in audio players during playback.

The data I want to embed will be about “..this much text...”, and I plan to evenly distribute that across the duration of the file at regular interval timestamps. This is to give users an idea of the stats at that particular point in the session.

I’m hoping to leverage something that already exists, so I don’t have to write my own audio player! I understand that FLAC files support robust metadata, but I’m not sure how to go about embedding this specific type of timestamp-based metadata, while having it be read and displayed automatically by most players. Maybe an embedded cue sheet? Maybe UFID:TXXX?

  • 1
    You might look into embedded lyrics - but that's going to be for mp3/aac. idk about flac, but I never use it myself because Macs hate flac [& ogg]. Nothing supports it.
    – Tetsujin
    Sep 14 at 16:24
  • I’m not what constitutes “most players” in terms of this question. I don’t think I have a player of any kind that displays text along with audio unless you count lyrics in the Spotify app. If I wanted something truly portable along these lines I’d just make a video file instead. Sep 16 at 2:16
  • Sounds like embedded synced lyrics or the TITLE part of an embedded cuesheet will work then. Sep 16 at 6:12


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.