diff --git a/doc/CHANGES b/doc/CHANGES index b100b64..41f0408 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -14574,7 +14574,7 @@ abcmidi: new feature %%MIDI pitchbendrange semi maps the pitchwheel 0 to 16383 to semi semitones. By default semi is set to 2. If you change it to 4, then the pitchwheel maps into -4 semitones. This effects all microtones in the active channel ++/-4 semitones. This effects all microtones in the active channel when semi is not 2. %%MIDI temperament commands may not work correctly. Here is an example. diff --git a/genmidi.c b/genmidi.c index 11e2986..eb4f931 100644 --- a/genmidi.c +++ b/genmidi.c @@ -1444,7 +1444,7 @@ write_event(control_change, channel, data, 2); /* [SS] 2022-01-27 */ static void midiPitchBendRange (int semis) { -/* by default the pitch whell maps 0 to 16383 to a range of 2 +/* by default the pitch wheel maps 0 to 16383 to a range of 4 * semitones. This function uses the RPN control command to * expand the range to semis semitones. */