Inserting a timestamp into a doc

Version 2.1.3. - Is there a simple way to insert a timestamp - the Audio Position - into a document, or is the only option to type out the numbers at that point in the audio? Urgent reply needed if possible, please. Thanks.

That’s a pretty old version. The current version is 2.3.2 and is available via the Audacity website: https://www.audacityteam.org/download/windows/


You mean the time relative to the start of the track (as shown in the Time Line above the tracks window)?

In Audacity 2.3.2 you can add a label containing the time stamp by clicking on the track at the required place, then run this code in the Nyquist Prompt effect:

;version 4
;type analyze
(let ((time (get '*selection* 'start)))
  (list (list 0 0 (format nil "~a" time))))

This will also work in Audacity 2.1.3, but you have to make a selection in the track, and the label is added at the start of the selection (with the time at the start of the selection).

This code snippet could be converted into an Analyze type plug-in by adding the necessary “headers” (see: https://wiki.audacityteam.org/wiki/Nyquist_Plug-ins_Reference)