CD Authoring ============ As of version 0.9, Bandcrash supports authoring audio CDs for use with full-disc CD imaging tools. This is primarily for simplifying on-demand manufacturing with e.g. `Kunaki `_, but it's also useful for simplifying DIY CD replication. When generating CDDA output, Bandcrash will generate the following files in the ``cdda`` directory: * ``album.bin``: The raw audio track (16-bit 44100 stereo little-endian) * ``album.cue``: a `CUE file `_ for use with standard disc-at-once burning software (e.g. `cdrdao `_, `ImgBurn `__, and many others) * ``kunaki.cue``: a CUE file in Kunaki's proprietary(?) format * ``tracklist.tsv``: a tabbed-separated value file with useful information for importing into other places (such as creating album art) Here are some things to keep in mind when using these authoring files. Verifying playback ------------------ The ``ffplay`` tool from `FFmpeg `_ can be used to ensure that the audio is correct. You can play the album audio with the following command:: ffplay --format pcm_s16le -ar 44100 -ch_layout stereo album.bin Alternately, you can load it into something like `Audacity `_ by importing it as raw data set to 16-bit, 44100Hz, little-endian stereo: .. image:: audacity-import.png :scale: 50 % :alt: Importing the raw audio into Audacity Kunaki uploads -------------- When uploading to Kunaki, use the "ISO and CUE file" option. Use ``album.bin`` for the ISO and ``kunaki.cue`` for the CUE. As a note, Kunaki is using imprecise terminology, as an ``.iso`` is a particular kind of a ``.bin`` but not all ``.bin``\ s are ``.iso``\ s. Further, Kunaki has what appears to be their own proprietary and undocumented ``.cue`` format, rather than using the common text-based format understood by most CD burning tools. cdrdao ------ The CDDA standard and most tools expect little-endian (also called LSB) audio, but cdrdao expects everything to be big-endian (aka MSB, sometimes called "Motorola"). Thus, when you burn a disc, you'll need to specify the ``--swap`` option, for example:: cdrdao writecd --device /dev/sr0 --swap album.cue The ``.cue`` format explicitly specifies the endianness of the file (using ``BINARY`` and ``MOTOROLA`` for little and big endian, respectively), but unfortunately, cdrdao's parser ignores this. ImgBurn ------- The ``.bin`` and ``.cue`` file work without any extra effort. Point it to the ``album.cue`` and the rest should work automatically, including CD-Text.