259 |
} else { |
} else { |
260 |
fModVolume = pSignalUnitRack->GetEndpointUnit()->GetVolume(); |
fModVolume = pSignalUnitRack->GetEndpointUnit()->GetVolume(); |
261 |
} |
} |
262 |
NoteVolume.applyTo(fModVolume); |
NoteVolume.applyCurrentValueTo(fModVolume); |
263 |
finalVolume *= fModVolume; |
finalVolume *= fModVolume; |
264 |
|
|
265 |
float panL = PanLeftSmoother.render(); |
float panL = PanLeftSmoother.render(); |
266 |
float panR = PanRightSmoother.render(); |
float panR = PanRightSmoother.render(); |
267 |
NotePan[0].applyTo(panL); |
NotePan[0].applyCurrentValueTo(panL); |
268 |
NotePan[1].applyTo(panR); |
NotePan[1].applyCurrentValueTo(panR); |
269 |
|
|
270 |
finalSynthesisParameters.fFinalVolumeLeft = finalVolume * VolumeLeft * panL; |
finalSynthesisParameters.fFinalVolumeLeft = finalVolume * VolumeLeft * panL; |
271 |
finalSynthesisParameters.fFinalVolumeRight = finalVolume * VolumeRight * panR; |
finalSynthesisParameters.fFinalVolumeRight = finalVolume * VolumeRight * panR; |
576 |
fModPitch = pSignalUnitRack->GetEndpointUnit()->CalculatePitch(fModPitch); |
fModPitch = pSignalUnitRack->GetEndpointUnit()->CalculatePitch(fModPitch); |
577 |
} |
} |
578 |
|
|
579 |
NoteVolume.applyTo(fModVolume); |
NoteVolume.renderApplyTo(fModVolume); |
580 |
NotePitch.applyTo(fModPitch); |
NotePitch.renderApplyTo(fModPitch); |
581 |
NoteCutoff.applyTo(fFinalCutoff); |
NoteCutoff.applyTo(fFinalCutoff); |
582 |
NoteResonance.applyTo(fFinalResonance); |
NoteResonance.applyTo(fFinalResonance); |
583 |
|
|
606 |
|
|
607 |
float panL = PanLeftSmoother.render(); |
float panL = PanLeftSmoother.render(); |
608 |
float panR = PanRightSmoother.render(); |
float panR = PanRightSmoother.render(); |
609 |
NotePan[0].applyTo(panL); |
NotePan[0].renderApplyTo(panL); |
610 |
NotePan[1].applyTo(panR); |
NotePan[1].renderApplyTo(panR); |
611 |
|
|
612 |
#ifdef CONFIG_INTERPOLATE_VOLUME |
#ifdef CONFIG_INTERPOLATE_VOLUME |
613 |
finalSynthesisParameters.fFinalVolumeDeltaLeft = |
finalSynthesisParameters.fFinalVolumeDeltaLeft = |