Use subtler UI sounds (#945)

* Use subtler UI sounds

Fixes #858

* Second round of volume tweaks
This commit is contained in:
Feross Aboukhadijeh
2016-09-22 23:42:43 +02:00
committed by DC
parent 1c0c3d07ff
commit b8bdf65514
8 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ const config = require('../../config')
const {InvalidSoundNameError} = require('./errors')
const path = require('path')
const VOLUME = 0.15
const VOLUME = 0.3
/* Cache of Audio elements, for instant playback */
const cache = {}
@@ -19,7 +19,7 @@ const sounds = {
},
DELETE: {
url: 'file://' + path.join(config.STATIC_PATH, 'sound', 'delete.wav'),
volume: VOLUME
volume: VOLUME * 0.5
},
DISABLE: {
url: 'file://' + path.join(config.STATIC_PATH, 'sound', 'disable.wav'),
@@ -39,7 +39,7 @@ const sounds = {
},
PLAY: {
url: 'file://' + path.join(config.STATIC_PATH, 'sound', 'play.wav'),
volume: VOLUME
volume: VOLUME * 1.25
},
STARTUP: {
url: 'file://' + path.join(config.STATIC_PATH, 'sound', 'startup.wav'),