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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0
  • 0.7.0
    1
  • 0.4.0
    0
  • 0.2.0
    0

Package Sidebar

Install

npm i triolet.dsp

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • mohayonao