Skip to content

Commit

Permalink
Clarify length, add samplecount (fix #8)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Nov 5, 2014
1 parent 725ce95 commit 8ca656e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,10 @@ Tracks **MAY** have these keys:
These optional fields reflect audio metadata:

* ``type``, string: The MIME type of the associated audio file.
* ``length``, integer: The duration of the audio.
* ``length``, float: The duration of the audio in seconds.
* ``samplerate``, integer: The number of samples per second in the audio.
* ``samplecount``, integer: The total number of samples (frames) in the audio.
(The exact length can be calculated from the sample rate and sample count.)
* ``bitrate``, integer: The number of bits per second in the encoding.
* ``bitdepth``, integer: The number of bits per sample.

Expand Down

0 comments on commit 8ca656e

Please sign in to comment.