diff --git a/web/js/main.js b/web/js/main.js index 9bb0b48..550cb48 100644 --- a/web/js/main.js +++ b/web/js/main.js @@ -181,7 +181,7 @@ function setLeftPoints(newPoints) { $(".pointsLeft").text(newPoints); $("#mPunkteLeft").val(newPoints); if(sounds && (display || serverSound)) { - audio = new Audio('./sounds/zahlRichtig.mp3'); + audio = new Audio('./sounds/zahlRichtig.ogg'); audio.play(); } } @@ -190,14 +190,14 @@ function setRightPoints(newPoints) { $(".pointsRight").text(newPoints); $("#mPunkteRight").val(newPoints); if(sounds && (display || serverSound)) { - audio = new Audio('./sounds/zahlRichtig.mp3'); + audio = new Audio('./sounds/zahlRichtig.ogg'); audio.play(); } } function startAnswerFail() { if(sounds && (display || serverSound)) { - answerFail = new Audio('./sounds/failFinal.mp3'); + answerFail = new Audio('./sounds/failFinal.ogg'); answerFail.volume = answerFailVolume; answerFail.play(); } @@ -216,7 +216,7 @@ function startSchweinchen() { $("#displayQuestions").hide(); if(sounds && (display || serverSound)) { - schweinchen = new Audio('./sounds/schweinchen.wav'); + schweinchen = new Audio('./sounds/schweinchen.ogg'); schweinchen.volume = schweinchenVolume; schweinchen.play(); } @@ -252,7 +252,7 @@ function showIntro() { $(".noIntro").hide(); $(".intro").show(); if(sounds && (display || serverSound)) { - intro = new Audio('./sounds/intro.mp3'); + intro = new Audio('./sounds/intro.ogg'); intro.volume = introVolume; intro.play(); } @@ -390,7 +390,7 @@ function setAnswer(index, answer) { var el = $($("#answers").find(answer_select)[index]); el.empty(); if(sounds && (display || serverSound)) { - audio = new Audio('./sounds/textRichtig.mp3'); + audio = new Audio('./sounds/textRichtig.ogg'); audio.play(); } el.typed({ @@ -413,7 +413,7 @@ function setAnz(index, nr) { var el = $($("#answers").find(points_select)[index]); el.text(nr); if(sounds && (display || serverSound)) { - audio = new Audio('./sounds/zahlRichtig.mp3'); + audio = new Audio('./sounds/zahlRichtig.ogg'); audio.play(); } recalcSum(nr); diff --git a/web/js/websocket.js b/web/js/websocket.js index a2cbec0..bbbea07 100644 --- a/web/js/websocket.js +++ b/web/js/websocket.js @@ -95,7 +95,7 @@ var connectWs = function() { if($(".marker"+value).css("color") == "rgb(127, 115, 115)") { $(".marker"+value).css("color","rgb(211, 16, 16)"); if(sounds && (display || serverSound)) { - audio = new Audio('./sounds/fail.mp3'); + audio = new Audio('./sounds/fail.ogg'); audio.play(); } } else { diff --git a/web/sounds/fail.mp3 b/web/sounds/fail.mp3 deleted file mode 100644 index 3951dd0..0000000 Binary files a/web/sounds/fail.mp3 and /dev/null differ diff --git a/web/sounds/fail.ogg b/web/sounds/fail.ogg new file mode 100644 index 0000000..5184b23 Binary files /dev/null and b/web/sounds/fail.ogg differ diff --git a/web/sounds/failOrginal.mp3 b/web/sounds/failOrginal.mp3 deleted file mode 100644 index cd8e76a..0000000 Binary files a/web/sounds/failOrginal.mp3 and /dev/null differ diff --git a/web/sounds/failOrginal.ogg b/web/sounds/failOrginal.ogg new file mode 100644 index 0000000..30ebae3 Binary files /dev/null and b/web/sounds/failOrginal.ogg differ diff --git a/web/sounds/fail_old.mp3 b/web/sounds/fail_old.mp3 deleted file mode 100644 index 4914c59..0000000 Binary files a/web/sounds/fail_old.mp3 and /dev/null differ diff --git a/web/sounds/fail_old.ogg b/web/sounds/fail_old.ogg new file mode 100644 index 0000000..e8e2461 Binary files /dev/null and b/web/sounds/fail_old.ogg differ diff --git a/web/sounds/failfinal.mp3 b/web/sounds/failfinal.mp3 deleted file mode 100755 index cd8e76a..0000000 Binary files a/web/sounds/failfinal.mp3 and /dev/null differ diff --git a/web/sounds/failfinal.ogg b/web/sounds/failfinal.ogg new file mode 100644 index 0000000..09a10fc Binary files /dev/null and b/web/sounds/failfinal.ogg differ diff --git a/web/sounds/intro.mp3 b/web/sounds/intro.mp3 deleted file mode 100644 index 25ba0b8..0000000 Binary files a/web/sounds/intro.mp3 and /dev/null differ diff --git a/web/sounds/intro.ogg b/web/sounds/intro.ogg new file mode 100644 index 0000000..fb1d036 Binary files /dev/null and b/web/sounds/intro.ogg differ diff --git a/web/sounds/schweinchen.ogg b/web/sounds/schweinchen.ogg new file mode 100644 index 0000000..0830e85 Binary files /dev/null and b/web/sounds/schweinchen.ogg differ diff --git a/web/sounds/schweinchen.wav b/web/sounds/schweinchen.wav deleted file mode 100644 index ef3ba53..0000000 Binary files a/web/sounds/schweinchen.wav and /dev/null differ diff --git a/web/sounds/textRichtig.mp3 b/web/sounds/textRichtig.mp3 deleted file mode 100644 index ac8a13c..0000000 Binary files a/web/sounds/textRichtig.mp3 and /dev/null differ diff --git a/web/sounds/textRichtig.ogg b/web/sounds/textRichtig.ogg new file mode 100644 index 0000000..c97413e Binary files /dev/null and b/web/sounds/textRichtig.ogg differ diff --git a/web/sounds/zahlRichtig.mp3 b/web/sounds/zahlRichtig.mp3 deleted file mode 100644 index 11798f7..0000000 Binary files a/web/sounds/zahlRichtig.mp3 and /dev/null differ diff --git a/web/sounds/zahlRichtig.ogg b/web/sounds/zahlRichtig.ogg new file mode 100644 index 0000000..1c6e022 Binary files /dev/null and b/web/sounds/zahlRichtig.ogg differ