diff --git a/src/common/js/sound.js b/src/common/js/sound.js index 48df1f93..51ea49e6 100644 --- a/src/common/js/sound.js +++ b/src/common/js/sound.js @@ -1,60 +1,79 @@ - - var audio = null, - Mp3List=[], - num=0; +let audioCtx = null +const bufferCache = new Map() +let chainId = 0 - - function audioMp3(mp3List,audios){ - var WebConfig=JSON.parse(localStorage.getItem("WebConfig")); - audio=audios; - Mp3List=mp3List; - var mp3=new Object(); - mp3.mp3List=mp3List; - mp3.url="/static/sound/"; - if(WebConfig.sound&&WebConfig.sound==2){mp3.url="/static/sound2/";} - - mp3.auto_play=false; - mp3.loop=false; - mp3.Play=function(){ - - audio.src=this.url+this.mp3List[0]; - audio.load(); - audio.play(); - } - mp3.Muted=function(){ - audio.muted ? audio.muted = false : audio.muted = true; - } - mp3.volumeAdd=function(){ - if(audio.volume.toFixed(1)>=1){ - audio.volume=1 - }else{ - audio.volume = audio.volume + 0.1; - } - } - mp3.volumeMinus=function(){ - if(audio.volume.toFixed(1)<=0){ - audio.volume=0 - }else{ - audio.volume = audio.volume - 0.1; - } - } - audio.addEventListener("ended", nextAudio); - return mp3; - } - function nextAudio(){ - var WebConfig=JSON.parse(localStorage.getItem("WebConfig")); - num+=1 - if(num { + if (audioCtx.state === 'suspended') audioCtx.resume() } + document.addEventListener('click', resume, { once: true }) + document.addEventListener('touchstart', resume, { once: true }) + } + if (audioCtx.state === 'suspended') audioCtx.resume() + return audioCtx +} -export {audioMp3}; +function getSoundBase() { + try { + const config = JSON.parse(localStorage.getItem('WebConfig') || '{}') + return config.sound && config.sound == 2 ? '/static/sound2/' : '/static/sound/' + } catch (e) { + return '/static/sound/' + } +} +async function loadBuffer(key) { + if (bufferCache.has(key)) return bufferCache.get(key) + try { + const ctx = getAudioContext() + const url = getSoundBase() + key + const response = await fetch(url) + if (!response.ok) return null + const arrayBuffer = await response.arrayBuffer() + const audioBuffer = await ctx.decodeAudioData(arrayBuffer) + bufferCache.set(key, audioBuffer) + return audioBuffer + } catch (e) { + return null + } +} + +function playBuffer(buffer) { + return new Promise((resolve) => { + const ctx = getAudioContext() + const source = ctx.createBufferSource() + source.buffer = buffer + source.connect(ctx.destination) + source.onended = resolve + source.start(0) + }) +} + +function audioMp3(mp3List, _audioEl) { + const myId = ++chainId + const list = mp3List || [] + + return { + Play() { + ;(async () => { + for (let i = 0; i < list.length; i++) { + if (chainId !== myId) return + const buffer = await loadBuffer(list[i]) + if (!buffer) continue + if (chainId !== myId) return + await playBuffer(buffer) + } + })() + }, + Pause() { + chainId++ + }, + Muted() {}, + volumeAdd() {}, + volumeMinus() {} + } +} + +export { audioMp3 } diff --git a/static/sound/cn/0_point.mp3 b/static/sound/cn/0_point.mp3 new file mode 100644 index 00000000..90136dec Binary files /dev/null and b/static/sound/cn/0_point.mp3 differ diff --git a/static/sound/cn/1_point.mp3 b/static/sound/cn/1_point.mp3 new file mode 100644 index 00000000..f9b60658 Binary files /dev/null and b/static/sound/cn/1_point.mp3 differ diff --git a/static/sound/cn/2_point.mp3 b/static/sound/cn/2_point.mp3 new file mode 100644 index 00000000..c19cab41 Binary files /dev/null and b/static/sound/cn/2_point.mp3 differ diff --git a/static/sound/cn/3_point.mp3 b/static/sound/cn/3_point.mp3 new file mode 100644 index 00000000..e92053cf Binary files /dev/null and b/static/sound/cn/3_point.mp3 differ diff --git a/static/sound/cn/4_point.mp3 b/static/sound/cn/4_point.mp3 new file mode 100644 index 00000000..cece10f7 Binary files /dev/null and b/static/sound/cn/4_point.mp3 differ diff --git a/static/sound/cn/5_point.mp3 b/static/sound/cn/5_point.mp3 new file mode 100644 index 00000000..4651b1fd Binary files /dev/null and b/static/sound/cn/5_point.mp3 differ diff --git a/static/sound/cn/6_point.mp3 b/static/sound/cn/6_point.mp3 new file mode 100644 index 00000000..978f6eea Binary files /dev/null and b/static/sound/cn/6_point.mp3 differ diff --git a/static/sound/cn/7_point.mp3 b/static/sound/cn/7_point.mp3 new file mode 100644 index 00000000..6b3c39ca Binary files /dev/null and b/static/sound/cn/7_point.mp3 differ diff --git a/static/sound/cn/8_point.mp3 b/static/sound/cn/8_point.mp3 new file mode 100644 index 00000000..37389081 Binary files /dev/null and b/static/sound/cn/8_point.mp3 differ diff --git a/static/sound/cn/9_point.mp3 b/static/sound/cn/9_point.mp3 new file mode 100644 index 00000000..d7339148 Binary files /dev/null and b/static/sound/cn/9_point.mp3 differ diff --git a/static/sound/cn/baccarat/b_draw.mp3 b/static/sound/cn/baccarat/b_draw.mp3 new file mode 100644 index 00000000..fc583230 Binary files /dev/null and b/static/sound/cn/baccarat/b_draw.mp3 differ diff --git a/static/sound/cn/baccarat/b_pair.mp3 b/static/sound/cn/baccarat/b_pair.mp3 new file mode 100644 index 00000000..8cbaf105 Binary files /dev/null and b/static/sound/cn/baccarat/b_pair.mp3 differ diff --git a/static/sound/cn/baccarat/b_win.mp3 b/static/sound/cn/baccarat/b_win.mp3 new file mode 100644 index 00000000..a760ce81 Binary files /dev/null and b/static/sound/cn/baccarat/b_win.mp3 differ diff --git a/static/sound/cn/baccarat/banker.mp3 b/static/sound/cn/baccarat/banker.mp3 new file mode 100644 index 00000000..da5eb065 Binary files /dev/null and b/static/sound/cn/baccarat/banker.mp3 differ diff --git a/static/sound/cn/baccarat/p_draw.mp3 b/static/sound/cn/baccarat/p_draw.mp3 new file mode 100644 index 00000000..78e6823a Binary files /dev/null and b/static/sound/cn/baccarat/p_draw.mp3 differ diff --git a/static/sound/cn/baccarat/p_pair.mp3 b/static/sound/cn/baccarat/p_pair.mp3 new file mode 100644 index 00000000..84430997 Binary files /dev/null and b/static/sound/cn/baccarat/p_pair.mp3 differ diff --git a/static/sound/cn/baccarat/p_win.mp3 b/static/sound/cn/baccarat/p_win.mp3 new file mode 100644 index 00000000..d0949020 Binary files /dev/null and b/static/sound/cn/baccarat/p_win.mp3 differ diff --git a/static/sound/cn/baccarat/player.mp3 b/static/sound/cn/baccarat/player.mp3 new file mode 100644 index 00000000..b8ce9475 Binary files /dev/null and b/static/sound/cn/baccarat/player.mp3 differ diff --git a/static/sound/cn/baccarat/tie.mp3 b/static/sound/cn/baccarat/tie.mp3 new file mode 100644 index 00000000..4e0b418f Binary files /dev/null and b/static/sound/cn/baccarat/tie.mp3 differ diff --git a/static/sound/cn/baccarat/w_p1.mp3 b/static/sound/cn/baccarat/w_p1.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/baccarat/w_p1.mp3 differ diff --git a/static/sound/cn/baccarat/w_p2.mp3 b/static/sound/cn/baccarat/w_p2.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/baccarat/w_p2.mp3 differ diff --git a/static/sound/cn/baccarat/w_p3.mp3 b/static/sound/cn/baccarat/w_p3.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/baccarat/w_p3.mp3 differ diff --git a/static/sound/cn/baccarat/w_p5.mp3 b/static/sound/cn/baccarat/w_p5.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/baccarat/w_p5.mp3 differ diff --git a/static/sound/cn/baccarat/w_p6.mp3 b/static/sound/cn/baccarat/w_p6.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/baccarat/w_p6.mp3 differ diff --git a/static/sound/cn/baccarat/w_p7.mp3 b/static/sound/cn/baccarat/w_p7.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/baccarat/w_p7.mp3 differ diff --git a/static/sound/cn/check.mp3 b/static/sound/cn/check.mp3 new file mode 100644 index 00000000..17fafa6f Binary files /dev/null and b/static/sound/cn/check.mp3 differ diff --git a/static/sound/cn/dice/w_p1.mp3 b/static/sound/cn/dice/w_p1.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/dice/w_p1.mp3 differ diff --git a/static/sound/cn/dice/w_p2.mp3 b/static/sound/cn/dice/w_p2.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/dice/w_p2.mp3 differ diff --git a/static/sound/cn/dice/w_p3.mp3 b/static/sound/cn/dice/w_p3.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/dice/w_p3.mp3 differ diff --git a/static/sound/cn/dice/w_p5.mp3 b/static/sound/cn/dice/w_p5.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/dice/w_p5.mp3 differ diff --git a/static/sound/cn/dice/w_p6.mp3 b/static/sound/cn/dice/w_p6.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/dice/w_p6.mp3 differ diff --git a/static/sound/cn/dice/w_p7.mp3 b/static/sound/cn/dice/w_p7.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/dice/w_p7.mp3 differ diff --git a/static/sound/cn/last_10_seconds.mp3 b/static/sound/cn/last_10_seconds.mp3 new file mode 100644 index 00000000..e5c30c45 Binary files /dev/null and b/static/sound/cn/last_10_seconds.mp3 differ diff --git a/static/sound/cn/lh/dragon.mp3 b/static/sound/cn/lh/dragon.mp3 new file mode 100644 index 00000000..10b84e47 Binary files /dev/null and b/static/sound/cn/lh/dragon.mp3 differ diff --git a/static/sound/cn/lh/dragon_win.mp3 b/static/sound/cn/lh/dragon_win.mp3 new file mode 100644 index 00000000..05d8829b Binary files /dev/null and b/static/sound/cn/lh/dragon_win.mp3 differ diff --git a/static/sound/cn/lh/tie.mp3 b/static/sound/cn/lh/tie.mp3 new file mode 100644 index 00000000..f02ec9a6 Binary files /dev/null and b/static/sound/cn/lh/tie.mp3 differ diff --git a/static/sound/cn/lh/tiger.mp3 b/static/sound/cn/lh/tiger.mp3 new file mode 100644 index 00000000..512dced0 Binary files /dev/null and b/static/sound/cn/lh/tiger.mp3 differ diff --git a/static/sound/cn/lh/tiger_win.mp3 b/static/sound/cn/lh/tiger_win.mp3 new file mode 100644 index 00000000..32dbc363 Binary files /dev/null and b/static/sound/cn/lh/tiger_win.mp3 differ diff --git a/static/sound/cn/lh/w_p1.mp3 b/static/sound/cn/lh/w_p1.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/lh/w_p1.mp3 differ diff --git a/static/sound/cn/lh/w_p2.mp3 b/static/sound/cn/lh/w_p2.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/lh/w_p2.mp3 differ diff --git a/static/sound/cn/lh/w_p3.mp3 b/static/sound/cn/lh/w_p3.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/lh/w_p3.mp3 differ diff --git a/static/sound/cn/lh/w_p5.mp3 b/static/sound/cn/lh/w_p5.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/lh/w_p5.mp3 differ diff --git a/static/sound/cn/lh/w_p6.mp3 b/static/sound/cn/lh/w_p6.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/lh/w_p6.mp3 differ diff --git a/static/sound/cn/lh/w_p7.mp3 b/static/sound/cn/lh/w_p7.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/lh/w_p7.mp3 differ diff --git a/static/sound/cn/nn/banker.mp3 b/static/sound/cn/nn/banker.mp3 new file mode 100644 index 00000000..728ea6ef Binary files /dev/null and b/static/sound/cn/nn/banker.mp3 differ diff --git a/static/sound/cn/nn/bull_1.mp3 b/static/sound/cn/nn/bull_1.mp3 new file mode 100644 index 00000000..091eb696 Binary files /dev/null and b/static/sound/cn/nn/bull_1.mp3 differ diff --git a/static/sound/cn/nn/bull_2.mp3 b/static/sound/cn/nn/bull_2.mp3 new file mode 100644 index 00000000..a7d45080 Binary files /dev/null and b/static/sound/cn/nn/bull_2.mp3 differ diff --git a/static/sound/cn/nn/bull_3.mp3 b/static/sound/cn/nn/bull_3.mp3 new file mode 100644 index 00000000..03550efe Binary files /dev/null and b/static/sound/cn/nn/bull_3.mp3 differ diff --git a/static/sound/cn/nn/bull_4.mp3 b/static/sound/cn/nn/bull_4.mp3 new file mode 100644 index 00000000..d4e6f017 Binary files /dev/null and b/static/sound/cn/nn/bull_4.mp3 differ diff --git a/static/sound/cn/nn/bull_5.mp3 b/static/sound/cn/nn/bull_5.mp3 new file mode 100644 index 00000000..47baafd9 Binary files /dev/null and b/static/sound/cn/nn/bull_5.mp3 differ diff --git a/static/sound/cn/nn/bull_6.mp3 b/static/sound/cn/nn/bull_6.mp3 new file mode 100644 index 00000000..2a5f832e Binary files /dev/null and b/static/sound/cn/nn/bull_6.mp3 differ diff --git a/static/sound/cn/nn/bull_7.mp3 b/static/sound/cn/nn/bull_7.mp3 new file mode 100644 index 00000000..ed6090fb Binary files /dev/null and b/static/sound/cn/nn/bull_7.mp3 differ diff --git a/static/sound/cn/nn/bull_8.mp3 b/static/sound/cn/nn/bull_8.mp3 new file mode 100644 index 00000000..01fad51f Binary files /dev/null and b/static/sound/cn/nn/bull_8.mp3 differ diff --git a/static/sound/cn/nn/bull_9.mp3 b/static/sound/cn/nn/bull_9.mp3 new file mode 100644 index 00000000..79aec8ec Binary files /dev/null and b/static/sound/cn/nn/bull_9.mp3 differ diff --git a/static/sound/cn/nn/bull_bull.mp3 b/static/sound/cn/nn/bull_bull.mp3 new file mode 100644 index 00000000..85473b49 Binary files /dev/null and b/static/sound/cn/nn/bull_bull.mp3 differ diff --git a/static/sound/cn/nn/five_pictur_bull.mp3 b/static/sound/cn/nn/five_pictur_bull.mp3 new file mode 100644 index 00000000..28d666b6 Binary files /dev/null and b/static/sound/cn/nn/five_pictur_bull.mp3 differ diff --git a/static/sound/cn/nn/no_bull.mp3 b/static/sound/cn/nn/no_bull.mp3 new file mode 100644 index 00000000..7c3fad09 Binary files /dev/null and b/static/sound/cn/nn/no_bull.mp3 differ diff --git a/static/sound/cn/nn/player_1.mp3 b/static/sound/cn/nn/player_1.mp3 new file mode 100644 index 00000000..b2dd0660 Binary files /dev/null and b/static/sound/cn/nn/player_1.mp3 differ diff --git a/static/sound/cn/nn/player_2.mp3 b/static/sound/cn/nn/player_2.mp3 new file mode 100644 index 00000000..90daaca9 Binary files /dev/null and b/static/sound/cn/nn/player_2.mp3 differ diff --git a/static/sound/cn/nn/player_3.mp3 b/static/sound/cn/nn/player_3.mp3 new file mode 100644 index 00000000..fa2556df Binary files /dev/null and b/static/sound/cn/nn/player_3.mp3 differ diff --git a/static/sound/cn/nn/w_p1.mp3 b/static/sound/cn/nn/w_p1.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/nn/w_p1.mp3 differ diff --git a/static/sound/cn/nn/w_p2.mp3 b/static/sound/cn/nn/w_p2.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/nn/w_p2.mp3 differ diff --git a/static/sound/cn/nn/w_p3.mp3 b/static/sound/cn/nn/w_p3.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/nn/w_p3.mp3 differ diff --git a/static/sound/cn/nn/w_p5.mp3 b/static/sound/cn/nn/w_p5.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/nn/w_p5.mp3 differ diff --git a/static/sound/cn/nn/w_p6.mp3 b/static/sound/cn/nn/w_p6.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/nn/w_p6.mp3 differ diff --git a/static/sound/cn/nn/w_p7.mp3 b/static/sound/cn/nn/w_p7.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/nn/w_p7.mp3 differ diff --git a/static/sound/cn/push.mp3 b/static/sound/cn/push.mp3 new file mode 100644 index 00000000..70040846 Binary files /dev/null and b/static/sound/cn/push.mp3 differ diff --git a/static/sound/cn/show_card.mp3 b/static/sound/cn/show_card.mp3 new file mode 100644 index 00000000..228c2dc9 Binary files /dev/null and b/static/sound/cn/show_card.mp3 differ diff --git a/static/sound/cn/start_betting.mp3 b/static/sound/cn/start_betting.mp3 new file mode 100644 index 00000000..3dbc02b2 Binary files /dev/null and b/static/sound/cn/start_betting.mp3 differ diff --git a/static/sound/cn/stop_betting.mp3 b/static/sound/cn/stop_betting.mp3 new file mode 100644 index 00000000..a45b310c Binary files /dev/null and b/static/sound/cn/stop_betting.mp3 differ diff --git a/static/sound/cn/time.mp3 b/static/sound/cn/time.mp3 new file mode 100644 index 00000000..9af3ca69 Binary files /dev/null and b/static/sound/cn/time.mp3 differ diff --git a/static/sound/cn/toning/w_p1.mp3 b/static/sound/cn/toning/w_p1.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/toning/w_p1.mp3 differ diff --git a/static/sound/cn/toning/w_p2.mp3 b/static/sound/cn/toning/w_p2.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/toning/w_p2.mp3 differ diff --git a/static/sound/cn/toning/w_p3.mp3 b/static/sound/cn/toning/w_p3.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/toning/w_p3.mp3 differ diff --git a/static/sound/cn/toning/w_p5.mp3 b/static/sound/cn/toning/w_p5.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/toning/w_p5.mp3 differ diff --git a/static/sound/cn/toning/w_p6.mp3 b/static/sound/cn/toning/w_p6.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/toning/w_p6.mp3 differ diff --git a/static/sound/cn/toning/w_p7.mp3 b/static/sound/cn/toning/w_p7.mp3 new file mode 100644 index 00000000..4a45e95a Binary files /dev/null and b/static/sound/cn/toning/w_p7.mp3 differ diff --git a/static/sound/en/0_point.mp3 b/static/sound/en/0_point.mp3 new file mode 100644 index 00000000..07b52f68 Binary files /dev/null and b/static/sound/en/0_point.mp3 differ diff --git a/static/sound/en/1_point.mp3 b/static/sound/en/1_point.mp3 new file mode 100644 index 00000000..a85bdc5a Binary files /dev/null and b/static/sound/en/1_point.mp3 differ diff --git a/static/sound/en/2_point.mp3 b/static/sound/en/2_point.mp3 new file mode 100644 index 00000000..281383b8 Binary files /dev/null and b/static/sound/en/2_point.mp3 differ diff --git a/static/sound/en/3_point.mp3 b/static/sound/en/3_point.mp3 new file mode 100644 index 00000000..d7dc1b89 Binary files /dev/null and b/static/sound/en/3_point.mp3 differ diff --git a/static/sound/en/4_point.mp3 b/static/sound/en/4_point.mp3 new file mode 100644 index 00000000..59d1428a Binary files /dev/null and b/static/sound/en/4_point.mp3 differ diff --git a/static/sound/en/5_point.mp3 b/static/sound/en/5_point.mp3 new file mode 100644 index 00000000..f545f143 Binary files /dev/null and b/static/sound/en/5_point.mp3 differ diff --git a/static/sound/en/6_point.mp3 b/static/sound/en/6_point.mp3 new file mode 100644 index 00000000..d5fb2030 Binary files /dev/null and b/static/sound/en/6_point.mp3 differ diff --git a/static/sound/en/7_point.mp3 b/static/sound/en/7_point.mp3 new file mode 100644 index 00000000..d3940acd Binary files /dev/null and b/static/sound/en/7_point.mp3 differ diff --git a/static/sound/en/8_point.mp3 b/static/sound/en/8_point.mp3 new file mode 100644 index 00000000..cec14dfa Binary files /dev/null and b/static/sound/en/8_point.mp3 differ diff --git a/static/sound/en/9_point.mp3 b/static/sound/en/9_point.mp3 new file mode 100644 index 00000000..4bf0a35d Binary files /dev/null and b/static/sound/en/9_point.mp3 differ diff --git a/static/sound/en/baccarat/b_draw.mp3 b/static/sound/en/baccarat/b_draw.mp3 new file mode 100644 index 00000000..b58935f0 Binary files /dev/null and b/static/sound/en/baccarat/b_draw.mp3 differ diff --git a/static/sound/en/baccarat/b_pair.mp3 b/static/sound/en/baccarat/b_pair.mp3 new file mode 100644 index 00000000..202f0092 Binary files /dev/null and b/static/sound/en/baccarat/b_pair.mp3 differ diff --git a/static/sound/en/baccarat/b_win.mp3 b/static/sound/en/baccarat/b_win.mp3 new file mode 100644 index 00000000..5d13d38a Binary files /dev/null and b/static/sound/en/baccarat/b_win.mp3 differ diff --git a/static/sound/en/baccarat/banker.mp3 b/static/sound/en/baccarat/banker.mp3 new file mode 100644 index 00000000..66b2ce26 Binary files /dev/null and b/static/sound/en/baccarat/banker.mp3 differ diff --git a/static/sound/en/baccarat/p_draw.mp3 b/static/sound/en/baccarat/p_draw.mp3 new file mode 100644 index 00000000..56fbb7ea Binary files /dev/null and b/static/sound/en/baccarat/p_draw.mp3 differ diff --git a/static/sound/en/baccarat/p_pair.mp3 b/static/sound/en/baccarat/p_pair.mp3 new file mode 100644 index 00000000..7df97780 Binary files /dev/null and b/static/sound/en/baccarat/p_pair.mp3 differ diff --git a/static/sound/en/baccarat/p_win.mp3 b/static/sound/en/baccarat/p_win.mp3 new file mode 100644 index 00000000..95ae5e82 Binary files /dev/null and b/static/sound/en/baccarat/p_win.mp3 differ diff --git a/static/sound/en/baccarat/player.mp3 b/static/sound/en/baccarat/player.mp3 new file mode 100644 index 00000000..a0759bd2 Binary files /dev/null and b/static/sound/en/baccarat/player.mp3 differ diff --git a/static/sound/en/baccarat/tie.mp3 b/static/sound/en/baccarat/tie.mp3 new file mode 100644 index 00000000..8f2a5e83 Binary files /dev/null and b/static/sound/en/baccarat/tie.mp3 differ diff --git a/static/sound/en/baccarat/w_p1.mp3 b/static/sound/en/baccarat/w_p1.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/baccarat/w_p1.mp3 differ diff --git a/static/sound/en/baccarat/w_p2.mp3 b/static/sound/en/baccarat/w_p2.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/baccarat/w_p2.mp3 differ diff --git a/static/sound/en/baccarat/w_p3.mp3 b/static/sound/en/baccarat/w_p3.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/baccarat/w_p3.mp3 differ diff --git a/static/sound/en/baccarat/w_p5.mp3 b/static/sound/en/baccarat/w_p5.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/baccarat/w_p5.mp3 differ diff --git a/static/sound/en/baccarat/w_p6.mp3 b/static/sound/en/baccarat/w_p6.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/baccarat/w_p6.mp3 differ diff --git a/static/sound/en/baccarat/w_p7.mp3 b/static/sound/en/baccarat/w_p7.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/baccarat/w_p7.mp3 differ diff --git a/static/sound/en/check.mp3 b/static/sound/en/check.mp3 new file mode 100644 index 00000000..9fe854d1 Binary files /dev/null and b/static/sound/en/check.mp3 differ diff --git a/static/sound/en/dice/w_p1.mp3 b/static/sound/en/dice/w_p1.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/dice/w_p1.mp3 differ diff --git a/static/sound/en/dice/w_p2.mp3 b/static/sound/en/dice/w_p2.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/dice/w_p2.mp3 differ diff --git a/static/sound/en/dice/w_p3.mp3 b/static/sound/en/dice/w_p3.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/dice/w_p3.mp3 differ diff --git a/static/sound/en/dice/w_p5.mp3 b/static/sound/en/dice/w_p5.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/dice/w_p5.mp3 differ diff --git a/static/sound/en/dice/w_p6.mp3 b/static/sound/en/dice/w_p6.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/dice/w_p6.mp3 differ diff --git a/static/sound/en/dice/w_p7.mp3 b/static/sound/en/dice/w_p7.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/dice/w_p7.mp3 differ diff --git a/static/sound/en/last_10_seconds.mp3 b/static/sound/en/last_10_seconds.mp3 new file mode 100644 index 00000000..51d991e0 Binary files /dev/null and b/static/sound/en/last_10_seconds.mp3 differ diff --git a/static/sound/en/lh/dragon.mp3 b/static/sound/en/lh/dragon.mp3 new file mode 100644 index 00000000..1c80b6ea Binary files /dev/null and b/static/sound/en/lh/dragon.mp3 differ diff --git a/static/sound/en/lh/dragon_win.mp3 b/static/sound/en/lh/dragon_win.mp3 new file mode 100644 index 00000000..1f8e021d Binary files /dev/null and b/static/sound/en/lh/dragon_win.mp3 differ diff --git a/static/sound/en/lh/tie.mp3 b/static/sound/en/lh/tie.mp3 new file mode 100644 index 00000000..4cbb8129 Binary files /dev/null and b/static/sound/en/lh/tie.mp3 differ diff --git a/static/sound/en/lh/tiger.mp3 b/static/sound/en/lh/tiger.mp3 new file mode 100644 index 00000000..50d0c033 Binary files /dev/null and b/static/sound/en/lh/tiger.mp3 differ diff --git a/static/sound/en/lh/tiger_win.mp3 b/static/sound/en/lh/tiger_win.mp3 new file mode 100644 index 00000000..c222cda1 Binary files /dev/null and b/static/sound/en/lh/tiger_win.mp3 differ diff --git a/static/sound/en/lh/w_p1.mp3 b/static/sound/en/lh/w_p1.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/lh/w_p1.mp3 differ diff --git a/static/sound/en/lh/w_p2.mp3 b/static/sound/en/lh/w_p2.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/lh/w_p2.mp3 differ diff --git a/static/sound/en/lh/w_p3.mp3 b/static/sound/en/lh/w_p3.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/lh/w_p3.mp3 differ diff --git a/static/sound/en/lh/w_p5.mp3 b/static/sound/en/lh/w_p5.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/lh/w_p5.mp3 differ diff --git a/static/sound/en/lh/w_p6.mp3 b/static/sound/en/lh/w_p6.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/lh/w_p6.mp3 differ diff --git a/static/sound/en/lh/w_p7.mp3 b/static/sound/en/lh/w_p7.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/lh/w_p7.mp3 differ diff --git a/static/sound/en/nn/banker.mp3 b/static/sound/en/nn/banker.mp3 new file mode 100644 index 00000000..326f65f8 Binary files /dev/null and b/static/sound/en/nn/banker.mp3 differ diff --git a/static/sound/en/nn/bull_1.mp3 b/static/sound/en/nn/bull_1.mp3 new file mode 100644 index 00000000..fcdca1c9 Binary files /dev/null and b/static/sound/en/nn/bull_1.mp3 differ diff --git a/static/sound/en/nn/bull_2.mp3 b/static/sound/en/nn/bull_2.mp3 new file mode 100644 index 00000000..bb2b6beb Binary files /dev/null and b/static/sound/en/nn/bull_2.mp3 differ diff --git a/static/sound/en/nn/bull_3.mp3 b/static/sound/en/nn/bull_3.mp3 new file mode 100644 index 00000000..3c699cef Binary files /dev/null and b/static/sound/en/nn/bull_3.mp3 differ diff --git a/static/sound/en/nn/bull_4.mp3 b/static/sound/en/nn/bull_4.mp3 new file mode 100644 index 00000000..956d76ef Binary files /dev/null and b/static/sound/en/nn/bull_4.mp3 differ diff --git a/static/sound/en/nn/bull_5.mp3 b/static/sound/en/nn/bull_5.mp3 new file mode 100644 index 00000000..87c43236 Binary files /dev/null and b/static/sound/en/nn/bull_5.mp3 differ diff --git a/static/sound/en/nn/bull_6.mp3 b/static/sound/en/nn/bull_6.mp3 new file mode 100644 index 00000000..ce13ec76 Binary files /dev/null and b/static/sound/en/nn/bull_6.mp3 differ diff --git a/static/sound/en/nn/bull_7.mp3 b/static/sound/en/nn/bull_7.mp3 new file mode 100644 index 00000000..fb844394 Binary files /dev/null and b/static/sound/en/nn/bull_7.mp3 differ diff --git a/static/sound/en/nn/bull_8.mp3 b/static/sound/en/nn/bull_8.mp3 new file mode 100644 index 00000000..b02c4c4a Binary files /dev/null and b/static/sound/en/nn/bull_8.mp3 differ diff --git a/static/sound/en/nn/bull_9.mp3 b/static/sound/en/nn/bull_9.mp3 new file mode 100644 index 00000000..664482c3 Binary files /dev/null and b/static/sound/en/nn/bull_9.mp3 differ diff --git a/static/sound/en/nn/bull_bull.mp3 b/static/sound/en/nn/bull_bull.mp3 new file mode 100644 index 00000000..dc0d2f66 Binary files /dev/null and b/static/sound/en/nn/bull_bull.mp3 differ diff --git a/static/sound/en/nn/five_pictur_bull.mp3 b/static/sound/en/nn/five_pictur_bull.mp3 new file mode 100644 index 00000000..f3f8452f Binary files /dev/null and b/static/sound/en/nn/five_pictur_bull.mp3 differ diff --git a/static/sound/en/nn/no_bull.mp3 b/static/sound/en/nn/no_bull.mp3 new file mode 100644 index 00000000..b29cce9c Binary files /dev/null and b/static/sound/en/nn/no_bull.mp3 differ diff --git a/static/sound/en/nn/player_1.mp3 b/static/sound/en/nn/player_1.mp3 new file mode 100644 index 00000000..2cf74822 Binary files /dev/null and b/static/sound/en/nn/player_1.mp3 differ diff --git a/static/sound/en/nn/player_2.mp3 b/static/sound/en/nn/player_2.mp3 new file mode 100644 index 00000000..3c5e6c13 Binary files /dev/null and b/static/sound/en/nn/player_2.mp3 differ diff --git a/static/sound/en/nn/player_3.mp3 b/static/sound/en/nn/player_3.mp3 new file mode 100644 index 00000000..d96ab11b Binary files /dev/null and b/static/sound/en/nn/player_3.mp3 differ diff --git a/static/sound/en/nn/w_p1.mp3 b/static/sound/en/nn/w_p1.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/nn/w_p1.mp3 differ diff --git a/static/sound/en/nn/w_p2.mp3 b/static/sound/en/nn/w_p2.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/nn/w_p2.mp3 differ diff --git a/static/sound/en/nn/w_p3.mp3 b/static/sound/en/nn/w_p3.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/nn/w_p3.mp3 differ diff --git a/static/sound/en/nn/w_p5.mp3 b/static/sound/en/nn/w_p5.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/nn/w_p5.mp3 differ diff --git a/static/sound/en/nn/w_p6.mp3 b/static/sound/en/nn/w_p6.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/nn/w_p6.mp3 differ diff --git a/static/sound/en/nn/w_p7.mp3 b/static/sound/en/nn/w_p7.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/nn/w_p7.mp3 differ diff --git a/static/sound/en/push.mp3 b/static/sound/en/push.mp3 new file mode 100644 index 00000000..fa1cfd4f Binary files /dev/null and b/static/sound/en/push.mp3 differ diff --git a/static/sound/en/show_card.mp3 b/static/sound/en/show_card.mp3 new file mode 100644 index 00000000..bbb268c8 Binary files /dev/null and b/static/sound/en/show_card.mp3 differ diff --git a/static/sound/en/start_betting.mp3 b/static/sound/en/start_betting.mp3 new file mode 100644 index 00000000..75187aac Binary files /dev/null and b/static/sound/en/start_betting.mp3 differ diff --git a/static/sound/en/stop_betting.mp3 b/static/sound/en/stop_betting.mp3 new file mode 100644 index 00000000..20b8394b Binary files /dev/null and b/static/sound/en/stop_betting.mp3 differ diff --git a/static/sound/en/toning/w_p1.mp3 b/static/sound/en/toning/w_p1.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/toning/w_p1.mp3 differ diff --git a/static/sound/en/toning/w_p2.mp3 b/static/sound/en/toning/w_p2.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/toning/w_p2.mp3 differ diff --git a/static/sound/en/toning/w_p3.mp3 b/static/sound/en/toning/w_p3.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/toning/w_p3.mp3 differ diff --git a/static/sound/en/toning/w_p5.mp3 b/static/sound/en/toning/w_p5.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/toning/w_p5.mp3 differ diff --git a/static/sound/en/toning/w_p6.mp3 b/static/sound/en/toning/w_p6.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/toning/w_p6.mp3 differ diff --git a/static/sound/en/toning/w_p7.mp3 b/static/sound/en/toning/w_p7.mp3 new file mode 100644 index 00000000..5ed94b9f Binary files /dev/null and b/static/sound/en/toning/w_p7.mp3 differ