More doc work

This commit is contained in:
Jamie Hardt
2022-11-18 15:37:02 -08:00
parent 5882e01b31
commit 900dd5d582
4 changed files with 84 additions and 1 deletions

View File

@@ -0,0 +1,74 @@
Command-Line Reference
======================
Usage Form
-----------
Invocations of ptulsconv take the following form:
ptulsconv [options] IN_FILE
Flags
-----
`-h`, `--help`:
Show the help message.
`f FMT`, `--format=FMT`:
Select the output format. By default this is `doc`, which will
generate :ref:`ADR reports<adr-reports>`.
The :ref:`other available options<alt-output-options>`
are `raw` and `tagged`.
Informational Options
"""""""""""""""""""""
These options display information and exit without processing any
input documents.
`--show-formats`:
Display information about available output formats.
`--show-available-tags`:
Display information about tags that are used by the
report generator.
.. _alt-output-options:
Alternate Output Formats
------------------------
.. _raw-output:
`raw` Output
""""""""""""
The "raw" output format is a JSON document of the parsed input data.
The document is a top-level dictionary with keys for the main sections of the text export: `header`,
`files`, `clips`, `plugins`, `tracks` and `markers`, and the values for these are a list of section
entries, or a dictionary of values, in the case of `header`.
The text values of each record and field in the text export is read and output verbatim, no further
processing is done.
.. _tagged-output:
`tagged` Output:
""""""""""""""""
The "tagged" output format is also a JSON document based on the parsed input data, after the additional
step of processing all of the :ref:`tags<tags>` in the document.
The document is a top-level array of dictionaries, one for each recognized ADR spotting clip in the
session. Each dictionary has a `clip_name`, `track_name` and `session_name` key, a `tags` key that
contains a dictionary of every parsed tag (after applying tags from all tracks and markers), and a
`start` and `end` key. The `start` and `end` key contain the parsed timecode representations of these
values in rational number form, as a dictionary with `numerator` and `denominator` keys.

View File

@@ -1,3 +1,5 @@
.. _adr-reports:
For ADR Report Generation
=========================

View File

@@ -6,17 +6,22 @@
Welcome to ptulsconv's documentation!
=====================================
`ptulsconv` is a tool for converting Pro Tools text exports into PDF
reports for ADR spotting. It can also be used for converting text
exports into JSON documents for processing by other applications.
.. toctree::
:numbered:
:maxdepth: 2
:caption: Contents:
quickstart
tagging
for_adr
cli_reference
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

View File

@@ -1,3 +1,5 @@
.. _tags:
Tagging
=======