Skip to content

Commit

Permalink
framerate, framecount, channels (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Nov 5, 2014
1 parent e507f41 commit 371678e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,12 @@ These optional fields reflect audio metadata:

* ``type``, string: The MIME type of the associated audio file.
* ``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.)
* ``framerate``, integer: The number of frames per second in the audio.
* ``framecount``, integer: The total number of frames in the audio.
(The exact length can be calculated as the product of the frame rate and
frame count.)
* ``channels``, integer: The number of audio channels. (A frame consists of one
sample per channel.)
* ``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 371678e

Please sign in to comment.