Skip to content

Commit 70dad26

Browse files
author
mars
committed
added expression parameter
1 parent 6890c13 commit 70dad26

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

WebSource/patch.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ <h2>Input select</h2>
2828
<input type="range" min="0" max="1" step="0.001" oninput="patch.update(2, this.value)"/>
2929
<div id="p4"></div>
3030
<input type="range" min="0" max="1" step="0.001" oninput="patch.update(3, this.value)"/>
31+
<div id="p5"></div>
32+
<input type="range" min="0" max="1" step="0.001" oninput="patch.update(4, this.value)"/>
3133
<div/>
3234
<input id="pushbutton" type="button"
3335
onmousedown="toggleButton(); return false;"
@@ -57,6 +59,7 @@ <h2>Diagnostics</h2>
5759
document.getElementById("p2").innerHTML = "<h3>"+patch.getParameterName(1)+"</h3>";
5860
document.getElementById("p3").innerHTML = "<h3>"+patch.getParameterName(2)+"</h3>";
5961
document.getElementById("p4").innerHTML = "<h3>"+patch.getParameterName(3)+"</h3>";
62+
document.getElementById("p5").innerHTML = "<h3>"+patch.getParameterName(4)+"</h3>";
6063
// patch.update("Volume", 0.1);
6164
patch.scope.lineColor = "blue";
6265
patch.scope.lineThickness = 2;

0 commit comments

Comments
 (0)