taglib-ts
    Preparing search index...

    Audio properties for DSD Interchange File Format (DSDIFF).

    Unlike most properties classes, DSDIFF properties are constructed from pre-computed values extracted during the chunk-walking phase of file parsing, rather than from raw byte data.

    Hierarchy (View Summary)

    Index

    Constructors

    • Constructs DSDIFF audio properties from pre-computed values.

      Parameters

      • sampleRate: number

        Sample rate in Hz.

      • channels: number

        Number of audio channels.

      • sampleCount: bigint

        Total DSD sample frames (per channel).

      • bitrate: number

        Approximate bitrate in kbit/s.

      • readStyle: ReadStyle

        Read style hint (passed to the base class).

      Returns DsdiffProperties

    Properties

    _readStyle: ReadStyle

    The read style used when parsing the audio stream.

    Accessors

    • get lengthInMilliseconds(): number

      Track duration in milliseconds.

      Returns number

    • get lengthInSeconds(): number

      Duration rounded to the nearest second.

      Returns number