taglib-ts
    Preparing search index...

    FLAC audio properties, parsed from the STREAMINFO metadata block.

    STREAMINFO layout (34 bytes minimum): minBlockSize(2) + maxBlockSize(2) + minFrameSize(3) + maxFrameSize(3) + sampleRate:20 | channels-1:3 | bitsPerSample-1:5 | totalSamplesHigh:4 (4 bytes) + totalSamplesLow(4) + md5Signature(16)

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _readStyle: ReadStyle

    The read style used when parsing the audio stream.

    Accessors

    • get bitrate(): number

      Approximate bitrate in kbit/s.

      Returns number

    • get channels(): number

      Number of audio channels.

      Returns number

    • get lengthInMilliseconds(): number

      Track duration in milliseconds.

      Returns number

    • get lengthInSeconds(): number

      Duration rounded to the nearest second.

      Returns number

    • get sampleFrames(): bigint

      Total number of inter-channel sample frames in the stream.

      Returns bigint

    • get sampleRate(): number

      Sample rate in Hz.

      Returns number