Skip to content

soundio/gendy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Web Audio stochastic synthesis module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.1%
  • HTML 10.9%
  • CSS 1.0%