How much time used per speaker

Audacity Podcaster Forum.
Forum rules
ImageIf 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
Post Reply
usulpt
Posts: 4
Joined: Wed Oct 17, 2018 2:07 pm
Operating System: Windows 10

How much time used per speaker

Post by usulpt » Wed Oct 17, 2018 2:14 pm

Hello all.

This might have a very easy answer but I really can't find a way to do it in Audacity. I record a three-ender podcast via Discord (using Craig) and I want to know how long does each host speak for during an episode. I have three tracks, one per each host, and I want to be able to measure the time each host is active (i.e. non-silent) so that I can get an average of how much I should, as a moderator, tell the others to shut the hell up :)
I tried Sound Finder and the labels are set to the proper locations:
Screenshot_13.png
Screenshot_13.png (55.35 KiB) Viewed 207 times
but I feel there's gotta be a better way to measure the amount of time between those same labels.

Thanks in advance, people!

steve
Site Admin
Posts: 49028
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How much time used per speaker

Post by steve » Wed Oct 17, 2018 2:50 pm

How about exporting the labels (https://manual.audacityteam.org/man/fil ... ort_labels)
Then import the label text file into a spreadsheet and total them up?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

steve
Site Admin
Posts: 49028
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How much time used per speaker

Post by steve » Wed Oct 17, 2018 2:52 pm

Alternatively, if the gaps between when they are talking is reasonably quiet, you could use "Truncate Silence" (https://manual.audacityteam.org/man/tru ... lence.html) to delete the parts when they are not speaking, and see how long the remaining audio is.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

usulpt
Posts: 4
Joined: Wed Oct 17, 2018 2:07 pm
Operating System: Windows 10

Re: How much time used per speaker

Post by usulpt » Wed Oct 17, 2018 3:53 pm

didn't know you could export labels, that would work fine! I also thought about truncating silence but I thought there might be a one-button answer :)

in any case, you solved my problem, thanks! :)

usulpt
Posts: 4
Joined: Wed Oct 17, 2018 2:07 pm
Operating System: Windows 10

Re: How much time used per speaker

Post by usulpt » Wed Oct 17, 2018 4:29 pm

thanks a lot, steve, the export labels idea worked like a charm! I had already thought of truncating the silence using the same params as the ones used in Sound Finder, but this is even better because I can use a spreadsheet to analyze the data.
now I just have to find a way to automate this, although I can't export the labels using chains. but I'll find a way :)
thanks again!!!

steve
Site Admin
Posts: 49028
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How much time used per speaker

Post by steve » Wed Oct 17, 2018 5:56 pm

I liked the idea of using a spreadsheet as I wrote that suggestion, because of other interesting analysis that could be done.

I think Truncate Silence would have been quicker (but less interesting ;)) and could be done like this:
1) Apply Truncate Silence with:
Threshold (dB) = what you used with Sound Finder
Duration = "Minimum duration" in Sound Finder
Action = "Truncate Detected Silence"
Truncate to = 0

2) Look in the "Selection Toolbar" to find the new length.

3) "Ctrl + Z" to undo the truncation.
usulpt wrote:
Wed Oct 17, 2018 4:29 pm
now I just have to find a way to automate this, although I can't export the labels using chains.
Which version of Audacity?
What operating system?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

usulpt
Posts: 4
Joined: Wed Oct 17, 2018 2:07 pm
Operating System: Windows 10

Re: How much time used per speaker

Post by usulpt » Thu Oct 18, 2018 1:19 pm

my bad, I was using 2.2, just updated to 2.3 and it's there.
Screenshot_14.png
Screenshot_14.png (21.84 KiB) Viewed 188 times
this sequence works, just have to export the labels afterwards and there's a space between the labels of each track. open in excel and voilá. but I'm still going to create a small program in c# to parse the file and automate this further :)

steve
Site Admin
Posts: 49028
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How much time used per speaker

Post by steve » Thu Oct 18, 2018 3:47 pm

Try this plug-in (requires Audacity 2.3.0 or later) for exporting the labels. Unlike the usual "Export Labels", this can be used in batch processing.

Installation instructions: https://manual.audacityteam.org/man/ins ... g_ins.html
export-labels.ny
(1014 Bytes) Downloaded 7 times
The above should work in Audacity 2.3.0 and early 2.3.1 alpha, but one of the new scripting commands has just been updated, so for Audacity 2.3.1 after today, a slightly different version is required:
export-labels2.ny
(948 Bytes) Downloaded 7 times
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply