Apply panning in case of stereo sample
This commit is contained in:
parent
1faa7f0739
commit
b551716b08
1 changed files with 4 additions and 0 deletions
|
|
@ -385,6 +385,10 @@ void sfz::Voice::processStereo(AudioSpan<float> buffer) noexcept
|
|||
{ // Panning and stereo processing
|
||||
ScopedTiming logger { panningDuration };
|
||||
|
||||
// Apply panning
|
||||
panEnvelope.getBlock(modulationSpan);
|
||||
pan<float>(modulationSpan, leftBuffer, rightBuffer);
|
||||
|
||||
// Apply the width/position process
|
||||
widthEnvelope.getBlock(modulationSpan);
|
||||
width<float>(modulationSpan, leftBuffer, rightBuffer);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue