Skip to content

Commit

Permalink
Fix Organic offset glitch (#5252)
Browse files Browse the repository at this point in the history
  • Loading branch information
zonkmachine authored Oct 19, 2019
1 parent 732448c commit a9262b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/organic/organic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ void organicInstrument::playNote( NotePlayHandle * _n,
// fxKnob is [0;1]
float t = m_fx1Model.value();

for (int i=0 ; i < frames ; i++)
for (int i=0 ; i < frames + offset ; i++)
{
_working_buffer[i][0] = waveshape( _working_buffer[i][0], t ) *
m_volModel.value() / 100.0f;
Expand Down

0 comments on commit a9262b9

Please sign in to comment.