-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
69 lines (60 loc) · 3.04 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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Concert Master Hero</title>
</head>
<body onLoad="draw()">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
width="1" height="1" id="synthesizer" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="synthesizer.swf" />
<param name="quality" value="low" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="swfs/synthesizer.swf" quality="low" wmode="transparent" bgcolor="#ffffff"
width="1" height="1" name="synthesizer" align="middle"
allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<div id="sidebar">
<p><a href="javascript: recordSong();"><span id="record_toggle">Click here to start recording.</span></a></p>
<div id="records"></div>
<div id="scoreboard">
<p><strong><u>Song Score</u></strong>: <span id="song_score"></span></p>
</div>
<b><u>Concert Master Hero</u></b><br>
<ul>
<li>Charles Yeh</li>
<li>Dylan Field</li>
<li>Devin Finzer</li>
</ul>
<p><b><u>Songs</u></b><br>
<script>
var songNames = new Array("Tutorial", "Twinkle Twinkle Little Star", "Humoresque", "Allstar", "Canon in D");
document.write("<ul>");
for(var a = 0; a < songNames.length; a++){
document.write("<li>");
document.write("<a href='javascript:demoSong(\"" + songNames[a] + "\")'>Listen to " + songNames[a] + "</a><br>");
document.write("<a href='javascript:playSong(\"" + songNames[a] + "\")'>Play " + songNames[a] + "</a><br>");
document.write("</li>");
}
document.write("<\ul>");
</script>
<br />
<b><u>Instructions</u></b><br>
Move the mouse as you would a violin bow. Moving the bow within a colored triangle plays one string.</p>
<p>The keys GDS simulate basic fingering on the violin and can be used to play notes.</p>
<p>Play with no fingers for empty yellow circles. Else, press the key that is inside the circle.</p>
</div>
<script type="text/javascript" src="scripts/heroDraw.js"></script>
<script type="text/javascript" src="scripts/main.js"></script>
<script type="text/javascript" src="scripts/io.js"></script>
<script type="text/javascript" src="scripts/music.js"></script>
<script type="text/javascript" src="scripts/flashCommunicator.js"></script>
<script type="text/javascript" src="scripts/raphael-min.js"></script>
</body>
</html>