Do not require dylibbundler to build

This commit is contained in:
Jean Pierre Cimalando 2021-04-12 17:51:42 +02:00
parent b76d1682ef
commit 3c9a7541a5
3 changed files with 4 additions and 3 deletions

View file

@ -77,7 +77,7 @@ struct SfizzRange {
case kPidAftertouch:
return {0.0, 0.0, 1.0};
case kPidPitchBend:
return {0.5, 0.0, 1.0};
return {0.0, -1.0, 1.0};
default:
if (id >= kPidCC0 && id <= kPidCCLast)
return {0.0, 0.0, 1.0};

View file

@ -386,7 +386,7 @@ void SfizzVstProcessor::playOrderedParameter(int32 sampleOffset, Vst::ParamID id
synth.hdAftertouch(sampleOffset, value);
break;
case kPidPitchBend:
synth.hdPitchWheel(sampleOffset, value);
synth.hdPitchWheel(sampleOffset, range.denormalize(value));
break;
default:
if (id >= kPidCC0 && id <= kPidCCLast) {

View file

@ -40,7 +40,8 @@ fi
set -x
brew install dylibbundler
# -- Install if necessary; only if using external libraries (eg. jack, sndfile)
#brew install dylibbundler
cd ~; npm install appdmg; cd -
~/node_modules/appdmg/bin/appdmg.js --version