@mohayonao/operator

    0.1.4 • Public • Published

    OPERATOR

    Build Status NPM Version License

    simple operator

    Installation

    Node.js

    npm install @mohayonao/operator

    Browser

    API

    Operator

    • constructor(audioContext: AudioContext)

    Instance attribute

    • context: AudioContext
    • type: string
    • frequency: AudioParam
    • detune: AudioParam
    • gain: AudioParam
    • onended: function

    Instance methods

    • connect(destination: AudioNode): void
    • disconnect(): void
    • start(when: number): void
    • stop(when: number): void
    • setPeriodicWave(periodicWave: PeriodicWave): void
    • setEnvelope(envelope: any, target: string = 'gain'): void
    • getEnvelope(target: string = 'gain'): void

    AudioGraph

    operator

    See Also

    License

    MIT

    Keywords

    none

    Install

    npm i @mohayonao/operator

    DownloadsWeekly Downloads

    4

    Version

    0.1.4

    License

    MIT

    Last publish

    Collaborators

    • mohayonao