Skip to content

Commit

Permalink
Delay every modulation by the initial voice delay
Browse files Browse the repository at this point in the history
This includes ampeg as in #432
  • Loading branch information
paulfd committed Feb 23, 2021
1 parent c5c7e2b commit 7d53fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sfizz/Voice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ void Voice::startVoice(Region* region, int delay, const TriggerEvent& event) noe
impl.bendSmoother_.setSmoothing(region->bendSmooth, impl.sampleRate_);
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);
}

Expand Down

0 comments on commit 7d53fd9

Please sign in to comment.