Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AudioFormat

Hierarchy

  • AudioFormat

Index

Constructors

constructor

Properties

bitDepth

bitDepth: number = 16

channels

channels: number = 2

endianness

endianness: string = ValidEndianness.LE

frameDuration

frameDuration: number = 20

sampleRate

sampleRate: number = 48000

Accessors

byteDepth

  • get byteDepth(): number
  • Returns number

frameSize

  • get frameSize(): number
  • Returns number

pcmMax

  • get pcmMax(): number
  • Returns number

pcmMin

  • get pcmMin(): number
  • Returns number

pcmMult

  • get pcmMult(): number
  • Returns number

readFunc

  • get readFunc(): string
  • Returns string

sampleSize

  • get sampleSize(): number
  • Returns number

samplesPerFrame

  • get samplesPerFrame(): number
  • Returns number

samplesPerTick

  • get samplesPerTick(): number
  • Returns number

writeFunc

  • get writeFunc(): string
  • Returns string

Generated using TypeDoc