A web-based keyboard implemented in React.
This synthesizer uses the Web Audio API to allow you to play in real-time, and also edit attributes of the sound. The keyboard is only active after the ENABLE KEYBOARD button is pressed, and disabled after the button is pressed again.
This project is build using Vite.
- App
- Keyboard
- Envelope
- Key
- Toggles AudioContext Oscillator #type
- Uses AudioContext Oscillator #detune to apply slight variations of tuning over 4 Oscillators
- Affects AudioContext Oscillator #frequency, referencing a global object which maps frequencies to note values
- Affects AudioContext level over time
- Download this repository
- yarn
- yarn start
- Open localhost in your browser
- Jam out on some funky tunes!