Skip to content

Commit

Permalink
Fixed regression - AddVoice bend adjust not working
Browse files Browse the repository at this point in the history
  • Loading branch information
abrolag committed Aug 25, 2017
1 parent 5d16382 commit 1a9dd7a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changelog
Expand Up @@ -3,6 +3,7 @@ yoshimi 1.5.3 M
2017-8-25 Will
* Removed duplicated effects command from GUI.
* PadSynth conversion completed.
* Fixed regression - AddVoice bend adjust not working.

2017-8-24 Will
* Corrected GUI value for CLI resonance centre freq.
Expand Down
2 changes: 0 additions & 2 deletions dev_notes/ToDo.txt
Expand Up @@ -5,8 +5,6 @@ still not fully converted:
commandSysIns - should be possible now
commandEffects - should be possible now

AddSynth Bend/offset not working :(

enable cli saving of pad sample set
transfer instrument external load/save

Expand Down
12 changes: 12 additions & 0 deletions src/Interface/InterChange.cpp
Expand Up @@ -4845,6 +4845,18 @@ void InterChange::commandAddVoice(CommandBlock *getData)
value = k;
}
break;
case 38:
if (write)
pars->VoicePar[nvoice].PBendAdjust = value_int;
else
value = pars->VoicePar[nvoice].PBendAdjust;
break;
case 39:
if (write)
pars->VoicePar[nvoice].POffsetHz = value_int;
else
value = pars->VoicePar[nvoice].POffsetHz;
break;
case 40:
if (write)
pars->VoicePar[nvoice].PFreqEnvelopeEnabled = value_int;
Expand Down

0 comments on commit 1a9dd7a

Please sign in to comment.