convert label to cue sheet, and cue sheet to label

Audio software developers forum.
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
grimblefritz
Posts: 23
Joined: Mon Jun 27, 2011 4:53 pm
Operating System: Please select

convert label to cue sheet, and cue sheet to label

Post by grimblefritz » Mon Jun 27, 2011 5:28 pm

I have created a web tool to:

-- convert labels to cue sheets
-- convert cue sheets to labels

See the Wiki at http://wiki.audacityteam.org/wiki/Cue_sheets#webtool

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

Re: convert label to cue sheet, and cue sheet to label

Post by steve » Mon Jun 27, 2011 8:43 pm

Nice work grimblefritz.
It may be worth noting somewhere in your documentation that for Audacity 1.3 label tracks, if region labels are used, then only the start point of the region label is used for generating the cue sheet.
Learn more about Nyquist programming at audionyq.com

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: convert label to cue sheet, and cue sheet to label

Post by Gale Andrews » Tue Sep 06, 2011 4:12 pm

Apologies if I am being stupid, but if I paste contents of a simple Audacity 1.3.13 Beta labels file thus:

Code: Select all

2.232558	2.232558	a
10.534884	10.534884	b
into http://grimblefritz.com/audacity/lbl2cue.php ("Convert Audacity labels to CUE sheet") then press "Convert", there is no output or error message in the screen that appears.

Tested in Firefox 5 and IE8 on Win XP.

For a possible enhancement, how about letting users select a text file from the computer for conversion?



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

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

Re: convert label to cue sheet, and cue sheet to label

Post by steve » Tue Sep 06, 2011 5:17 pm

Unfortunately it appears to be no longer functional.
Learn more about Nyquist programming at audionyq.com

grimblefritz
Posts: 23
Joined: Mon Jun 27, 2011 4:53 pm
Operating System: Please select

Re: convert label to cue sheet, and cue sheet to label

Post by grimblefritz » Sun Sep 18, 2011 5:42 am

Sorry, everyone. I took on a project that my old web host couldn't handle, so I had to change hosting companies. In moving things over, I missed a configuration setting in these tools.

Everything should be working again.

I had considered adding file upload, but there haven't been that many users. It's on the list, but to be honest it's not high on the list.

grimblefritz
Posts: 23
Joined: Mon Jun 27, 2011 4:53 pm
Operating System: Please select

Re: convert label to cue sheet, and cue sheet to label

Post by grimblefritz » Sun Sep 18, 2011 5:46 am

Also, I thought I had subscribed to this topic, but that's what I get for doing my own thinking!

NOW I'm subscribed to it, so I should be quicker getting back to folks on comments here.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: convert label to cue sheet, and cue sheet to label

Post by Gale Andrews » Sun Sep 18, 2011 8:01 pm

Thanks for fixing it.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

milesvs
Posts: 9
Joined: Sat Aug 14, 2021 7:03 pm
Operating System: Windows 10

Re: convert label to cue sheet, and cue sheet to label

Post by milesvs » Sat Aug 14, 2021 7:22 pm

Came upon this tool, very helpful for my situation!
I'm creating DJ mixes (with Pioneer Rekordbox 6), to master the recording I edit in in Audacity.

Unfortunately there seems to be a problem when there are also hours in the cue sheet.

An example cue sheet I get:

Code: Select all

REM DATE 2021-08-14 04:27 PM
REM RECORDED_BY "rekordbox-dj"
TITLE "My Mix"
PERFORMER "DJ Me"
FILE "My Mixfile.wav" WAVE
	TRACK 01 AUDIO
		TITLE "Song One"
		PERFORMER "Artist One"
		FILE "c:/path/to/artist1-song1.mp3" WAVE
		INDEX 01 00:00:00:00
	TRACK 02 AUDIO
		TITLE "Song Two"
		PERFORMER "Artist Two"
		FILE "c:/path/to/artist2-song2.mp3" WAVE		
		INDEX 01 00:22:41:00
	TRACK 03 AUDIO
		TITLE "Song Three"
		PERFORMER "Artist Three"
		FILE "c:/path/to/artist3-song3.mp3" WAVE
		INDEX 01 01:08:15
I read the order of the tags should be: FILE, TITLE and INDEX
So I changed the cuesheet to:

Code: Select all

REM DATE 2021-08-14 04:27 PM
REM RECORDED_BY "rekordbox-dj"
TITLE "My Mix"
PERFORMER "DJ Me"
FILE "My Mixfile.wav" WAVE
	TRACK 01 AUDIO
		FILE "c:/path/to/artist1-song1.mp3" WAVE
		TITLE "Song One"
		PERFORMER "Artist One"
		INDEX 01 00:00:00:00
	TRACK 02 AUDIO
		FILE "c:/path/to/artist2-song2.mp3" WAVE
		TITLE "Song Two"
		PERFORMER "Artist Two"
		INDEX 01 00:22:41:00
	TRACK 03 AUDIO
		FILE "c:/path/to/artist3-song3.mp3" WAVE
		TITLE "Song Three"
		PERFORMER "Artist Three"
		INDEX 01 01:08:15
When I convert this in the tool I get:

Code: Select all

0.000000	0.000000	Song One
22.546667	22.546667	Song Two
68.200000	68.200000	Song Three
Now look at Song Two: according to the result this starts at the 22nd SECOND. This should be the 22nd MINUTE though.
When I remove the leading string "00:" from the cue sheet it does work correctly.

Can this be fixed?
OR can I find the source PHP somewhere, so I can try to fix (and host) it myself?

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

Re: convert label to cue sheet, and cue sheet to label

Post by steve » Sat Aug 14, 2021 8:16 pm

milesvs wrote:
Sat Aug 14, 2021 7:22 pm
When I remove the leading string "00:" from the cue sheet it does work correctly.
According to this page: https://en.wikipedia.org/wiki/Cue_sheet_%28computing%29 the time index should be written as
mm:ss:ff (minute-second-frame) format.
Learn more about Nyquist programming at audionyq.com

milesvs
Posts: 9
Joined: Sat Aug 14, 2021 7:03 pm
Operating System: Windows 10

Re: convert label to cue sheet, and cue sheet to label

Post by milesvs » Sat Aug 14, 2021 9:19 pm

steve wrote:
Sat Aug 14, 2021 8:16 pm
milesvs wrote:
Sat Aug 14, 2021 7:22 pm
When I remove the leading string "00:" from the cue sheet it does work correctly.
According to this page: https://en.wikipedia.org/wiki/Cue_sheet_%28computing%29 the time index should be written as
mm:ss:ff (minute-second-frame) format.
Thanks. Appears indeed Rekordbox doesn't follow the standard :(.
Anyway, unfortunately the output of Rekordbox is hard to alter. (The code of) this tool is probably more within reach :). If there is a source file of the converter I can rewrite it to a "Rekordbox Cuesheet to Audacity Label Converter" (credits included of course).

Post Reply