Implement fade in to prevent Triple Osc from clicking (#5199)

This commit is contained in:
necrashter
2020-05-19 05:34:54 +03:00
committed by GitHub
parent b818234c15
commit 7f9b4c2401
4 changed files with 100 additions and 4 deletions

View File

@@ -364,6 +364,7 @@ void TripleOscillator::playNote( NotePlayHandle * _n,
osc_l->update( _working_buffer + offset, frames, 0 );
osc_r->update( _working_buffer + offset, frames, 1 );
applyFadeIn(_working_buffer, _n);
applyRelease( _working_buffer, _n );
instrumentTrack()->processAudioBuffer( _working_buffer, frames + offset, _n );