CUE Tools, Convert between different CUE sheet styles |
![]() ![]() |
CUE Tools, Convert between different CUE sheet styles |
Nov 12 2006, 07:48
Post
#1
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
Converts between different audio CUE sheet styles. This includes the audio data which means it can split, join, add silence to fill gaps, or remove gaps where necessary. WAV, FLAC, and WavPack are supported for input and output. Output can be optionally offset to compensate for burner write offset. See the ReadMe.txt file included with the binary for help with the options.
![]() Change Log: CODE 1.9.1 (2007-Sep-19): * Added: Configurable WavPack compression mode and extra mode. * Added: Option to preprocess CUE sheets with filename corrector during normal and batch mode. * Settings and Filename Corrector windows are now centered inside main window when opened. * Updated FLAC library to 1.2.1 and cleaned up callback code. 1.9.0 (2007-Aug-04): * Added: Batch mode. * Added: Option to generate output path based on a custom format string. * Added: Tool to correct the filenames within CUE sheets based on the audio files present in the same folder. * Added: Option to preserve HTOA when outputting gaps appended CUE sheets. * Added: Advanced settings window. Write offset has been moved here, and the FLAC settings can be changed here without having to manually edit the settings file. * Compiled with platform target = x86. Allows FLAC and WavPack DLLs to be loaded in 64-bit Windows but requires the x86 version of the .NET Framework 2.0. 1.8.0 (2007-Jul-30): * Added: Option to offset the output audio. * Fixed: Error when stopping with FLAC/WavPack output. * Now accepts files that don't end on a CD frame boundary, shows warning. * Updated FLAC library to 1.2.0, uses set_compression_level, and changed padding to 8k. 1.7.1 (2007-Jul-19): * Updated FLAC library to 1.1.4. * Updated WavPack library to 4.41. 1.7.0 (2006-Nov-03): * Added: WavPack support, both read and write. 1.6.0 (2006-Nov-01): * Added: Option to output FLAC files. * Fixed: "Index length cannot be 0" error. * Fixed: Couldn't handle CUE sheets with data tracks. * It's now possible to stop/cancel when writing audio files. 1.5.1 (2006-Mar-01): * Fixed: FLAC files weren't being closed completely. * Fixed: Possible problem opening FLAC files with strange characters in the filename. * Optimized FLAC sample copy loop. 1.5.0 (2006-Feb-28): * Added: Support for reading audio from FLAC files. 1.4.3 (2006-Feb-27): * Fixed: Small range of extended ASCII characters were being changed for filename creation. 1.4.2 (2006-Feb-27): * Fixed: Extended ASCII characters weren't working properly. * Rejects CUE sheets with POSTGAP command. 1.4.1 (2006-Feb-26): * Added: Hidden option to write PREGAP instead of INDEX 00 for the first track of a single file CUE sheet (only when the "Create CUE sheet only" option is used). 1.4.0 (2006-Feb-26): * Added: Converts the WAV files as well by splitting, joining, adding silence to fill gaps, or removing gaps where necessary. * Added: Option to place the output file(s) in a new subdirectory. 1.3.0 (2006-Feb-25): * Added: Conversion to the other 3 CUE sheet styles. * Added: Generates audio filenames inside the CUE sheets from the TITLE and PERFORMER information based on user-specifiable patterns and settings. * ReplayGain information is now removed since it doesn't translate between all the CUE sheet styles. 1.2.0 (2006-Feb-22): * Fixes a bug with writing timestamps over an hour. * Option to generate output filename by appending something to the input filename. * Single WAV filename in the output CUE sheet can be customized. 1.1.0 (2006-Feb-21): * Uses the directory information inside the CUE if it can't find the audio file in the same directory as the CUE. * Able to read the length of FLAC files. 1.0.0 (2006-Feb-18): * First release. Download: Binary, Source (incl. FLACDotNet and WavPackDotNet) IMPORTANT: .NET Framework 2.0 (x86) required. If you get a "could not load file or assembly" error message for FLACDotNet or WavPackDotNet, make sure the Visual C++ 2005 SP1 runtime files (x86) are installed. This post has been edited by Moitah: Sep 19 2007, 22:16 |
|
|
|
Jan 5 2007, 21:07
Post
#2
|
|
|
Group: Members Posts: 5 Joined: 25-September 05 Member No.: 24690 |
just what I was looking for
Thanks a lot! bobbel |
|
|
|
Jan 25 2007, 17:59
Post
#3
|
|
|
Group: Members Posts: 59 Joined: 19-December 03 From: Bucks, UK Member No.: 10556 |
Ace stuff, thanks.
-------------------- [SIZE=1][B]Don't forget International Talk Like A Pirate Day! September the 19th![/B][/SIZE]
|
|
|
|
Mar 15 2007, 03:17
Post
#4
|
|
![]() Group: Members Posts: 18 Joined: 31-July 06 Member No.: 33473 |
|
|
|
|
Mar 15 2007, 03:36
Post
#5
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
On a CD each track is required to be a multiple of 588 samples in length. It would be nice if CUE Tools could pad with silence in this case, but thats not what it does right now
|
|
|
|
Mar 15 2007, 03:48
Post
#6
|
|
![]() Group: Members Posts: 18 Joined: 31-July 06 Member No.: 33473 |
|
|
|
|
Mar 15 2007, 04:16
Post
#7
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
You will have to add some silence yourself in a WAV editor (Audition, Audacity, etc). For example, if your file is 8500230 samples long, you'd divide that number by 588 which gives you 14456.173. Round that up to get 14457, multiply that by 588, and now you know the file needs to be 8500716 samples long.
|
|
|
|
Mar 15 2007, 04:45
Post
#8
|
|
![]() Group: Members Posts: 964 Joined: 29-December 01 Member No.: 830 |
You could also attempt one of the following lines in shntool....
To PRE-pad a track with silence, do this (-b for "beginning"): CODE shntool pad -b -o wav <infile> To POST-pad a track with silence, do this (-e for "end"): CODE shntool pad -e -o wav <infile> - M. |
|
|
|
Jul 19 2007, 21:39
Post
#9
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
Released CUE Tools 1.7.1 to update FLAC to 1.1.4, and WavPack to 4.41.
|
|
|
|
Jul 19 2007, 22:00
Post
#10
|
|
|
Group: Members Posts: 1540 Joined: 13-August 03 Member No.: 8353 |
An update!
Btw, are there "hidden settings" for WavPack, too, just like there are for FLAC? |
|
|
|
Jul 19 2007, 22:16
Post
#11
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
Nope, it always uses the default WavPack encoder settings.
|
|
|
|
Jul 22 2007, 17:47
Post
#12
|
|
![]() Group: Members Posts: 222 Joined: 22-April 03 From: Fairfax, VA, USA Member No.: 6127 |
![]() What was the problem here? I was trying to split a FLAC image to single-track WAVs. I got that error no matter what combination of options I had checked (and I tried random stuff just to see). I was able to circumvent the problem by using Foobar to convert the image back to a WAV with cue sheet then use your program to split that file to single tracks. This post has been edited by Societal Eclipse: Jul 22 2007, 17:47 -------------------- "Have you ever been with a woman? It's like death. You moan, you scream and then you start to beg for mercy, for salvation"
|
|
|
|
Jul 22 2007, 19:17
Post
#13
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
First make sure FLACDotNet.dll is in the same folder as CUETools.exe. I think it is though, otherwise the error message would be different. The problem is probably that you don't have the latest Visual C++ runtimes installed, try installing them and let me know if that fixes everything.
|
|
|
|
Jul 22 2007, 23:29
Post
#14
|
|
![]() Group: Members Posts: 222 Joined: 22-April 03 From: Fairfax, VA, USA Member No.: 6127 |
The problem is probably that you don't have the latest Visual C++ runtimes installed, try installing them and let me know if that fixes everything. That was it. -------------------- "Have you ever been with a woman? It's like death. You moan, you scream and then you start to beg for mercy, for salvation"
|
|
|
|
Jul 31 2007, 04:35
Post
#15
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
CUE Tools 1.8.0 is released. It adds a feature I've wanted for a while: the option to offset the audio output. The changes necessary for that also made it easy to work with files that don't end on CD frame boundaries, so you won't get an error for that anymore (it shows a warning when it's done though). Also updated FLAC to 1.2.0.
|
|
|
|
Jul 31 2007, 05:02
Post
#16
|
|
![]() Group: Super Moderator Posts: 9269 Joined: 1-April 04 Member No.: 13167 |
Very nice.
What would be cool is the ability to see if a track that doesn't end on a frame boundary has the potential of containing 4608 additional null samples and give you the option to remove them. This is actually not that uncommon of a mistake that people make when ripping to lossless using EAC. ...maybe I'll install .NET on my computer for this one! -------------------- Everything sounds the same until it is proven otherwise.
|
|
|
|
Jul 31 2007, 05:17
Post
#17
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
What would be cool is the ability to see if a track that doesn't end on a frame boundary has the potential of containing 4608 additional null samples and give you the option to remove them. This is actually not that uncommon of a mistake that people make when ripping to lossless using EAC. That should be pretty easy, I might do that soon. |
|
|
|
Jul 31 2007, 05:36
Post
#18
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
Here's a quick build I did with that feature. It checks if the length of the audio file % (mod) 588 is 492 (because 4608 % 588 = 492). If so, it ignores the last 4608 samples of that file. It does not check to make sure those samples are actually silent. It shows a warning at the end to let you know it ignored some samples.
http://www.moitah.net/misc/CUETools-1_8_0-Rem4608.zip I will think about putting it in a proper build (1.8.1 probably) but I think I'd want it to check the samples to make sure they're silent and of course have an option to disable it altogether. |
|
|
|
Aug 1 2007, 15:21
Post
#19
|
|
|
Group: Members Posts: 1540 Joined: 13-August 03 Member No.: 8353 |
QUOTE Added: Option to offset the output audio. Hey, these latest feature additions are quite handy! |
|
|
|
Aug 5 2007, 05:01
Post
#20
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
1.9.0 released, lots of new stuff, see the change log. The readme file explains the variables you can use in the output path format string.
The code to remove 4608 extra samples didn't make it to this release, and the preserve HTOA setting writes the file even if it's all silence. This post has been edited by Moitah: Aug 5 2007, 05:05 |
|
|
|
Aug 5 2007, 16:15
Post
#21
|
|
|
Group: Members Posts: 1540 Joined: 13-August 03 Member No.: 8353 |
...even more good features! Is it planned to add advanced encoder settings for all three codecs?
Then I just wanted to tell you that the offset correction in combination with the batch mode really works well for correcting old rips where I didn't set this correction value. Validating with ARCue.pl shows those CDs which are present in the database to be correct now. EDIT: For those who are wondering how to do it correctly - in case you have left the offset correction value set to "0" and want to correct the rip now, you just have to use the offset correction value for the drive you've used and add it in the advanced settings window of CUETools. In case you've dumped the old drive you can look the correction value up in this list: http://www.accuraterip.com/driveoffsets.htm The dropbox that corrects the file paths is also very handy. It might have been smarter to also combine it with the batch mode, maybe enabling it via a tickbox in the advanced settings or the folder selection dialog (if that is possible), but maybe that's already planned for one of the next releases? Anyway using Window's search and then dragging all the cue sheets from the search result onto the dropbox also works, well! Good work! This post has been edited by Fandango: Aug 5 2007, 16:19 |
|
|
|
Aug 5 2007, 17:50
Post
#22
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
@Fandango: Glad everything is working well for you
QUOTE Is it planned to add advanced encoder settings for all three codecs? It would be nice if the WavPack compression level was configurable. I don't use WavPack so I was lazy with that QUOTE It might have been smarter to also combine it with the batch mode, maybe enabling it via a tickbox in the advanced settings or the folder selection dialog (if that is possible) Yeah I should have an option to preprocess CUE sheets with the filename corrector before conversion, batch mode or not. We'll see... QUOTE Anyway using Window's search and then dragging all the cue sheets from the search result onto the dropbox also works, well! Oh yeah, I meant to add a note that you could drop the search results for *.cue to correct a bunch at once, I'll add that next version. This post has been edited by Moitah: Aug 5 2007, 17:50 |
|
|
|
Sep 12 2007, 00:05
Post
#23
|
|
|
Group: Members Posts: 11 Joined: 22-August 07 Member No.: 46414 |
Any chance you can add the following features? I need this for a project I'm doing for my sister...
1. .APE input support 2. Ability to automatically delete the original input file during batch operation - i.e. I will run out of disk space if I let this run through the whole collection making the data twice as large. Any workarounds to make the above work now? Bill |
|
|
|
Sep 12 2007, 17:32
Post
#24
|
|
|
Group: Members Posts: 22 Joined: 7-September 07 Member No.: 46866 |
Hello there. Why I am getting "External component has thrown an exception" error every time i hit convert button ???
EDIT: OK I tried some earlier versions and seems like 1.7.1 is latest one which is working. 1.8.0 and 1.9.0 throws that error. I have win xp sp2 fully updated and NET 1.1, 2.0 and 3.0 installed and updated. This post has been edited by saltaslt: Sep 18 2007, 17:50 |
|
|
|
Sep 19 2007, 00:07
Post
#25
|
|
![]() Group: Members Posts: 193 Joined: 5-June 02 From: Virginia Beach, VA Member No.: 2227 |
Hello there. Why I am getting "External component has thrown an exception" error every time i hit convert button ??? EDIT: OK I tried some earlier versions and seems like 1.7.1 is latest one which is working. 1.8.0 and 1.9.0 throws that error. I have win xp sp2 fully updated and NET 1.1, 2.0 and 3.0 installed and updated. I'm not sure, thats pretty strange. What format are the input audio files (WAV, FLAC, WavPack), and what format have you set for the output audio files? Also if you have some files in another format on your drive, maybe you could test them out as well (e.g. if you get an error for FLAC input files, see if it happens with WavPack files as well), and see if changing the output format has any effect. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 26th May 2013 - 06:06 |