Measuring short times in decimal seconds

Effects, Recipes, Interfacing with other software, etc.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Measuring short times in decimal seconds

Post by steve » Wed Oct 04, 2017 8:20 am

Jona wrote:your plugin gives the duration out to 5 decimal points, but not the objective start and stop time. Is there a way to get this information from your plugin?
Try this version:
show-selection-time.ny
(899 Bytes) Downloaded 52 times
Note that these lines in the file configure how the times are displayed. I think it is fairly obvious how to modify it if you need to.

Code: Select all

;; Configuration settings:
(setf multiplier 1000)  ;multiply by 1000 for time in ms
(setf units "ms")       ;time units as appears in output string
(setf decimal-places 1) ;number of decimal places
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Jona
Posts: 6
Joined: Wed Sep 20, 2017 3:57 pm
Operating System: Windows 7

Re: Measuring short times in decimal seconds

Post by Jona » Wed Oct 11, 2017 10:12 pm

Awesome, this is perfect Steve. Thanks so much!

Post Reply