triolet.dsp
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