PageRenderTime 576ms CodeModel.GetById 232ms app.highlight 152ms RepoModel.GetById 190ms app.codeStats 0ms

/flash/src/editor/editor.html

http://echo-nest-remix.googlecode.com/
HTML | 35 lines | 28 code | 7 blank | 0 comment | 0 complexity | 888af8c773c02a2b11528ba9f664e7d1 MD5 | raw file
 1<html>
 2<head>
 3<title>Remix JS Editor</title>
 4<link rel="stylesheet" href="editor.css" type="text/css" media="screen"/>
 5<script type="text/javascript" src="../js/utils.js"></script>
 6<script type="text/javascript" src="../js/audio.js"></script>
 7<script type="text/javascript" src="../js/selection.js"></script>
 8<script type="text/javascript" src="../js/sorting.js"></script>
 9<script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js" type="text/javascript"></script>
10<script type="text/javascript" src="remix.js"></script>
11</head>
12<body>
13
14<h1>Remix JS Editor</h1>
15
16<div id="swf"></div>
17
18<div id="progress-wrapper"><div id="progress" style="width: 0%;"></div></div>
19
20<div><textarea id="remixJs" rows="20" cols="60">function remix (analysis) {
21    var bars = analysis.bars;
22    var samples = [];
23
24    for (var i = 0; i &lt; bars.length; i++) {
25        samples.push(bars[i].children()[0]);
26    }
27
28    return samples;
29}</textarea></div>
30
31<script type="text/javascript">
32Remix.init();
33</script>
34</body>
35</html>