Javascript Music
14 Apr 2022 - Richard Chong
To play this virtual instrument, use the number row of your keyboard. The "1" key represents the lowest pitch (defaults to middle c) and the "+" key represents the highest pitch. Each key is separated from its left and right neighbors by a semitone. You can shift the register by an octave using your up and down arrow keys. Also feel free to play around with the oscillation type and gain level below. The code for the oscilloscope and spectroscope was taken from Professor Dobrian's WebAudio Example 2.
01