A Web Audio stochastic synthesis module
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
js
README.md
gendy.js
gendy_constuctor_demo.html
index.html
spline.html
style.css

README.md

GendyJS

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);

Controls

Users have access to 6 parameters to control the oscilator.

Frequency

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;

The 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();

Demo

GendyJS Demo

License

GendyJS is licensed as open source software under the MIT license