• Jump To … +
    index.js conga.js cowbell.js hihat.js kick.js mini.js monosynth.js pluck.js snare.js tom.js tonewheel.js delay.js feedback-comb-filter.js filter.js gain-envelope.js gain.js lfo.js mono-buffer.js noise.js osc-bank.js osc.js pulse.js sample.js soft-clipper.js source.js vca.js vcf.js vco.js wave-shaper.js synth.js
  • ¶

    Gain

    import { createAudioNode } from "../synth"
  • ¶

    Gain produces changes in volume

    /**
     * Create a Gain node.
     */
    export default function Gain (ac, state) {
      return createAudioNode(ac, "Gain", Gain.params).update(state)
    }
    Gain.params = ["gain"]