summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/config.c b/config.c
index e29900f..7467e8e 100644
--- a/config.c
+++ b/config.c
@@ -436,14 +436,20 @@ config_reverse_strings()
436} 436}
437 437
438void 438void
439config_flip_y() 439config_flip_pitch()
440{ 440{
441 int i; 441 int i;
442 g_midi_three_octave_split_inverse ^= 1;
443 g_config_source = source_edit;
444 for (i=0; i<g_string_count; ++i) 442 for (i=0; i<g_string_count; ++i)
445 if (g_string_conf[i].modifier == pitch_bend_up) 443 if (g_string_conf[i].modifier == pitch_bend_up)
446 g_string_conf[i].modifier = pitch_bend_down; 444 g_string_conf[i].modifier = pitch_bend_down;
447 else if (g_string_conf[i].modifier == pitch_bend_down) 445 else if (g_string_conf[i].modifier == pitch_bend_down)
448 g_string_conf[i].modifier = pitch_bend_up; 446 g_string_conf[i].modifier = pitch_bend_up;
447 g_config_source = source_edit;
448}
449
450void
451config_flip_y()
452{
453 g_midi_three_octave_split_inverse ^= 1;
454 config_flip_pitch();
449} 455}