fix piano keys sometimes turning black
This commit is contained in:
parent
fff98379e9
commit
c258c50758
1 changed files with 1 additions and 0 deletions
|
|
@ -696,6 +696,7 @@ void FurnaceGUI::drawPattern() {
|
|||
}
|
||||
} else if (settings.channelFeedbackStyle==4 && e->isRunning()) {
|
||||
float amount=powf(chanOscVol[i],settings.channelFeedbackGamma);
|
||||
if (isnan(amount)) amount=0; // how is it nan tho??
|
||||
if (e->getChanState(i)->keyOff) amount=0.0f;
|
||||
keyHit[i]=amount*0.2f;
|
||||
if (!muted && e->getChanState(i)->keyOn) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue