triolet.dsp

1.0.0 • Public • Published

triolet.dsp

NPM Version License

base class for triolet DSP

Installation

$ npm install triolet.dsp

API

TrioletDSP

  • constructor()

Instance attributes

  • triolet: Triolet (required)
  • sampleRate: number (implicit readonly)
  • bufferLength: number (implicit readonly)

Instance methods

  • setup(opts: object): void
  • start(): void
  • stop(): void
  • sendToAPI(...args: any): void
  • recvFromAPI(data: object): void
  • process(bufL: Float32Array, bufR: Float32Array): void

Triolet Interface

interface Triolet {
  dsp: TrioletDSP;
  sendToAPI(...args: any) => void;
}

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i triolet.dsp

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • mohayonao