Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SoundBuffer

Hierarchy

  • SoundBuffer

Index

Constructors

constructor

Methods

duplicateSamples

  • duplicateSamples(): Int16Array

getChannelCount

  • getChannelCount(): number

getDuration

getSampleCount

  • getSampleCount(): number

getSampleRate

  • getSampleRate(): number

loadFromMemory

  • loadFromMemory(buffer: Buffer): boolean

loadFromSamples

  • loadFromSamples(samples: number[] | Int16Array, channelCount: number, sampleRate: number): boolean

saveToFile

  • saveToFile(filename: string): Promise<void>

Generated using TypeDoc