◀︎ ▲︎ ▶︎︎

Simple Sequencer App
Synth + delay + detune + filter + LFO

		this.lpf = ctx.createBiquadFilter();
	this.lpf.type = "lowpass";
	this.lpf.Q.value = 20;
	this.lpf.frequency.value = 4000;
	this.angle = 0.0;
	var self = this;
	this.lfo = function() {
		self.angle += 0.1;
		if (self.angle > 2 * Math.PI)
			self.angle -= 2 * Math.PI;
		self.lpf.frequency.value = 4000 + Math.sin(self.angle) * 3000;
	}
	setInterval(this.lfo, 100);