diff --git a/public/javascripts/big.js b/public/javascripts/big.js index 573c99571c..8ee6b1ff36 100644 --- a/public/javascripts/big.js +++ b/public/javascripts/big.js @@ -1057,7 +1057,8 @@ lichess.storage = { tournament2nd: 'Tournament2nd', tournament3rd: 'Tournament3rd', tournamentOther: 'TournamentOther', - berserk: 'Berserk' + berserk: 'Berserk', + check: 'Check' }; for(var i = 0; i <= 10; i++) names['countDown' + i] = 'CountDown' + i; diff --git a/public/sound/Silence.mp3 b/public/sound/Silence.mp3 new file mode 100644 index 0000000000..ac14e4f79d Binary files /dev/null and b/public/sound/Silence.mp3 differ diff --git a/public/sound/Silence.ogg b/public/sound/Silence.ogg new file mode 100644 index 0000000000..bbe57d4c34 Binary files /dev/null and b/public/sound/Silence.ogg differ diff --git a/public/sound/nes/stock/Check.mp3 b/public/sound/nes/Check.mp3 similarity index 100% rename from public/sound/nes/stock/Check.mp3 rename to public/sound/nes/Check.mp3 diff --git a/public/sound/nes/stock/Check.ogg b/public/sound/nes/Check.ogg similarity index 100% rename from public/sound/nes/stock/Check.ogg rename to public/sound/nes/Check.ogg diff --git a/public/sound/piano/stock/Check.mp3 b/public/sound/piano/Check.mp3 similarity index 100% rename from public/sound/piano/stock/Check.mp3 rename to public/sound/piano/Check.mp3 diff --git a/public/sound/piano/stock/Check.ogg b/public/sound/piano/Check.ogg similarity index 100% rename from public/sound/piano/stock/Check.ogg rename to public/sound/piano/Check.ogg diff --git a/public/sound/standard/Check.mp3 b/public/sound/standard/Check.mp3 new file mode 120000 index 0000000000..973048d4fd --- /dev/null +++ b/public/sound/standard/Check.mp3 @@ -0,0 +1 @@ +../Silence.mp3 \ No newline at end of file diff --git a/public/sound/standard/Check.ogg b/public/sound/standard/Check.ogg new file mode 120000 index 0000000000..4afaecc1d0 --- /dev/null +++ b/public/sound/standard/Check.ogg @@ -0,0 +1 @@ +../Silence.ogg \ No newline at end of file diff --git a/public/sound/test.html b/public/sound/test.html index dd2f62c4c5..03fc58bb8f 100644 --- a/public/sound/test.html +++ b/public/sound/test.html @@ -41,7 +41,8 @@ tournament2nd: 'Tournament2nd', tournament3rd: 'Tournament3rd', tournamentOther: 'TournamentOther', - berserk: 'Berserk' + berserk: 'Berserk', + check: 'Check' }; for(var i = 0; i <= 10; i++) soundNames['countDown' + i] = 'CountDown' + i; $.each(soundSets, function (i, soundSet) { diff --git a/ui/round/src/ctrl.js b/ui/round/src/ctrl.js index d5d467949b..e79c315cee 100644 --- a/ui/round/src/ctrl.js +++ b/ui/round/src/ctrl.js @@ -180,6 +180,7 @@ module.exports = function(opts) { }, check: o.check }); + if (o.check) $.sound.check(); } if (o.clock) { var c = o.clock