mdr2.dtb
Functions to query DAISY Talking Books
audio-channels
(audio-channels dtb)
Return the number of audio channels for a given DAISY Talking Book
audio-format
(audio-format dtb)
Return the format in which the audio files in the DTB file set are written for a given DAISY Talking Book
audio-length
(audio-length dtb)
Return the audio length for a given DAISY Talking Book in milliseconds
depth
(depth dtb)
Return the depth of a given DAISY Talking Book.
Unlike the other functions which mostly do not trust the meta data from the DTB and calculate the data based on the wav files, the depth is simply taken out of the meta data from the manifest.
meta-data
(meta-data dtb)
Return a map containing all queried meta data for a given DAISY Talking Book
multimedia-content
(multimedia-content dtb)
Return the multimedia content for a given DAISY Talking Book
multimedia-type
(multimedia-type dtb)
Return the multimedia type for a given DAISY Talking Book
sampling-rate
(sampling-rate dtb)
Return the sample rate for a given DAISY Talking Book. If there is a mix of sampling rates used the most frequently used is returned