Volume click fix
This commit is contained in:
@@ -317,7 +317,7 @@ class VstChipProcessor : AudioWorkletProcessor() {
|
|||||||
currentTime,
|
currentTime,
|
||||||
note.noteRelease
|
note.noteRelease
|
||||||
).toFloat()
|
).toFloat()
|
||||||
note.actualVolume += (targetVolume - note.actualVolume) * 0.0001f
|
note.actualVolume += (targetVolume - note.actualVolume) * 0.01f
|
||||||
|
|
||||||
if (note.noteRelease != null && note.actualVolume <= 0.01) {
|
if (note.noteRelease != null && note.actualVolume <= 0.01) {
|
||||||
notes[index] = null
|
notes[index] = null
|
||||||
|
|||||||
Reference in New Issue
Block a user