|
|
@ -44,7 +44,7 @@ function populateContributions(contributions) {
|
|
|
|
|
|
|
|
|
|
|
|
function createSection(contribution) {
|
|
|
|
function createSection(contribution) {
|
|
|
|
let section = reference.cloneNode(true);
|
|
|
|
let section = reference.cloneNode(true);
|
|
|
|
section.id = contribution.moment.replace("'","");
|
|
|
|
section.id = contribution.moment.replace("'", "");
|
|
|
|
section.querySelector(".moment").innerHTML = contribution.moment;
|
|
|
|
section.querySelector(".moment").innerHTML = contribution.moment;
|
|
|
|
section.querySelector(".title").innerHTML = contribution.title;
|
|
|
|
section.querySelector(".title").innerHTML = contribution.title;
|
|
|
|
section.querySelector(".author").innerHTML = contribution.author;
|
|
|
|
section.querySelector(".author").innerHTML = contribution.author;
|
|
|
@ -74,20 +74,20 @@ function createIndexSection(contribution) {
|
|
|
|
let tracks = contribution.audio;
|
|
|
|
let tracks = contribution.audio;
|
|
|
|
tracks.forEach((track) => {
|
|
|
|
tracks.forEach((track) => {
|
|
|
|
let row = document.createElement("tr");
|
|
|
|
let row = document.createElement("tr");
|
|
|
|
let col1 = document.createElement("td");
|
|
|
|
let sym = document.createElement("td");
|
|
|
|
let col2 = document.createElement("td");
|
|
|
|
let filename = document.createElement("td");
|
|
|
|
col1.setAttribute("class", "symbol");
|
|
|
|
sym.setAttribute("class", "symbol");
|
|
|
|
col2.setAttribute("class", "filename");
|
|
|
|
sym.innerHTML = symbols[track];
|
|
|
|
col2.innerHTML = track;
|
|
|
|
sym.style.fontFamily = "Arial, sans-serif";
|
|
|
|
row.appendChild(col1);
|
|
|
|
filename.setAttribute("class", "filename");
|
|
|
|
row.appendChild(col2);
|
|
|
|
filename.innerHTML = track;
|
|
|
|
|
|
|
|
row.appendChild(sym);
|
|
|
|
|
|
|
|
row.appendChild(filename);
|
|
|
|
table.appendChild(row);
|
|
|
|
table.appendChild(row);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
trackList.appendChild(title);
|
|
|
|
trackList.appendChild(title);
|
|
|
|
trackList.appendChild(table);
|
|
|
|
trackList.appendChild(table);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function printViewToggle() {
|
|
|
|
function printViewToggle() {
|
|
|
@ -106,3 +106,57 @@ function printViewToggle() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const symbols = {
|
|
|
|
|
|
|
|
"stream_01.mp3": "i1",
|
|
|
|
|
|
|
|
"stream_02.mp3": "i2",
|
|
|
|
|
|
|
|
"stream_03.mp3": "i3",
|
|
|
|
|
|
|
|
"stream_04.mp3": "i4",
|
|
|
|
|
|
|
|
"stream_05.mp3": "i5",
|
|
|
|
|
|
|
|
"stream_06.mp3": "i6",
|
|
|
|
|
|
|
|
"stream_07.mp3": "i7",
|
|
|
|
|
|
|
|
"stream_08.mp3": "i8",
|
|
|
|
|
|
|
|
"stream_09.mp3": "i9",
|
|
|
|
|
|
|
|
"stream_10.mp3": "i10",
|
|
|
|
|
|
|
|
"u.wav": "!!",
|
|
|
|
|
|
|
|
"t.wav": "-\\-",
|
|
|
|
|
|
|
|
"s.wav": "\\-",
|
|
|
|
|
|
|
|
"r.wav": "||",
|
|
|
|
|
|
|
|
"q.wav": "!—",
|
|
|
|
|
|
|
|
"p.wav": "!-",
|
|
|
|
|
|
|
|
"o.wav": ">/",
|
|
|
|
|
|
|
|
"n.wav": "\\",
|
|
|
|
|
|
|
|
"m.wav": "~~",
|
|
|
|
|
|
|
|
"l.wav": "/",
|
|
|
|
|
|
|
|
"k.wav": "ú",
|
|
|
|
|
|
|
|
"j.wav": ",-",
|
|
|
|
|
|
|
|
"i.wav": "|",
|
|
|
|
|
|
|
|
"h.wav": "^^",
|
|
|
|
|
|
|
|
"g.wav": "^",
|
|
|
|
|
|
|
|
"f.wav": "%",
|
|
|
|
|
|
|
|
"e.wav": "!",
|
|
|
|
|
|
|
|
"d.wav": "-",
|
|
|
|
|
|
|
|
"c.wav": ",,",
|
|
|
|
|
|
|
|
"b.wav": "_",
|
|
|
|
|
|
|
|
"a.wav": ".",
|
|
|
|
|
|
|
|
"sample8_Entracte3.mp3": "-c",
|
|
|
|
|
|
|
|
"sample6_Entracte3.mp3": "—C",
|
|
|
|
|
|
|
|
"sample3_Entracte3.mp3": "~c",
|
|
|
|
|
|
|
|
"sample7_Entracte3.mp3": "c-",
|
|
|
|
|
|
|
|
"sample4_Entracte3.mp3": "c—",
|
|
|
|
|
|
|
|
"sample2_Entracte3.mp3": "C~",
|
|
|
|
|
|
|
|
"sample5_Entracte3.mp3": "c/",
|
|
|
|
|
|
|
|
"sample1_Entracte3.mp3": "c\\",
|
|
|
|
|
|
|
|
"sample6_Entracte_2_2.mp3": "/b",
|
|
|
|
|
|
|
|
"sample5_Entracte_2_2.mp3": "\\b",
|
|
|
|
|
|
|
|
"sample4_Entracte_2_2.mp3": "=B",
|
|
|
|
|
|
|
|
"sample3_Entracte_2_2.mp3": ">B",
|
|
|
|
|
|
|
|
"sample2_Entracte_2_2.mp3": "b>",
|
|
|
|
|
|
|
|
"sample1_Entracte_2_2.mp3": "<b",
|
|
|
|
|
|
|
|
"sample5_Entracte_1.mp3": "a",
|
|
|
|
|
|
|
|
"sample4_Entracte_1.mp3": "]A",
|
|
|
|
|
|
|
|
"sample3_Entracte_1.mp3": ")a",
|
|
|
|
|
|
|
|
"sample2_Entracte_1.mp3": "A~",
|
|
|
|
|
|
|
|
"sample1_Entracte_1.mp3": "a|",
|
|
|
|
|
|
|
|
"voice-hierarchy-week03.mp3": "iii",
|
|
|
|
|
|
|
|
"Laughing-Opera-Soprano-Violet-Duet.wav": "ii",
|
|
|
|
|
|
|
|
};
|
|
|
|