-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpiobaireachd - Copy.html_20211027
259 lines (229 loc) · 14.5 KB
/
piobaireachd - Copy.html_20211027
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CX9WR7KTE7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-CX9WR7KTE7');
</script>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title lang="en-gb">Piobaireachd</title>
<link href="favicon.ico" rel="icon" type="image/x-icon">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Open Sans">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Ubuntu">
<meta content="Donald G Gray" name="author">
<meta content="The classical music of the Great Highland Bagpipe" name="description">
<meta property="og:image" content="http://pipetunes.uk/image/pipetunes.png">
<meta property="og:image:width" content="1280" >
<meta property="og:image:height" content="800" >
<meta property="og:type" content="website">
<meta property="og:title" content="Piobaireachd">
<meta property="og:description" content="The classical music of the Great Highland Bagpipe">
<meta property="og:url" content="http://pipetunes.uk/">
<style type="text/css">
body {background-color: #ffffff;}
h1 {color: #551A8B; font-family: Ubuntu; font-size: 40px; font-weight: normal; text-align: center;}
h2 {color: #551A8B; font-family: Ubuntu; font-size: 18px; font-weight: normal; text-align: center;}
a:link {color: #551A8B;}
a:visited {color: #551A8B;}
a:active {color: #EE0000;}
a.nounderline {text-decoration:none; font-weight:bold;}
a.pdflink {text-decoration:none;}
span.composer {color: #817F73; font-family: Open Sans; font-size: 16px;}
span.song {color: #551A8B; cursor: pointer; font-family: Open Sans; font-size: 16px;}
span.caption {color: #551A8B; font-family: Open Sans; font-size: 16px;}
span.part {color: #551A8B; cursor: pointer; font-family: Open Sans; font-size: 14px;}
span.text {color: #555555; font-family: Open Sans; font-size: 14px; line-height: 1.5;}
span.source {color: #555555; font-family: Open Sans; font-size: 16px;}
</style>
</head>
<body style="margin: 0;">
<div style="position: absolute; top: 0px; width: 100%; height: 140px;"> <!-- background: linear-gradient(#8000ff,#ffffff);">-->
<h1><strong>Piobaireachd</strong></h1>
<div style="position: relative; top: -14px;">
<h2><em>The unique and historic music of the Great Highland Bagpipe brought to you by <a class="nounderline" href="https://songbase.github.io/" target="_blank" rel="noopener noreferrer">Audovia Music</a></em></h2>
</div>
<!--<div style="position: absolute; left: 50%; margin-left: -486px; top: 36px;">
<img title="Audovia Icon"
alt="Audovia Icon" src="image/SongBuilderColourIcon74.png"
style="border: 0px solid;">
</div>-->
</div>
<div align="center" style="background: linear-gradient(to right, #8000ff, white, white, white, #8000ff); width: 972px; position: relative; left: 50%; margin-left: -486px; top: 140px;">
<span class="text"> <hr style="height:1px;border-width:0;color:grey;background-color:grey">
<a href="index.html" style="text-decoration:none;">Light Music</a>
<a href="piobaireachd.html" style="text-decoration:none;"><b>Piobaireachd</b></a>
<a href="https://www.facebook.com/groups/piobaireachd" style="text-decoration:none;" target="_blank" rel="noopener noreferrer">Facebook Group</a>
<a href="https://www.altpibroch.com/" style="text-decoration:none;" target="_blank" rel="noopener noreferrer">Alt Pibroch Club</a>
<hr style="height:1px;border-width:0;color:grey;background-color:grey">
</span>
</div>
<div style="width: 988px; background-color: #ffffff; margin-left: -486px; position: absolute; top: 560px; left: 50%; border-width: 0px 0px 0px 0px; border-style: solid; border-color: white;">
<div align="center">
<span class="text">
<p>
<h2>Click on a song name to play or pause and double-click to rewind.</h2>
</p>
</span>
</div>
</div>
<div style="position: absolute; left: 50%; margin-left: -486px; top: 230px; width: 150px; height: 316px;">
<img title="Purple Tartan"
alt="Purple Tartan" src="image/purpletartanwideleft.jpg"
height="316" width="150"
style="border: 0px solid;">
</div>
<div style="position: absolute; left: 50%; margin-left: 336px; top: 230px; width: 150px; height: 316px;">
<img title="Purple Tartan"
alt="Purple Tartan" src="image/purpletartanwideright.jpg"
height="316" width="150"
style="border: 0px solid;">
</div>
<!-- Start of piobaireachd playlist -->
<!--<div style="position: absolute; left: 50%; margin-left: -486px; top: 230px; background-color: #f4f4f4;">
<div style="border-style: none; height: 296px; width: 952px; overflow: auto; margin-top: 10px; margin-bottom: 10px; margin-left: 20px;">-->
<!--<div style="position: absolute; left: 50%; margin-left: -325px; top: 230px; background-color: #f4f4f4;">
<div style="border-style: none; height: 296px; width: 630px; overflow: auto; margin-top: 10px; margin-bottom: 10px; margin-left: 20px;">-->
<div style="position: absolute; left: 50%; margin-left: -325px; top: 230px; background-color: #f4f4f4;">
<div style="border-style: none; height: 296px; width: 630px; overflow: auto; margin-top: 10px; margin-bottom: 10px; margin-left: 20px;">
<div id="table2_playlist">
</div>
<div id="table2_audio">
</div>
<script type="text/javascript">
var text = '{ "songs" : [' +
'{ "record_type":"song" , "song":"I got a Kiss of the King\'s Hand" , "mp3":"IGotAKissOfTheKingsHand.mp3" , "source":"The Piobaireachd Society Book 7" } ,' +
'{ "record_type":"part" , "song":"Urlar" , "mp3":"IGotAKissOfTheKingsHandUrlar.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation" , "mp3":"IGotAKissOfTheKingsHandVariation.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation Doubling" , "mp3":"IGotAKissOfTheKingsHandVariationDoubling.mp3" } ,' +
'{ "record_type":"part" , "song":"Taorluath" , "mp3":"IGotAKissOfTheKingsHandTaorluath.mp3" } ,' +
'{ "record_type":"part" , "song":"Taorluath Doubling" , "mp3":"IGotAKissOfTheKingsHandTaorluathDoubling.mp3" } ,' +
'{ "record_type":"part" , "song":"Crunluath" , "mp3":"IGotAKissOfTheKingsHandCrunluath.mp3" } ,' +
'{ "record_type":"part" , "song":"Crunluath Doubling" , "mp3":"IGotAKissOfTheKingsHandCrunluathDoubling.mp3" } ,' +
'{ "record_type":"part" , "song":"Crunluath A Mach" , "mp3":"IGotAKissOfTheKingsHandCrunluathAMach.mp3" } ,' +
'{ "record_type":"song" , "song":"The Desperate Battle" , "mp3":"The Desperate Battle-Piobaireachd.mp3" , "source":"The Piobaireachd Society Book 7" } ,' +
'{ "record_type":"part" , "song":"Urlar" , "mp3":"The Desperate Battle-Urlar.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation 1" , "mp3":"The Desperate Battle-Variation 1.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation 1 Doubling" , "mp3":"The Desperate Battle-Variation 1 Doubling.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation 2" , "mp3":"The Desperate Battle-Variation 2.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation 2 Doubling" , "mp3":"The Desperate Battle-Variation 2 Doubling.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation 3" , "mp3":"The Desperate Battle-Variation 3.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation 3 Doubling" , "mp3":"The Desperate Battle-Variation 3 Doubling.mp3" } ,' +
'{ "record_type":"part" , "song":"Taorluath" , "mp3":"The Desperate Battle-Taorluath.mp3" } ,' +
'{ "record_type":"part" , "song":"Taorluath A Mach" , "mp3":"The Desperate Battle-Taorluath A Mach.mp3" } ,' +
'{ "record_type":"part" , "song":"Crunluath" , "mp3":"The Desperate Battle-Crunluath.mp3" } ,' +
'{ "record_type":"part" , "song":"Crunluath A Mach" , "mp3":"The Desperate Battle-Crunluath A Mach.mp3" } ,' +
'{ "record_type":"song" , "song":"The Glen is Mine" , "mp3":"TheGlenIsMine.mp3" , "source":"The Piobaireachd Society Book 6" } ,' +
'{ "record_type":"part" , "song":"Urlar" , "mp3":"TheGlenIsMineUrlar.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation 1" , "mp3":"TheGlenIsMineVariation1.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation 2" , "mp3":"TheGlenIsMineVariation2.mp3" } ,' +
'{ "record_type":"part" , "song":"Variation 3" , "mp3":"TheGlenIsMineVariation3.mp3" } ,' +
'{ "record_type":"part" , "song":"Leamluath" , "mp3":"TheGlenIsMineLeamluath.mp3" } ,' +
'{ "record_type":"part" , "song":"Leamluath Doubling" , "mp3":"TheGlenIsMineLeamluathDoubling.mp3" } ,' +
'{ "record_type":"part" , "song":"Taorluath" , "mp3":"TheGlenIsMineTaorluath.mp3" } ,' +
'{ "record_type":"part" , "song":"Taorluath Doubling" , "mp3":"TheGlenIsMineTaorluathDoubling.mp3" } ,' +
'{ "record_type":"part" , "song":"Crunluath" , "mp3":"TheGlenIsMineCrunluath.mp3" } ,' +
'{ "record_type":"part" , "song":"Crunluath Doubling" , "mp3":"TheGlenIsMineCrunluathDoubling.mp3" } ,' +
'{ "record_type":"part" , "song":"Crunluath A Mach" , "mp3":"TheGlenIsMineCrunluathAMach.mp3" } ' +
']}';
var obj = JSON.parse(text);
var table2_content = '<table width="600" border="0" cellpadding="4" cellspacing="0" style="line-height: 1.0;"><tbody>';
var audio2_content = '';
for (i = 0; i < obj.songs.length; i++)
{
if (obj.songs[i].record_type == "song")
{
if (i > 0)
{
table2_content += '<tr><td> </td></tr>';
}
table2_content += '<tr><td><span title="Click to play or pause and double-click to rewind." ' +
'onclick="playPause(songArray2[' + i + '], audioArray2[' + i + '])" ' +
'ondblclick="onEnd(songArray2[' + i + '], audioArray2[' + i + '])" ' +
'class="song" id="table2_song' + i + '">' + obj.songs[i].song + '</span></td><td><span class="source">' + obj.songs[i].source + '</span></td></tr>';
}
else
{
table2_content += '<tr><td><span title="Click to play or pause and double-click to rewind." ' +
'onclick="playPause(songArray2[' + i + '], audioArray2[' + i + '])" ' +
'ondblclick="onEnd(songArray2[' + i + '], audioArray2[' + i + '])" ' +
'class="part" id="table2_song' + i + '"> ' + obj.songs[i].song + '</span></td></tr>';
}
audio2_content += '<audio id="table2_audio' + i + '" onended="onEnd(songArray2[' + i + '], audioArray2[' + i + '])" src="music/' + obj.songs[i].mp3 + '"></audio>';
}
table2_content += '</tbody></table>';
document.getElementById("table2_playlist").innerHTML = table2_content;
document.getElementById("table2_audio").innerHTML = audio2_content;
var audioArray2 = new Array();
var songArray2 = new Array();
for (i = 0; i < obj.songs.length; i++)
{
audioArray2[i] = document.getElementById("table2_audio" + i);
songArray2[i] = document.getElementById("table2_song" + i);
}
</script>
</div>
</div>
<!-- End of piobaireachd playlist -->
<script type="text/javascript">
function onEnd(song, audio)
{
song.style.color = '#551A8B';
audio.load();
}
function playPause(song, audio)
{
for (i = 0; i < songArray2.length; i++)
{
if (song != songArray2[i])
{
if (!audioArray2[i].paused)
{
songArray2[i].style.color = 'red';
audioArray2[i].pause();
}
}
}
if (audio.paused)
{
song.style.color = 'green';
audio.play();
}
else
{
song.style.color = 'red';
audio.pause();
}
}
</script>
<!--<div style="width: 988px; background-color: #ffffff; margin-left: -486px; position: absolute; top: 606px; left: 50%; border-width: 0px 0px 0px 0px; border-style: solid; border-color: white;">
<span class="text">
<p>
Piobaireachd is the unique and historic music of the Great Highland Bagpipe. It was created within an aural culture and retained through the generations by oral transmission.
</p>
<p>
In Victorian times the music was refined and captured into staff notation.
</p>
<p>
Piobaireachd should be played at a steady pace, allowing the melody to float over the rhythm of the notes.
</p>
</span>
</div>-->
<!-- changed encoding to UTF-8 -->
<div align="center" style="width: 968px; margin: auto; position: absolute; top: 635px; left: 0px; right: 0px;">
<span class="text"><em>
<!--We do not collect personal information on this website.
Where we provide links to websites of other organisations, this privacy notice does not cover how that organisation processes personal information.
We encourage you to read the privacy notices on the other websites you visit.-->
<br>
<br>
Copyright © 2017 - 2021 <a class="nounderline" href="https://songbase.github.io/mywebsite/" target="_blank" rel="noopener noreferrer">Donald G Gray</a></em><br><br>
</span>
</div>
</body>
</html>