Skip to content

Commit

Permalink
Use subtler UI sounds (#945)
Browse files Browse the repository at this point in the history
* Use subtler UI sounds

Fixes #858

* Second round of volume tweaks
  • Loading branch information
feross authored and dcposch committed Sep 22, 2016
1 parent 1c0c3d0 commit b8bdf65
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/lib/sound.js
Expand Up @@ -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 = {}
Expand All @@ -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'),
Expand All @@ -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'),
Expand Down
Binary file modified static/sound/add.wav
Binary file not shown.
Binary file modified static/sound/disable.wav
Binary file not shown.
Binary file modified static/sound/done.wav
Binary file not shown.
Binary file modified static/sound/enable.wav
Binary file not shown.
Binary file modified static/sound/error.wav
Binary file not shown.
Binary file modified static/sound/play.wav
Binary file not shown.
Binary file modified static/sound/startup.wav
Binary file not shown.

0 comments on commit b8bdf65

Please sign in to comment.