Options
All
  • Public
  • Public/Protected
  • All
Menu

Stores a single frame of multichannel FFT data.

Hierarchy

  • SpectralBuffer

Index

Constructors

constructor

Properties

Private _data

_data: FFTBins[]

sampleRate

sampleRate: Hz

time

time: Smp

Accessors

frameSize

frameSize:

numberOfChannels

numberOfChannels:

windowSize

windowSize:

Methods

binFrequency

  • binFrequency(bin: number): number

binOfFrequency

  • binOfFrequency(f: Hz): number

getChannelData

  • getChannelData(c: number): number[] | Float32Array

Static fromArray

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc