# Audio-CD

## Audiocd IO Slave Configuration

The module Audiocd IO Slave Configuration page is divided in the General tab, the Names tab, and the encoder parameter tabs.

### The General Tab

The General tab The General tab

This tab contains the general parameters which apply to the whole process of reading data from CD.

Use error correction when reading the CD

- When writing Audio CD, the process adds 64 bits of error correction data to each frame. After this, 8 bits of subcode or subchannel data are added to each of the encoded frames, which is used for control and addressing when playing the CD. Ignoring such data correction can speed up reading but can also produce some unwanted artifacts.

Skip on errors

- The default is never skipping on errors of the medium. This is needed to ensure the high quality of the results.

Encoder Priority

- It is possible to determine encoder priority to ensure that the encoder process will not prevent you from doing some other tasks in parallel (the lower values) or to speed up the encoding (the higher values).

### The Names Tab

The Names tab The Names tab

The Names tab can be used to fine-tune the file names for the encoded data. It is possible to use some macros and regular expressions to produce the names exactly to your needs.

You can use the interactive testing field at the bottom part of the page to prove that the correct names will be produced.

### The FLAC Encoder Tab

The FLAC Encoder tab The FLAC Encoder tab

The FLAC encoder tab is only available if Audiocd IO slave was compiled with libFLAC.

FLAC is a lossless compressed audio format free of any patents or license fees. It maintains perfect CD audio quality while reducing file size by about 50%. When using this codec the filesize is much larger than Opus, Ogg Vorbis or MP3.

Flac compression level

- The compression level is an integer value between 0 and 8 that represents the tradeoff between file size and compression speed.

  Setting the compression level to 0 yields the shortest compression time but generates a comparably big file.

  On the other hand, a compression level of 8 makes compression quite slow but produces the smallest file.

  Note that since FLAC is by definition a lossless codec, the audio quality of the output is exactly the same regardless of the compression level.

  Also, levels above 5 dramatically increase compression time but create an only slightly smaller file, and are not recommended.

### The MP3 Encoder Tab

The MP3 Encoder tab The MP3 Encoder tab

The MP3 encoder tab is only available if LAME utilities are installed in the system.

MP3 (or MPEG-1 Audio Layer III) is a patented digital audio codec using a form of lossy data compression. In spite of its shortcomings, it is a common format for consumer audio storage, and is widely supported on portable music players.

Audiocd IO slave uses the LAME encoder to produce `mp3` files. LAME is considered the best MP3 encoder, mostly thanks to the dedicated work of its developers and the open source licensing model that allowed the project to tap into engineering resources from all around the world.

Encoding Method

- The bitrate is a measure of the quantity of data used to represent a second of the audio track. It is possible to determine Constant bitrate for predictable file size. The MP3 encoder also supports a Variable bitrate setting, which means that the bitrate value fluctuates along the track based on the complexity of the audio content. More complex intervals of data are encoded with a higher bitrate than less complex ones; this approach yields overall better quality and a smaller file than having a constant bitrate throughout the track.

  You can also define the quality of encoding. The lower quality can speed up the encoding process for the price of some data loss.

Options

- Check the Copyrighted item if the produced data are copyright protected.

  Check the Original item if the extraction of data is made from the original &CD;.

  When the ISO encoding item is checked, LAME will enforce the 7680 bit limitation on total frame size. The compatibility with ISO might be important for hardware players.

  The CRC Error Protection item can be used to add a checksum to each data frame. Such protection can enhance the stability of the MP3 data storing.

  The Write ID3 tag item is used to enforce LAME to write ID3 metadata to each produced MP3 file.

Filter Settings

- It is possible to apply bandwidth filtering to the data. It is used to limit the high or low frequencies that are encoded. Most of us cannot hear the high frequencies anyway, and they are the most expensive bitwise, when it comes to encoding. They also tend to be the cause of artifacts.

Variable Bitrate Settings

- You can also choose Average bitrate, which is the default, or Maximal bitrate, Minimal bitrate and whether Minimal value is a hard limit.

  160 kb/s is a good choice for music listening on a portable player. Anything below 120 kb/s might be unsatisfactory for music and anything above 256 kb/s is probably overkill.

  It is also possible to Write Xing VBR tag into the file. Xing was responsible for creating an encoder notable for its VBR tag, which enables more accurate seeking within variable bitrate files. Among other things, Xing's VBR tag contains information about the total duration of an MP3 file, something that is not otherwise readily available from the MPEG stream.

### The Opus Encoder Tab

The Opus Encoder tab The Opus Encoder tab

The Opus encoder tab is only available if opus-tools are installed in the system.

Opus is a totally open, royalty-free, highly versatile audio codec. Opus is unmatched for interactive speech and music transmission over the Internet, but is also intended for storage and streaming applications.

Encoding Method

- This setting allows you to choose between Complexity based and Bitrate based encoding. The complexity based encoding uses some speculative algorithms for the price of an unpredictable size of the results.

  - There are several things which influence the Opus encoder choice between CPU complexity and quality/bitrate. The complexity of encoding can be selected using an integer from 0 to 10, where 0 yields the lowest quality and 10 yields the highest quality.

  - Opus is more efficient when operating with variable bitrate (Average variable bitrate), which is the default. It is possible to use constrained variable bitrate (Constrained variable bitrate, an analog of constant bitrate for MP3) when the low-latency transmission is required over a relatively slow connection. In some (rare) applications, constant bitrate (Constant bitrate) is required.

    It is recommended to use 64-128 kbit/s bitrate for stereo music.

Add track information

- When checked, add a description of the song to the file header. This makes it easy for the user to get advanced song information shown by his media player. You can get this information automatically via the Internet. Look at the &systemsettings; CDDB Retrieval module for details.

### The Ogg Vorbis Encoder Tab

The Ogg Vorbis Encoder tab The Ogg Vorbis Encoder tab

The Ogg Vorbis encoder tab is only available if Audiocd IO slave was compiled with libvorbis.

Ogg Vorbis is an open and royalty-free audio codec for lossy audio compression. It produces smaller files than MP3 at equivalent or higher quality.

Encoding Method

- This setting allows you to choose between Quality based and Bitrate based encoding. The quality based encoding uses some speculative algorithms for the price of an unpredictable size of the results.

  - The quality of Ogg Vorbis encoding can be selected using an integer from 0 to 10, where 0 yields the lowest quality and 10 yields the highest quality.

  - As an alternative variable bitrate can be used. It is possible to choose Average bitrate, which is the default, or Maximal bitrate and Minimal bitrate.

Add track information

- When checked, add a description of the song to the file header. This makes it easy for the user to get advanced song information shown by his media player. You can get this information automatically via the Internet. Look at the &systemsettings; CDDB Retrieval module for details.