Merge pull request #655 from paulfd/delay
Delay every modulation by the initial voice delay
This commit is contained in:
commit
7b1a022565
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ void Voice::startVoice(Region* region, int delay, const TriggerEvent& event) noe
|
||||||
impl.bendSmoother_.setSmoothing(region->bendSmooth, impl.sampleRate_);
|
impl.bendSmoother_.setSmoothing(region->bendSmooth, impl.sampleRate_);
|
||||||
impl.bendSmoother_.reset(centsFactor(region->getBendInCents(impl.resources_.midiState.getPitchBend())));
|
impl.bendSmoother_.reset(centsFactor(region->getBendInCents(impl.resources_.midiState.getPitchBend())));
|
||||||
|
|
||||||
impl.resources_.modMatrix.initVoice(impl.id_, region->getId(), delay);
|
impl.resources_.modMatrix.initVoice(impl.id_, region->getId(), impl.initialDelay_);
|
||||||
impl.saveModulationTargets(region);
|
impl.saveModulationTargets(region);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue