Community Forums Archive

Go Back

Subject: Detect CD tracks with minimum track length
Posted by: Semajnosk
Date: 2/6/2015 11:31:48 AM

Hi all,

Not familiar with scripting myself but wanted to see if someone on these forums might be able to assist. There is a script that comes with SF labeled 'Detect CD tracks' which almost does what I need. This script SEEMS to search for a specific volume threshold for a set period of time (i.e. half a second below -60 dB) to trigger the next track break.

I'm not even 100% that's how it works but that's my assumption of it tinkering around. What I'm looking for is a script that does pretty much the same thing only being able to set the minimum length of each track. (i.e. after 3 minutes script triggers search for half second below -60). In a perfect world being able to adjust the trigger thresholds would be amazing but I'm really only shooting for the minimum length for now.

This doesn't sound easy but I'm curious if it's even possible. I know many SF scripts can be modified (which I've done to a few with great success so far) but Detect CD tracks isn't one of them from what I can tell. Any help would be very much appreciated.

Thanks,
James

Message last edited on 2/6/2015 11:34:01 AM by Semajnosk.
Subject: RE: Detect CD tracks with minimum track length
Reply by: roblesinge
Date: 2/10/2015 6:58:08 AM

I think this is possible. I tried to write something similar at one point. You would need to walk through audio selections of the target file starting at three minutes going in 500 ms increments. The RMS level of each selection could then be checked against a variable threshold. Are you only looking to do this once per file? Or, is it a case where you have a long file with several stops and starts that you want to mark?

-Rob.

Subject: RE: Detect CD tracks with minimum track length
Reply by: Semajnosk
Date: 2/10/2015 10:04:13 AM

This script would be for spoken word CD's. Looking to have approx. 78 minute files (basically CD length or under) with approximately 3 to 6 minute tracks at (more or less) logical points throguhout. The logical points are almost always in the narration's delivery where a section/paragraph break naturally receives a longer pause than a sentence mid-paragraph.

Also, not sure if it makes life easier but the type of mark doesn't really matter either. Whether SF throws in a mark, region or track at the trigger points I mean. Whichever would be easiest to work with if there's a difference.

Thanks for the reply!

Go Back