dynamically create touches
[nanofun.git] / index.html
index a48ff02..71d13f2 100644 (file)
@@ -8,27 +8,19 @@
  </head>
  <body>
   <div id="nanopad">
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
-   <div class="nanotouch"> <span class="name"></span> <span class="duration"></span> <input type="file"/> </div>
+   <div class="nanotouch" data-touch="0">
+     <span class="name"></span>
+     <span class="duration"></span>
+     <input type="file">
+     <input class="touch-gain" type="range" min="0" max="127" value="127">
+   </div>
   </div>
   <div id="msg"></div>
   <div id="midiinputs"></div>
   <div id="midioutputs"></div>
-  <form><input id="gain" type="range" min="0" max="127" value="127"></form>
+  <form>
+    <br><input id="master-gain" type="range" min="0" max="127" value="127">
+  </form>
   <div id="gitclone">Source code at <a href="https://git.0d.be/?p=nanofun.git">https://git.0d.be/?p=nanofun.git</a></div>
  </body>
 </html>