louder, equalized sounds

This commit is contained in:
Thibault Duplessis 2014-10-19 16:23:52 +02:00
parent 8b30f8f553
commit 14b236994a
7 changed files with 6 additions and 6 deletions

View file

@ -568,16 +568,16 @@ var storage = {
var hasMp3 = !!a.canPlayType && a.canPlayType('audio/mpeg;');
var ext = hasOgg ? 'ogg' : 'mp3';
var audio = {
dong: new Audio(baseUrl + 'dong.ogg'),
moveW: new Audio(baseUrl + 'wood_light_hit_1.' + ext),
moveB: new Audio(baseUrl + 'wood_light_hit_1.' + ext),
take: new Audio(baseUrl + 'wood_capture_hit_and_roll.' + ext)
dong: new Audio(baseUrl + 'dong2.' + ext),
moveW: new Audio(baseUrl + 'move2.' + ext),
moveB: new Audio(baseUrl + 'move2.' + ext),
take: new Audio(baseUrl + 'take2.' + ext)
};
var volumes = {
dong: 0.6,
dong: 1,
moveW: 1,
moveB: 1,
take: 0.3
take: 1
};
var canPlay = hasOgg || hasMp3;
var $control = $('#sound_control');

BIN
public/sound/dong2.mp3 Normal file

Binary file not shown.

BIN
public/sound/dong2.ogg Normal file

Binary file not shown.

BIN
public/sound/move2.mp3 Normal file

Binary file not shown.

BIN
public/sound/move2.ogg Normal file

Binary file not shown.

BIN
public/sound/take2.mp3 Normal file

Binary file not shown.

BIN
public/sound/take2.ogg Normal file

Binary file not shown.