mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
removes extra voices, updates .hex files
This commit is contained in:
parent
2bbf3d5820
commit
66e0323881
|
@ -365,7 +365,7 @@ void play_goodbye_tone()
|
|||
}
|
||||
|
||||
uint8_t starting_note = 0x0C;
|
||||
int offset = 7;
|
||||
int offset = 0;
|
||||
|
||||
void process_action_user(keyrecord_t *record) {
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -319,7 +319,7 @@ void matrix_init_user(void) {
|
|||
#ifdef AUDIO_ENABLE
|
||||
|
||||
uint8_t starting_note = 0x0C;
|
||||
int offset = 7;
|
||||
int offset = 0;
|
||||
|
||||
void process_action_user(keyrecord_t *record) {
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -54,28 +54,28 @@ float voice_envelope(float frequency) {
|
|||
}
|
||||
break;
|
||||
|
||||
case octave_crunch:
|
||||
polyphony_rate = 0;
|
||||
switch (compensated_index) {
|
||||
case 0 ... 9:
|
||||
case 20 ... 24:
|
||||
case 30 ... 32:
|
||||
frequency = frequency / 2;
|
||||
note_timbre = TIMBRE_12;
|
||||
break;
|
||||
// case octave_crunch:
|
||||
// polyphony_rate = 0;
|
||||
// switch (compensated_index) {
|
||||
// case 0 ... 9:
|
||||
// case 20 ... 24:
|
||||
// case 30 ... 32:
|
||||
// frequency = frequency / 2;
|
||||
// note_timbre = TIMBRE_12;
|
||||
// break;
|
||||
|
||||
case 10 ... 19:
|
||||
case 25 ... 29:
|
||||
case 33 ... 35:
|
||||
frequency = frequency * 2;
|
||||
note_timbre = TIMBRE_12;
|
||||
break;
|
||||
// case 10 ... 19:
|
||||
// case 25 ... 29:
|
||||
// case 33 ... 35:
|
||||
// frequency = frequency * 2;
|
||||
// note_timbre = TIMBRE_12;
|
||||
// break;
|
||||
|
||||
default:
|
||||
note_timbre = TIMBRE_12;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
// default:
|
||||
// note_timbre = TIMBRE_12;
|
||||
// break;
|
||||
// }
|
||||
// break;
|
||||
|
||||
case duty_osc:
|
||||
// This slows the loop down a substantial amount, so higher notes may freeze
|
||||
|
|
Loading…
Reference in a new issue