Skip to content

Commit

Permalink
Update plugins/Stk/Mallets/Mallets.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: saker <[email protected]>
  • Loading branch information
zonkmachine and sakertooth authored Sep 29, 2023
1 parent a4333cf commit 5f8884c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Stk/Mallets/Mallets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ void MalletsInstrument::playNote( NotePlayHandle * _n,
position += random * static_cast<float>(fast_rand() % 64) - 32.0;
position = std::clamp(position, 0.0f, 64.0f);
}
else if(p == 9)
else if (p == 9)
{
modulator += random * static_cast<float>(fast_rand() % 128) - 64.0;
modulator = std::clamp(modulator, 0.0f, 128.0f);
Expand Down

0 comments on commit 5f8884c

Please sign in to comment.