xxxxxxxxxx
41
<html>
<head>
<meta charset="UTF-8" />
<title>WebAudioXML Subtractive Synth</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/addons/p5.sound.min.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="synth">
<div class="text">
<h3>WAXML-SUBTRACTIVE-2</h3>
<label>Filter:
<input type="range" value="0.5" min="0" max="1" step="0.01" data-waxml-input-set="MIDI:ControlChange:1:11=this.value"/>
</label>
</div>
<waxml-meter fftSize="8192" width="100" height="50" type="oscilloscope"></waxml-meter>
<waxml-meter width="100" height="50" type="FFT" maxFrequency="10000" colors="#44f, #99ff, #ccf" ></waxml-meter>
<waxml-meter class="VU" width="50" height="20" type="loudness" timeframe="1s"#7373FDDecibels="0" minDecibels="-40" colors="green, yellow, red" segments="60,20,20"></waxml-meter>
<waxml-midi-controller type="keyboard" width="600" height="100" keyCommands="zsxdcvgbhnjmq2w3er5t6y7ui" labels="zsxdcvgbhnjmq2w3er5t6y7ui" channel="1" min="48" max="72" ></waxml-midi-controller>
</div>
<p>Built with <a href="https://waxml.org" target="_blank">WebAudioXML</a> - a research project by <a href="https://scholar.google.com/citations?user=_MP4CYgAAAAJ&hl=sv&oi=ao" target="_blank">Hans Lindetorp</a></p>
<script src="WebAudioXML.js" data-source="synth-subtractive.xml"></script>
<script src="sketch.js"></script>
</body>
</html>