adds selection of waveform to each voice

the code still needs to be optimized, since I am repeating the
code a bunch
This commit is contained in:
2023-10-08 02:45:04 -07:00
parent 6dad2f054a
commit 481c9e1313
2 changed files with 38 additions and 10 deletions

View File

@@ -73,13 +73,13 @@
<form style="padding: 5px">
<legend>Voice 3</legend>
<input type="radio" id="wave3_sinwave" name="wavechoice2" value="sine" checked>
<input type="radio" id="wave3_sinwave" name="wavechoice3" value="sine" checked>
<label for="wave3_sinwave">Sine</label>
<input type="radio" id="wave3_squarewave" name="wavechoice2" value="square">
<input type="radio" id="wave3_squarewave" name="wavechoice3" value="square">
<label for="wave3_squarewave">Square</label>
<input type="radio" id="wave3_triwave" name="wavechoice2" value="triangle">
<input type="radio" id="wave3_triwave" name="wavechoice3" value="triangle">
<label for="wave3_triwave">Triangle</label>
<input type="radio" id="wave3_sawtoothwave" name="wavechoice2" value="sawtooth">
<input type="radio" id="wave3_sawtoothwave" name="wavechoice3" value="sawtooth">
<label for="wave3_sawtoothwave">Sawtooth</label>
</form>
<div style="padding: 5px">