summaryrefslogtreecommitdiffstats
path: root/quantum/keymap_common.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-15 19:44:07 +0200
committerJack Humbert <jack.humb@gmail.com>2016-04-15 19:44:07 +0200
commitee2ee7f4f049dda385a9db7dddd8e7e91681315b (patch)
tree05010164aa11846bb055b436292966befe80aac3 /quantum/keymap_common.c
parentbb0836c62016f482f517771a9f5a8dbc68bd0a1c (diff)
downloadqmk_firmware-ee2ee7f4f049dda385a9db7dddd8e7e91681315b.tar.gz
qmk_firmware-ee2ee7f4f049dda385a9db7dddd8e7e91681315b.tar.xz
audio note length fixes
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r--quantum/keymap_common.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c
index ae6cddb34..e3030a886 100644
--- a/quantum/keymap_common.c
+++ b/quantum/keymap_common.c
@@ -33,11 +33,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "audio.h"
float goodbye[][2] = {
- {440.0*pow(2.0,(67)/12.0), 400},
- {0, 50},
- {440.0*pow(2.0,(60)/12.0), 400},
- {0, 50},
- {440.0*pow(2.0,(55)/12.0), 600},
+ {440.0*pow(2.0,(67)/12.0), 8},
+ {440.0*pow(2.0,(60)/12.0), 8},
+ {440.0*pow(2.0,(55)/12.0), 12},
};
#endif
@@ -90,7 +88,7 @@ action_t action_for_key(uint8_t layer, keypos_t key)
action_t action;
clear_keyboard();
#ifdef AUDIO_ENABLE
- play_notes(&goodbye, 5, false);
+ play_notes(&goodbye, 3, false);
#endif
_delay_ms(250);
#ifdef ATREUS_ASTAR