Difference between revisions of "CDex and FLAC"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m (See also)
m (Installation: spelling - moved text to panel)
 
(38 intermediate revisions by 6 users not shown)
Line 1: Line 1:
This guide acts as a quick and painless way to make a lossless-backup with CDex and FLAC. It does not go into detail about configuring [[cdparanoia]] or transferring [[metadata]] over to appropriate files using external parameters, etc.  
+
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==
 
==Software needed==
Note: CDex should have native FLAC support already
+
CDex has native FLAC support; there is no need to download anything else.
* [http://cdexos.sourceforge.net/download.html CDex 1.70 Beta 2]  
+
* [https://cdex.mu/download CDex Downloads]
* Flac 1.1.3 Encoder DLL
+
If you wish to use a different version of FLAC than included in the DLL, you'll need to configure it as an External Encoder. See "Advanced command-line" below.
  
 
==Installation==  
 
==Installation==  
Note: Guides assumes your output directory for your files has already been configured if not
+
{{panel|AdWare: advertising-supported installation|color=yellow}}
click on '''Options''' menu then click '''Settings''' and select '''Filenames''' tab
+
Just run the installer. If additional Windows redistributable components are needed, they will be downloaded during install.  If you prefer, download and unzip the "Portable" version. It's an older version, but the basic functionality is current.
* Install '''libFLAC.dll''' to the root CDex directory on your computer (default: cdex_170_beta2)
+
* See [[CDex and CD-ROM Drives|Configuring CDex and CD-ROM Drives]]
+
  
+
==Configuration==
==Configuration==  
+
=== Basic ===  
 
* Open '''CDex''' and insert a CD into the drive  
 
* Open '''CDex''' and insert a CD into the drive  
 
* Click the '''Options''' menu then click '''Settings''' and select '''Encoder''' tab
 
* Click the '''Options''' menu then click '''Settings''' and select '''Encoder''' tab
 
* Change '''Encoder''' drop down menu to '''FLAC Encoder DLL'''  
 
* Change '''Encoder''' drop down menu to '''FLAC Encoder DLL'''  
* Change the box so that '''On the fly Encoding''' is '''checked off'''   
+
* Confirm that '''On the fly Encoding''' is '''checked'''   
* Change the appropriate compression setting level (default: -compression-level 5 |  
+
* If desired, change the compression setting level (default: compression-level 5 | maximum: compression-level 8)  
:best: --compression-level 8 )
+
 
* Click '''OK'''  
 
* Click '''OK'''  
* Highlight selected tracks you want to extract and click toolbar button second from the top ''(Extract CD track(s) to Compressed Audio File(s))''
+
* 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))''
* By default [[cdparanoia]] will open up and begin extracting tracks from your default CD-ROM drive to the appropriate folders <br>
+
* '''CDex''' will begin extracting tracks from your default CD-ROM drive to the folder and filenames as set below
  
==Screenshot==
+
=== Suggested Additional Settings ===
<center>[[image:Cdex-guide.PNG|550px|center|FLAC configured with CDex on the fly]]</center>
+
* 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 '''user@domain.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 the path to your local '''FLAC.EXE''' file. The '''Parameter string''' is:
 +
"<font color=green><b>-5 </b></font>-V -o %2 -T "artist=%a" -T "title=%t" -T "album=%b" -T "date=%y" -T "tracknumber=%tn" -T "genre=%g" -"
 +
:''Note: the number in green can be substituted with 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.''
 +
'''Bitrate''' setting does not matter.  '''File Extension''' is '''flac''' and all three checkboxes should be checked.
 +
 
 +
== Placeholders ==
 +
 
 +
{| class="wikitable" style="margin: 1em auto 1em auto;"
 +
|+ Placeholders used in CDex
 +
|-
 +
! Property
 +
! Filename Placeholder
 +
! External Encoder Placeholder
 +
|-
 +
| Artist name || %1 || %a
 +
|-
 +
| Album name || %2 || %b
 +
|-
 +
| Track number || %3 ||
 +
|-
 +
| Track name || %4 || %t
 +
|-
 +
| CD Volume ID || %5 ||
 +
|-
 +
| CDDB ID || %6 ||
 +
|-
 +
| Track number (padded zero) || %7 || %tn
 +
|-
 +
| Total tracks || %8 ||
 +
|-
 +
| Total tracks (padded zero) || || %tt
 +
|-
 +
| Genre || %G || %g
 +
|-
 +
| Year || %Y || %y
 +
|-
 +
| Input filename || || %1
 +
|-
 +
| Output filename || || %2
 +
|-
 +
| bit rate in Bits/sec || || %3
 +
|-
 +
| bit rate in kBits/sec || || %4
 +
|}
 +
 
 +
==Screenshot==
 +
<center>[[image:CDex_Settings.png|center|FLAC configured with CDex on the fly]]</center>
  
 
==CDex and CUE Sheets==  
 
==CDex and CUE Sheets==  
Line 35: Line 89:
 
* [[CDex]]
 
* [[CDex]]
 
* [[cdparanoia]]  
 
* [[cdparanoia]]  
 +
 +
==External links==
 +
* [http://www.daefeatures.co.uk/search.php DAE Drive Database]
  
 
[[Category:Guides]]
 
[[Category:Guides]]
 +
[[Category:CDex Guides]]

Latest revision as of 22:21, 9 December 2019

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

CDex has native FLAC support; there is no need to download anything else.

If you wish to use a different version of FLAC than included in the DLL, you'll need to configure it as an External Encoder. See "Advanced command-line" below.

Installation

Just run the installer. If additional Windows redistributable components are needed, they will be downloaded during install. If you prefer, download and unzip the "Portable" version. It's an older version, but the basic functionality is current.

Configuration

Basic

  • 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 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 user@domain.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 the path to your local FLAC.EXE file. The Parameter string is:

"-5 -V -o %2 -T "artist=%a" -T "title=%t" -T "album=%b" -T "date=%y" -T "tracknumber=%tn" -T "genre=%g" -"
Note: the number in green can be substituted with 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.

Bitrate setting does not matter. File Extension is flac and all three checkboxes should be checked.

Placeholders

Placeholders used in CDex
Property Filename Placeholder External Encoder Placeholder
Artist name  %1  %a
Album name  %2  %b
Track number  %3
Track name  %4  %t
CD Volume ID  %5
CDDB ID  %6
Track number (padded zero)  %7  %tn
Total tracks  %8
Total tracks (padded zero)  %tt
Genre  %G  %g
Year  %Y  %y
Input filename  %1
Output filename  %2
bit rate in Bits/sec  %3
bit rate in kBits/sec  %4

Screenshot

FLAC configured with CDex on the fly

CDex and CUE Sheets

  • CDex has limited support for creating CUE sheets in current beta release

See also

External links