Skip to content

Latest commit

 

History

History
109 lines (60 loc) · 1.9 KB

File metadata and controls

109 lines (60 loc) · 1.9 KB

node-taglib-sharp / Exports / MpegVbriHeader

Class: MpegVbriHeader

Information about a variable bitrate MPEG audio stream encoded by the Fraunhofer encoder

Hierarchy

  • default

    ↳ MpegVbriHeader

Table of contents

Accessors

Methods

Accessors

bitrateKilobytes

• get bitrateKilobytes(): number

Gets the bitrate of the ile in kilobytes per second, if it could be calculated using the current instance. undefined, otherwise.

Returns

number

Inherited from

VbrHeader.bitrateKilobytes


durationMilliseconds

• get durationMilliseconds(): number

Gets the duration of the file in milliseconds, if it could be calculated using the current instance. undefined, otherwise.

Returns

number

Inherited from

VbrHeader.durationMilliseconds


totalBytes

• get totalBytes(): number

Gets the total size of the file in bytes, as indicated by the current instance.

Returns

number

Inherited from

VbrHeader.totalBytes


totalFrames

• get totalFrames(): number

Gets the total number of frames in the file, as indicated by the current instance.

Returns

number

Inherited from

VbrHeader.totalFrames

Methods

fromFile

▸ Static fromFile(file, mpegHeaderPosition, samplesPerFrame, samplesPerSecond): MpegVbriHeader

Parameters

Name Type
file File
mpegHeaderPosition number
samplesPerFrame number
samplesPerSecond number

Returns

MpegVbriHeader