CDex and FLAC: Difference between revisions

From Hydrogenaudio Knowledgebase
(→‎Software needed: Updated link description to latest version)
m (→‎Installation: spelling - moved text to panel)
 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
==Software needed==
==Software needed==
CDex has native FLAC support; there is no need to download anything else.
CDex has native FLAC support; there is no need to download anything else.
* [http://cdexos.sourceforge.net/download.html CDex 1.71 (2014/10/22)]
* [https://cdex.mu/download CDex Downloads]
This build of CDex uses the FLAC 1.1.2 version of libFLAC.dll.  If you wish to use a newer version of FLAC, you'll need to configure it as an External Encoder.  See "Advanced command-line" below.
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==  
Just run the installer. If additional Windows redistributable components are needed, they will be downloaded during install.
{{panel|AdWare: advertising-supported installation|color=yellow}}
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==
==Configuration==
Line 38: Line 39:
:''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.''
:''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.
'''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==
==Screenshot==

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
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