GnomeToaster - Howto burn a CD from FLAC files.
posted by
Daniel Owen
This tip courtesy of Richard Seymour
This will hopefully help people out trying to burn FLAC files that they get off
of Magnatune or Sharing the groove or wherever. These people have to be running Linux
or some such UNIXy OS that can run GnomeToaster (hopefully people can use this info
to create KDE centric and command line (or perl scripts) that do the same thing).
The nice thing about this is that it lets you do Disk at once (DAO) recording on
the fly, which produces a CD with no gaps between tracks. for a 50 some minute CD
this takes less than 5 minutes on this 16x burner here.
Here are the instructions:
- Open GnomeToaster (it may need you to be root, you've been warned :-) ) and
click on Edit -> Preferences... -> Filetypes
- Click the Add Filetype button.
- On the new Filetype line (you should just be able to copy and paste for the most
part the parts in quotes below):
- Change the Suffix text box to read ".flac"
- Change the Format to "big Endian" (weird but true considering my machine is little Endian)
- Change the Filtername to "flac -d -s -c - -|sox -t .wav - -t .raw -r 44100 -w -x -c 2 -s -"
- Change the first Detect size command to "metaflac --list "$file"" (keep the quotes around "$file".)
- Change the second Detect size command to "strval(regexp("^ total samples: ([0-9]*)"))*4" (once again
keep the quotes around "^ total samples: ([0-9]*)") (also note the 2 spaces after the ^, it's an
inflexible regex, but I don't know the exact engine so I didn't mess around)
- Click Ok, or Apply and drag a .flac file to the hard to read on my monitor Drag 'n Play
button in the lower right hand corner. If you hear the file, then you are good to go and
you can drag the tracks onto a cd.
- The key here is that you can do disk at once recording on the fly, thereby eliminating
between track gaps, so be sure to select Disk at once from the burning tab on the main gtoaster screen.