aboutsummaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-29 12:42:55 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-29 12:42:55 -0400
commit66e0323881a5a3da65e14daeec41a1e9cfbda431 (patch)
tree89f8bbb0765288800937c3c6c9fbbd001c821c11 /quantum
parent2bbf3d5820734eabbcf47c3072be6fdcaa9e36cc (diff)
downloadqmk_firmware-66e0323881a5a3da65e14daeec41a1e9cfbda431.tar.gz
qmk_firmware-66e0323881a5a3da65e14daeec41a1e9cfbda431.zip
removes extra voices, updates .hex files
Diffstat (limited to 'quantum')
-rw-r--r--quantum/audio/voices.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/quantum/audio/voices.c b/quantum/audio/voices.c
index 0921bd593..d2316ba1b 100644
--- a/quantum/audio/voices.c
+++ b/quantum/audio/voices.c
@@ -54,28 +54,28 @@ float voice_envelope(float frequency) {
54 } 54 }
55 break; 55 break;
56 56
57 case octave_crunch: 57 // case octave_crunch:
58 polyphony_rate = 0; 58 // polyphony_rate = 0;
59 switch (compensated_index) { 59 // switch (compensated_index) {
60 case 0 ... 9: 60 // case 0 ... 9:
61 case 20 ... 24: 61 // case 20 ... 24:
62 case 30 ... 32: 62 // case 30 ... 32:
63 frequency = frequency / 2; 63 // frequency = frequency / 2;
64 note_timbre = TIMBRE_12; 64 // note_timbre = TIMBRE_12;
65 break; 65 // break;
66 66
67 case 10 ... 19: 67 // case 10 ... 19:
68 case 25 ... 29: 68 // case 25 ... 29:
69 case 33 ... 35: 69 // case 33 ... 35:
70 frequency = frequency * 2; 70 // frequency = frequency * 2;
71 note_timbre = TIMBRE_12; 71 // note_timbre = TIMBRE_12;
72 break; 72 // break;
73 73
74 default: 74 // default:
75 note_timbre = TIMBRE_12; 75 // note_timbre = TIMBRE_12;
76 break; 76 // break;
77 } 77 // }
78 break; 78 // break;
79 79
80 case duty_osc: 80 case duty_osc:
81 // This slows the loop down a substantial amount, so higher notes may freeze 81 // This slows the loop down a substantial amount, so higher notes may freeze