taglib-ts
    Preparing search index...

    Audio properties for Shorten (.shn) files.

    Shorten stores audio metadata (sample rate, bits per sample, channel count) inside an embedded verbatim WAVE or AIFF header at the start of the stream. Duration and bitrate are derived from those values.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _readStyle: ReadStyle

    The read style used when parsing the audio stream.

    Accessors

    • get bitrate(): number

      Returns the uncompressed bitrate in kilobits per second.

      Returns number

      Bitrate computed from sample rate, bits per sample, and channel count.

    • get channels(): number

      Returns the number of audio channels.

      Returns number

      The channel count.

    • get fileType(): number

      Returns the Shorten internal file type code describing the audio encoding.

      Returns number

      The file type code.

    • get lengthInMilliseconds(): number

      Returns the track duration in milliseconds.

      Returns number

      Duration computed from sample frames and sample rate.

    • get lengthInSeconds(): number

      Duration rounded to the nearest second.

      Returns number

    • get sampleFrames(): number

      Returns the total number of PCM sample frames in the stream.

      Returns number

      The sample frame count.

    • get sampleRate(): number

      Returns the sample rate in Hz.

      Returns number

      The sample rate.