Help - Search - Members - Calendar
Full Version: batch processing wav's + cue's -> tagged flac's
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
thoresson
Hi,

I'm in the process of ripping my cd's to wav's with cue sheets (one wav per cd), but I'm still to convert them into flac's. Why? Because I haven't found an easy way to do it.

I wonder if foobar or some other software/script would take all wav's in e:\new rips and convert them to flac's, embed the cue sheet and finally replaygain them?

Also, is there a simple way to load a couple of new albums (still one flac per album) into foobar and have them all tagged from freedb, without any user input?

I guess this must all be a couple of faq's, but I haven't succeeded in finding the old threads.

//Anders
mmortal03
Did you see this from yesterday?

http://www.hydrogenaudio.org/forums/index....topic=18932&hl=
Mr_Rabid_Teddybear
Also if you check your own thread from yesterday, I gave a link to Sorens procedure which was further improved by mmortal03 yesterday documented in the thread he mentions. Search on "flac AND cue" will give you a lot of threads regarding these issues, but I think this is as good as it gets for now. So further improvements are very welcome and needed. If you can write a script or something that helps, please do.... smile.gif

Edit: spelling error
thoresson
QUOTE(mmortal03 @ Feb 23 2004, 01:00 PM)
Did you see this from yesterday?

Yes. It's good, but not quite the way I want it:

Since ripping requires an active user (to change cd's after a finished rip) I would like to rip while I'm at the computer, creating one wav and cue sheet per album. Then, I would like to have a batch file that would take album1.wav and album1.cue, album2.wav and album2.cue and album3.wav and album3.cue and create flac's with embedded cue sheets, without further input from me then starting the batch file.

Someone who has a bat-file or other script/solution for this?
mmortal03
Well, actually, you can do what you want with EAC, but we need to modify my string. It takes a little more active brain power than my previous string, as I will explain in a bit, but it will still save you the same amount of time as what you are asking for in a batch process. Actually, this is how I was going to solve the problem intially, but then I figured I would also make it as brainless for the user. To do that I lost the option to encode in the background. So, here is what I intially came up with, for the "power user". wink.gif

Make sure that you have EAC setup to encode with one process in the background. Then, use THIS line instead:

-8 -T "ALBUM ARTIST=%a" -T "ALBUM=%g" -T "DATE=%y" -T "GENRE=%m" --cuesheet="G:\CD Rips FLAC\%g.flac.cue" --replay-gain --delete-input-file -o "G:\CD Rips FLAC\%a - %y - %g.flac" -V %s

In this case, you will have to name each output (manually, when it prompts you) to be the name of the album listed in EAC. You will also have to make sure that no two albums you rip within the queue cycle have the same album name. At the end, you will have to delete each created cuesheet for each album, but given the time saved, that is no big deal. Basically, this process gives each cuesheet a separate enough name that is directly identifiable by EAC, but keeps it simple enough for the user to quickly type in (make sure you don't enter any typos though, I'd copy and paste the album name to make sure you get it right).

For future reference, if Andre fixes the "flac.cue" and "flac.flac" bug, you should remember to replace "%g.flac.cue" with "%g.cue". When that happens you will also be able to rely on EAC's own naming system again and re-enable delete WAV after encoding, so you will be able to remove the two flags "--delete-input-file" and "-o "G:\CD Rips FLAC\%a - %y - %g.flac""
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.