-
Notifications
You must be signed in to change notification settings - Fork 0
/
rando.html
40 lines (31 loc) · 1.17 KB
/
rando.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
<html>
<title>Random Musical Prompter</title>
<head>
</head>
<body>
<div style="
text-align: center;
font-family: Helvetica;
font-size: 300%;
margin: 50px 50px 50px 50px;
">
<script language="JavaScript">
<!--
var a = new Array ();
a[0] = "Write a beat lasting 8 bars";
a[1] = "Write a melody lasting 8 bars";
a[2] = "Write a bass line lasting 8 bars";
a[3] = "Work out the melody from the chorus of whatever is #1 in the <a target=\"_blank\" href=\"https://www.officialcharts.com/charts/singles-chart/\">UK charts</a>";
a[4] = "Work out the melody from the chorus of whatever is the first song on deezer flow";
a[5] = "Write a 4-chord progression using the <a target=\"_blank\" href=\"https://randscullard.com/CircleOfFifths/\">Circle of Fifths</a>";
a[6] = "Work out the melody for part of a video game soundtrack";
a[7] = "Learn to play the chorus for the top song in <a target=\"_blank\" href=\"https://www.ultimate-guitar.com/top/tabs?order=rating&period=7_days\">this list</a>";
a[8] = "Learn to play the chorus for whatever is the first song in deezer flow";
var i = Math.floor(a.length*Math.random())
document.write(a[i]);
console.log(a);
//-->
</script>
</div>
</body>
</html>