Have VST send HD controller values
This commit is contained in:
parent
e75c148c67
commit
65c3ef8b6b
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ void SfizzVstProcessor::processControllerChanges(Vst::IParameterChanges& pc)
|
||||||
auto ccNumber = static_cast<int>(id - kPidCC0);
|
auto ccNumber = static_cast<int>(id - kPidCC0);
|
||||||
for (uint32 pointIndex = 0; pointIndex < pointCount; ++pointIndex) {
|
for (uint32 pointIndex = 0; pointIndex < pointCount; ++pointIndex) {
|
||||||
if (vq->getPoint(pointIndex, sampleOffset, value) == kResultTrue)
|
if (vq->getPoint(pointIndex, sampleOffset, value) == kResultTrue)
|
||||||
synth.cc(sampleOffset, ccNumber, fastRound(value * 127.0));
|
synth.hdcc(sampleOffset, ccNumber, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue