-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhorn.html
79 lines (66 loc) · 2.7 KB
/
horn.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title>Nonet - Horn</title>
<link href="fonts/fonts.css" rel="stylesheet">
<link href="nonet.css" rel="stylesheet">
<script src="lib/libINScore.js"></script>
<script src="lib/INScoreJS.js"></script>
<script src="lib/timesync.min.js"></script>
<script src="lib/comm.js"></script>
<script src="lib/client.js"></script>
<!-- ATTENTION ! Ne pas modifier cette page, elle est générée automatiquement à partir de rsrc/template.html. -->
</head>
<body>
<button id="lock" type="button" onclick="ready(this, 'Horn')">Please click</button>
<div class="inscore" id="scene">
<pre>
/ITL/scene/title set txt "Nonet - Horn";
/ITL/scene/title fontSize 38;
/ITL/scene/title color white;
/ITL/scene/title y -0.7;
/ITL/scene/tempo set rect 0.1 0.1;
/ITL/scene/tempo show 0;
/ITL/scene/tempo tempo 60;
/ITL/scene/tempo angle 1;
/ITL/scene/cursor set rect 0.005 0.5;
/ITL/scene/cursor color red;
/ITL/scene load 'inscore/horn.inscore.txt';
/ITL/scene watch PAGEREADY ( /ITL/log write "pages ready", /ITL/scene/sync cursor page* v );
/ITL/scene load 'inscore/player.inscore.txt';
/ITL/scene watch PLAYREADY ( /ITL/scene/control y 0.9 );
/ITL/scene load 'inscore/timeline.inscore.txt';
/ITL/scene watch TIMELINEREADY ( /ITL/scene/tl y 0.75, /ITL/scene/sync cursor tl v );
/ITL/scene/audio set audio 'audio/horn.mp3';
/ITL/scene/audio show 0;
/ITL/scene watch PLAY (
/ITL/scene/cursor tempo '$(/ITL/scene/tempo get tempo)',
/ITL/scene/audio rate '$(/ITL/scene/tempo get angle)',
/ITL/scene/audio play 1,
/ITL/scene/javascript run 'play(1)'
);
/ITL/scene watch PAUSE (
/ITL/scene/cursor tempo 0,
/ITL/scene/audio play 0,
/ITL/scene/javascript run 'play(0)'
);
/ITL/scene watch STOP (
/ITL/scene/cursor tempo 0,
/ITL/scene/cursor date 0,
/ITL/scene/audio play 0,
/ITL/scene/audio vdate 0,
/ITL/scene/javascript run 'play(0)'
);
/ITL/scene watch GOTO ( /ITL/scene/cursor date '$1' '$2', /ITL/scene/audio vdate '$1' '$2' );
/ITL/scene watch GOTOF ( /ITL/scene/cursor date '$1', /ITL/scene/audio vdate '$1' );
/ITL/scene watch GOTOMARK ( /ITL/scene/cursor date '$1' '$2', /ITL/scene/audio vdate '$1' '$2' );
# /ITL/scene watch TEMPO ( /ITL/scene/cursor date '$1' '$2', /ITL/scene/audio vdate '$1' '$2' );
/ITL/scene watch keyDown ' ' ( /ITL/scene/control/play event mouseDown 0 0 );
/ITL/scene watch keyDown '0' ( /ITL/scene event GOTO 0 1 );
</pre>
</div>
</body>
<script>
connectclient("Horn");
</script>
</html>