Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gregjopa/step-sequencer
a simple step sequencer designed to use native nodes in the Web Audio API
https://github.com/gregjopa/step-sequencer
Last synced: 23 days ago
JSON representation
a simple step sequencer designed to use native nodes in the Web Audio API
- Host: GitHub
- URL: https://github.com/gregjopa/step-sequencer
- Owner: gregjopa
- Created: 2012-09-04T15:49:23.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-09-04T15:51:56.000Z (about 12 years ago)
- Last Synced: 2023-03-11T15:11:44.793Z (over 1 year ago)
- Language: JavaScript
- Size: 91.8 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# step-sequencer.js
## Overviewstep-sequencer.js is a simple step sequencer designed to use native nodes in the Web Audio API.
## Example usage
```javascript
var context = new webkitAudioContext();// create a new step sequencer with parameters:
// (audio context, step length, sequence of frequences)
var song1 = new StepSequencer(context, 1, [440, 660, 440, 400]);// method to inject other audio nodes at the end of the graph
song1.setupAudio();// start playing sequence
song1.play();```