Skip to main content

Track

A single track within an audiobook.

type Track {
id: ID!
name: String!
files(
formats: [AudioFormat!]
): [Audiofile!]!
masterFile: Audiofile
ready: Boolean!
duration: Int
bitRate: Int
bitDepth: Int
position: Int
channels: Int
sampleRate: Int
format: Mime
}

Fields

Track.id ● ID! non-null scalar

The ID of the track as an uri.

Track.name ● String! non-null scalar

The name of the track.

Track.files ● [Audiofile!]! non-null object

The associated audiofiles.

Track.files.formats ● [AudioFormat!] list enum

If not null, fetch only the audiofiles of the given types.

Track.masterFile ● Audiofile object

The master file

Track.ready ● Boolean! non-null scalar

Whether the track's content is ready to be used: the original file has been encoded and audio info of the original file is available.

Track.duration ● Int scalar

Duration of the track, in milliseconds

Track.bitRate ● Int scalar

bit rate of the original file, in bits per second.

Track.bitDepth ● Int scalar

bit depth of the original file (for lossless files)

Track.position ● Int scalar

The position of the track in its audiobook

Track.channels ● Int scalar

Number of channels in the original file

Track.sampleRate ● Int scalar

Sample rate of the original file, (Hz)

Track.format ● Mime scalar

File format of the original file.

Returned by

track query

Member of

CreateTrackResult object ● ReadingOrder object