Single oscillator subtractive synthesizer built on the web audio api & tone.js as a project for Fullstack Academy's 4-day hackathon during the 2018 autumn cohort. Open to pull requests.
Your keyboard simulates a piano. Rendering parameter changes requires initializing a new note.
A = C3 // K = C4
oscillator waveform selection
- square
- sawtooth
- sine
- triangle
lowpass filter w/ -24 db rolloff
- cutoff range : 0 - 3500 Hz
- resonance Q control : 0 - 15
feedback delay built from tone.js
- delay time : 0 - 1
- output feedback level : 0 - 0.4
- dynamically renders the waveform using the Web Audio API analyser node
This is not a true monophonic synthesizer since you can play more than one note at a time. Each note that is hit fires off it's own unique oscillator so polyphony is possible :)
Built on a fork from react-webaudio-examples
This project was bootstrapped with Create React App