-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (27 loc) · 1.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<html lang="en" ng-app="jswalk">
<head>
<title>Markov walks with Ragas</title>
<link rel="stylesheet" href="style.css" />
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script>
<script src="https://tonejs.github.io/build/Tone.min.js"></script>
<script src="main.js"></script>
</head>
<body>
<table id="table" ng-controller="tableController">
<caption>Sargam</caption>
<thead>
<th ng-repeat="heading in table.headings">{{heading}}</th>
</thead>
<tfoot>
<th ng-repeat="heading in table.headings">
{{heading}}
</th>
</tfoot>
<tbody>
<tr ng-repeat="column in table.columns">
<th><input type="button" value="{{column.heading + ' ->'}}" ng-click="play(column.heading)"></input></th>
<td ng-repeat="row in column.rows track by $index"><input type="number" min="0" step="0.1" ng-model="column.rows[$index]"></input></td>
</tr>
</tbody>
</table>
</html>