Last edited by logos34; April 30th, 2009 at 08:37 PM.
I just tried out mp3splt...works fine for me:
user@ubuntu:~/music2/1-new/Various-Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski$ mp3splt -c Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.cue Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.mp3
Mp3Splt 2.1 (2004/Sep/28) by Matteo Trotta <matteo.trotta@lib.unimib.it>
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Warning: found Xing or Info header, mp3 may be VBR. Switching to Frame mode...
MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 71m.33s
Reading informations from Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.cue...
Tracks: 16
Artist: Various
Album: Gloria Cheng Piano Music of S
6 % -> Various - 01 - Stucky Four Album Leaves Contemplativo, tempo rubato.mp3... OK
12 % -> Various - 02 - Stucky Four Album Leaves Meccanico.mp3... OK
18 % -> Various - 03 - Stucky Four Album Leaves Sereno, luminoso.mp3... OK
25 % -> Various - 04 - Stucky Four Album Leaves Presto giocoso.mp3... OK
31 % -> Various - 05 - Lutoslawski Sonata for Piano Allegro.mp3... OK
37 % -> Various - 06 - Lutoslawski Sonata for Piano Adagio ma non troppo.mp3... OK
43 % -> Various - 07 - Lutoslawski Sonata for Piano Andante - Allegretto.mp3... OK
50 % -> Various - 08 - Salonen Yta II.mp3... OK
56 % -> Various - 09 - Salonen Three Preludes Libellula Meccanica.mp3... OK
62 % -> Various - 10 - Salonen Three Preludes Chorale.mp3... OK
68 % -> Various - 11 - Salonen Three Preludes Invenzione.mp3... OK
75 % -> Various - 12 - Salonen Dichotomie Mecanisme.mp3... OK
81 % -> Various - 13 - Salonen Dichotomie Organisme.mp3... OK
87 % -> Various - 14 - Stucky Three Little Variations for David Giocoso.mp3... OK
93 % -> Various - 15 - Stucky Three Little Variations for David Sognando.mp3... OK
100 % -> Various - 16 - Stucky Three Little Variations for David Molto vivo.mp3... OK (EOF)
All files successfully splitted! Processed 164359 frames - Sync errors: 0
+-----------------------------------------------------------------------------+
|NOTE: When you use cddb/cue, splitted files might be not very precise due to
|1) Who extracts CD tracks might use "Remove silence" option. This means that |
| the large mp3 file is shorter than CD Total time. Never use this option. |
|2) Who burns CD might add extra pause seconds between tracks. Never do it. |
|3) Encoders might add some padding frames so that file is longer than CD. |
|4) There are several entries of the same cd on CDDB, find the best for yours.|
| Usually you can find the correct splitpoints for your mp3, so good luck! |
+-----------------------------------------------------------------------------+
| TRY TO ADJUST SPLITS POINT WITH -a OPTION. Read man page for more details! |
+-----------------------------------------------------------------------------+
Thanks Logos34 for the interest.
I honestly think I must be missing something. How do you "just grab the .cue file and click convert" with K3b. I've been fiddling with it and just don't see how. I'd very much appreciate if you can tell me exactly how you do that.
On the other -as weird as it might be- I don't use MP3 files. They seem to be better supported and everything but I only use lossless formats. Please, get back to me (or anyone else) as I'm sure there must be a way (by the waym, I know you can i use Audacity manually but really is a lot of hassle.
here, try it this way:
in your file browser right click on the .cue file>open with>k3b
in k3b:
>Project>Convert tracks
if option not there, maybe you're missing a library or plugin
sudo apt-get install libk3b2-extracodecs sox
The only drawback is that I think it will split and re-encode to mp3 (the general rule is to avoid lossy-to-lossy conversion, but the diff probably won't be noticeable. Besides, nothing else seems to work!)
mp3splt, if only you could get it to work, is the ideal way (splits without decoding/encoding)
Last edited by logos34; April 30th, 2009 at 10:26 PM.
K3b doesn't give me the option to convert tracks even after installing the package you indicated, I don't really know what is going on. Just for the record i'm using version 3.5.10. On the other hand as I said I don't use lossy formats, not for classical music anyway, so an output in mp3 would't be much use.
I do belive cuebreakpoints is probably the answer. I wonder if you have some APE or FLAC image file that you could have a go to with cuebreakpoits, to see if it works for you. If it does maybe you could post what you typed in the terminal so i can make sense of it.
3.5.1o here too...hmm, maybe k3b needs ffmpeg for convert, that's about all that's left :/ dunno
anyway, try this way:
here's what I end up with (unfortunately it doesn't print out track names):shnsplit -o wav -f sample.cue sample.wav
lemme see if there's another way to get track titlesuser@ubuntu:~/music2/1-new/Various-Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski$ shnsplit -o wav -f Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.cue Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav
shnsplit: warning: discarding initial zero-valued split point
shnsplit: warning: file 16 will not be cut on a sector boundary
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track01.wav] (2:56.25) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track02.wav] (1:12.72) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track03.wav] (2:05.18) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track04.wav] (1:38.61) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track05.wav] (10:31.34) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track06.wav] (7:40.37) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track07.wav] (8:30.52) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track08.wav] (6:54.54) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track09.wav] (3:29.70) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track10.wav] (3:03.30) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track11.wav] (2:34.66) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track12.wav] (9:23.04) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track13.wav] (8:00.00) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track14.wav] (0:55.49) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track15.wav] (1:52.04) : 100% OK
Splitting [Gloria_Cheng_Piano_Music_of_Salonen,_Stucky,_Lutos lawski.wav] (71:33.34) --> [split-track16.wav] (0:43.58) : 100% OK
logos 34:
You are a star mate,it did work indeed, and even if it doesn't keep the track names is a huge step forward for me. I still need to see if it works the same way with compressed files (other wise I'll have to convert them to wav and back again).
I'll have a look at this tomorrow and let you know. I'll give this as sorted anyway.
Good effort. Thanks a lot
How on hearth you mark this as solved? I can't find it....
can't mark threads 'solved' anymore...they removed that option (?)
I've never figured out the direct cuebreakpoints command--it converts the flac into individual wavs (??):
using this cue sheet:
Ga_Ga_Ga_Ga_Ga.cue.txt
I get:
why is it outputting wav? hmm...$ cuebreakpoints Ga_Ga_Ga_Ga_Ga.cue | shnsplit Ga_Ga_Ga_Ga_Ga.flac
bad character 'F'
bad character 'L'
bad character 'A'
bad character 'C'
4: syntax error
4: no file specified for track
7: no file specified for track
10: no file specified for track
13: no file specified for track
16: no file specified for track
19: no file specified for track
22: no file specified for track
25: no file specified for track
28: no file specified for track
31: no file specified for track
Splitting [Ga_Ga_Ga_Ga_Ga.flac] (36:33.22) --> [split-track01.wav] (3:55.68) : 100% OK
Splitting [Ga_Ga_Ga_Ga_Ga.flac] (36:33.22) --> [split-track02.wav] (3:34.55) : 100% OK
Splitting [Ga_Ga_Ga_Ga_Ga.flac] (36:33.22) --> [split-track03.wav] (3:08.48) : 100% OK
Splitting [Ga_Ga_Ga_Ga_Ga.flac] (36:33.22) --> [split-track04.wav] (3:36.46) : 100% OK
Splitting [Ga_Ga_Ga_Ga_Ga.flac] (36:33.22) --> [split-track05.wav] (3:30.64) : 100% OK
Splitting [Ga_Ga_Ga_Ga_Ga.flac] (36:33.22) --> [split-track06.wav] (3:39.68) : 100% OK
Splitting [Ga_Ga_Ga_Ga_Ga.flac] (36:33.22) --> [split-track07.wav] (3:42.24) : 100% OK
Splitting [Ga_Ga_Ga_Ga_Ga.flac] (36:33.22) --> [split-track08.wav] (3:03.51) : 100% OK
Splitting [Ga_Ga_Ga_Ga_Ga.flac] (36:33.22) --> [split-track09.wav] (4:54.56) : 100% OK
Splitting [Ga_Ga_Ga_Ga_Ga.flac] (36:33.22) --> [split-track10.wav] (3:25.67) : 100% OK
Here's a cheat sheet I compiled way back to help with ape to flac convert:
maybe with a few tweaks you can get it to work like you want
ape-convert.txt
hope that helps
no wonder it was complaining--typo in the .cue.
format should be
'FILE "sample.flac" WAVE'
not
'FILE "sample.flac" FLAC'
duh
So here's an .ape image split with the cuebreakpoints command (same result - no titles):
using this .cue sheet:
PERFORMER "Debussy - CO - Boulez"
TITLE "Debussy - La Mer, Nocturnes"
FILE "CDimage ape normal.ape" WAVE
TRACK 01 AUDIO
TITLE "Debussy - Nocturnes - I. Nuages"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "II. Fetes"
INDEX 01 06:15:00
TRACK 03 AUDIO
TITLE "III. Sirenes [with Cleveland Orchestra Chorus]"
INDEX 01 12:46:00
...user@ubuntu:~$ cd Debussy\ -\ La\ Mer\ -\ Nocturnes\ -\ Boulez/
user@ubuntu:~/Debussy - La Mer - Nocturnes - Boulez$ ls
CDimage ape normal.ape CDimage ape normal (cue).cue
user@ubuntu:~/Debussy - La Mer - Nocturnes - Boulez$ cuebreakpoints CDimage\ ape\ normal\ (cue).cue | shnsplit -o flac CDimage\ ape\ normal.ape
bash: syntax error near unexpected token `('
user@ubuntu:~/Debussy - La Mer - Nocturnes - Boulez$ cuebreakpoints "CDimage ape normal (cue).cue" | shnsplit -o flac CDimage\ ape\ normal.ape
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track01.flac] (6:15.00) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track02.flac] (6:31.00) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track03.flac] (9:47.00) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track04.flac] (8:42.00) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track05.flac] (16:06.00) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track06.flac] (8:47.15) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track07.flac] (7:08.68) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track08.flac] (7:40.56) : 100% OK
same for shnsplit command:
Happy splitting and/or converting!$ shnsplit -o flac -f "CDimage ape normal (cue).cue" CDimage\ ape\ normal.ape
shnsplit: warning: discarding initial zero-valued split point
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track01.flac] (6:15.00) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track02.flac] (6:31.00) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track03.flac] (9:47.00) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track04.flac] (8:42.00) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track05.flac] (16:06.00) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track06.flac] (8:47.15) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track07.flac] (7:08.68) : 100% OK
Splitting [CDimage ape normal.ape] (70:57.64) --> [split-track08.flac] (7:40.56) : 100% OK
Last edited by logos34; May 1st, 2009 at 05:51 AM.
Bookmarks