client/pianoroll/app/index.html
author rougeronj
Fri, 10 Apr 2015 16:45:34 +0200
changeset 145 a8052f8ab19c
parent 85 eff9460bd4f2
permissions -rw-r--r--
add range options to scale the scene depending on this range. Add rescale function to rescale the scene when a note is out of this range

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="I.R.I">
    <link rel="shortcut icon" href="/img/favicon.ico">

    <title>Piano Roll</title>

    <!-- Custom styles for this template -->
    <link href="/css/pianoroll.css" rel="stylesheet">
</head>

<body>
    <h1>Piano Roll</h1>
    <noscript>You must enable JavaScript</noscript>
    <div id="canvasContainer"></div>
    <p>
        <a href="#" onclick="clearInterval(moveInterval); clearInterval(verticalLinesInterval); return false;">stop intervals</a>
        - temps écoulé : <span id="myspan"></span>
    </p>
    <pre id="log"></pre>
    <script src="/js/libs-pianoroll.js"></script>
    <script>
    var eventCode = "test_1";
    </script>
    <script src="/js/pianoroll.js"></script>
    <script>
    var moveInterval = pianoroll.moveInterval;
    var verticalLinesInterval = pianoroll.verticalLinesInterval;
    </script>
</body>
</html>