CDex and FLAC
From Hydrogenaudio Knowledgebase
This guide describes how to rip FLAC files from CD with CDex. If configured as described below, CDex will automatically retrieve CD artist, title, year, genre, and track names from freedb.
 Software needed
Note: CDex has native FLAC support; there is no need to download anything else.
Just run the installer. If additional Windows redistributable components are needed, they will be downloaded during install.
- Open CDex and insert a CD into the drive
- Click the Options menu then click Settings and select Encoder tab
- Change Encoder drop down menu to FLAC Encoder DLL
- Confirm that On the fly Encoding is checked
- If desired, change the appropriate compression setting level (default: compression-level 5 | maximum: compression-level 8)
- Click OK
- On toolbar at right side of main CDex window, click the button second from the top (Extract CD track(s) to Compressed Audio File(s))
- CDex will begin extracting tracks from your default CD-ROM drive to the Folder and Filenames as set below
 Suggested Additional Settings
- Click the Options menu then click Settings
General > Directories & files
- Set Filename Format the way you want it; e.g. %1\%2\%7 - %4 creates files named "01 - TRACKNAME" within an ALBUM folder within an ARTIST folder
- Set the two directories for output files where you want them
Ripping > CD Drive settings
- Check box for "Eject CD when ripping has been completed"
Encoding > Tags
- Un-check all ID3 Tag Versions
CD Database > Remote freedb
- Enter something in "Your E-mail address"; can be email@example.com
- Check box for "Auto connect to remote freedb"
 Advanced command-line (not necessary if CDex configured as above)
- To use FLAC as external command-line encoder change Encoder to External Encoder and specify flac.exe or your path to the appropriate executable. Parameter string:
"-5 -V -o %2 -T "artist=%a" -T "title=%t" -T "album=%b" -T "date=%y" -T "tracknumber=%tn/%tt" -T "genre=%g" -"
- Note: the number in green can be substituted for your desired compression level. The default compression is -5; the maximum compression is -8. For reference, maximum compression typically yields files a few percent smaller than default compression.
 CDex and CUE Sheets
- CDex has limited support for creating CUE sheets in current beta release