Mono process for the crossfade envelope
The right channel should be blank at this point of the process so you only need to apply the envelope to the left channel
This commit is contained in:
parent
5873814272
commit
ffebe9df9a
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ void sfz::Voice::processMono(AudioSpan<float> buffer) noexcept
|
|||
|
||||
// Crossfade envelope
|
||||
crossfadeEnvelope.getBlock(span1);
|
||||
buffer.applyGain(span1);
|
||||
applyGain<float>(span1, leftBuffer);
|
||||
|
||||
// Volume envelope
|
||||
volumeEnvelope.getBlock(span1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue