Author: Andrew Bernstein
Contributors: Ben Taylor
Overview: GendyJS is a Web Audio API dynamic stochastic synthesis oscilator. Dynamic stochastic synthesis is a technique pioneered by the composer and theoretician Iannis Xenakis.
How to Use GendyJS
Download the gendy.js file and include it in a script tag at the top of your page.
<head> <script src="gendy.js"></script> </head>
Create a GendyJS instance, specifying the Audio Context as a creation argument.
var gendy = new Gendy(audioContext);
Users have access to 6 parameters to control the oscilator.
gendy.freq = 0.5;
X Axis Step Size
gendy.xStep = 10;
Y Axis Bounds
gendy.yMax = 0.5; gendy.yMin = 0.1;
Y Step Size
gendy.yStep = 0.25;
breakpoints property can be set followed by a call to the
init() method to reinitialize the waveform with a new number of breakpoints.
gendy.breakpoints = 15; gendy.init();
GendyJS is licensed as open source software under the MIT license