Ver código fonte

Updated formats document.

master
Svend Sorensen 19 anos atrás
pai
commit
f369fcfd88
1 arquivos alterados com 58 adições e 34 exclusões
  1. +58
    -34
      doc/formats.txt

+ 58
- 34
doc/formats.txt Ver arquivo

@@ -206,90 +206,91 @@ Keywords
CATALOG CATALOG
~~~~~~~ ~~~~~~~


:Description: Sets the catalog number of the CD.
:Section(s): global :Section(s): global
:Format: ``CATALOG "<catalog_number>"``
:Format:
``CATALOG "<catalog_number>"``


Sets the catalog number of the CD. ``catalog_number`` must be exactly 13
digits.
``catalog_number``
13 digit number


CD_DA CD_DA
~~~~~ ~~~~~


:Description: Sets the CD format to audio.
:Section(s): global :Section(s): global
:Format: ``CD_DA`` :Format: ``CD_DA``


Sets the CD format to audio.

CD_ROM CD_ROM
~~~~~~ ~~~~~~


:Description: Sets the CD format to data.
:Section(s): global :Section(s): global
:Format: ``CD_ROM`` :Format: ``CD_ROM``


Sets the CD format to data.

CD_ROM_XA CD_ROM_XA
~~~~~~~~~ ~~~~~~~~~


:Description: Sets the CD format to mixed.
:Section(s): global :Section(s): global
:Format: ``CD_ROM_XA`` :Format: ``CD_ROM_XA``


Sets the CD format to mixed.

TRACK TRACK
~~~~~ ~~~~~


:Description: Starts a new track.
:Section(s): track :Section(s): track
:Format: ``TRACK <track_mode> [sub_channel_mode]`` :Format: ``TRACK <track_mode> [sub_channel_mode]``


NO NO
~~ ~~
:Description: Negates (clears) track flags.
:Section(s): track :Section(s): track
:Format: ``NO <flag>``
:Format:
``NO <flag>``


Negates (clears) track flags. Allowable ``flag`` entries are ``COPY`` and
``PRE_EMPHASIS``.
``flag``
one of: ``COPY`` or ``PRE_EMPHASIS``.


COPY COPY
~~~~ ~~~~


:Description: Sets the copy permitted flag.
:Section(s): track :Section(s): track
:Format: ``COPY`` :Format: ``COPY``


Sets the copy permitted flag.

PRE_EMPHASIS PRE_EMPHASIS
~~~~~~~~~~~~ ~~~~~~~~~~~~


:Description: Sets the pre-emphasis flag.
:Section(s): track :Section(s): track
:Format: ``PRE_EMPHASIS`` :Format: ``PRE_EMPHASIS``


Sets the pre-emphasis flag.

TWO_CHANNEL_AUDIO TWO_CHANNEL_AUDIO
~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~


:Description: Sets the two channel audio flag.
:Section(s): track :Section(s): track
:Format: ``TWO_CHANNEL_AUDIO`` :Format: ``TWO_CHANNEL_AUDIO``


Sets the two channel audio flag.


FOUR_CHANNEL_AUDIO FOUR_CHANNEL_AUDIO
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~


:Description: Sets the four channel audio flag.
:Section(s): track :Section(s): track
:Format: ``FOUR_CHANNEL_AUDIO`` :Format: ``FOUR_CHANNEL_AUDIO``


Sets the four channel audio flag.

ISRC ISRC
~~~~ ~~~~


:Description: Sets track ISRC number.
:Section(s): track :Section(s): track
:Format: ``ISRC "<ISRC_number>"``
:Format:
``ISRC "<ISRC_number>"``


Sets track ISRC number. ``ISRC_number`` must be of the format CCOOOOYYSSSSS.
``ISRC_number``
a string with the format CCOOOOYYSSSSS.


SILENCE SILENCE
~~~~~~~ ~~~~~~~
@@ -308,18 +309,30 @@ ZERO
FILE FILE
~~~~ ~~~~


:Description: Add file to current track.
:Section(s): track :Section(s): track
:Format: ``FILE "<filename>" <start> [length]``
:Format:
``FILE "<filename>" <start> [length]``


Add file to current track. ``start`` and ``length`` must be in MSF format.
``start``
time in MSF format.

``length``
time in MSF format.


AUDIOFILE AUDIOFILE
~~~~~~~~~ ~~~~~~~~~


:Description: Add file to current track.
:Section(s): track :Section(s): track
:Format: ``AUDIOFILE "<filename>" <start> [length]``
:Format:
``AUDIOFILE "<filename>" <start> [length]``


Add file to current track. ``start`` and ``length`` must be in MSF format.
``start``
time in MSF format.

``length``
time in MSF format.


DATAFILE DATAFILE
~~~~~~~~ ~~~~~~~~
@@ -346,19 +359,25 @@ START
PREGAP PREGAP
~~~~~~ ~~~~~~


Section(s): track
Format: ``PREGAP <pregap>``
:Description: Sets track pregap.
:Section(s): track
:Format:
``PREGAP <pregap>``


Sets track pregap. ``pregap`` must be in MSF format.
``pregap``
time in MSF format.


INDEX INDEX
~~~~~ ~~~~~


:Description: Sets a track index.
:Section(s): track :Section(s): track
:Format: ``INDEX <index_number> <index_time>`` :Format: ``INDEX <index_number> <index_time>``


Sets a track index. ``index_number`` must be a non-negative integer.
``index_time`` must be in MSF format.
``index_number``
a non-negative integer.
``index_time``
time in MSF format.


CD_TEXT CD_TEXT
~~~~~~~ ~~~~~~~
@@ -507,12 +526,17 @@ SIZE_INFO
Definitions Definitions
=========== ===========


frame
1/75 of a second.

International Standard Recording Code (ISRC)
A 12 character identification code for sound recordings. See
`ISRC intro`_ for details.

MSF format MSF format
a representation of time in the form ``m:s:f``. ``m`` is minutes, a representation of time in the form ``m:s:f``. ``m`` is minutes,
``s`` is seconds, and ``f`` is frames. Fields may be zero padded. ``s`` is seconds, and ``f`` is frames. Fields may be zero padded.


frame
1/75 of a second.

.. _MMC-3: ftp://ftp.t10.org/t10/drafts/mmc3/ .. _MMC-3: ftp://ftp.t10.org/t10/drafts/mmc3/
.. _cdrtools: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html .. _cdrtools: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html
.. _ISRC intro: http://www.ifpi.org/site-content/online/isrc_intro.html

Carregando…
Cancelar
Salvar