Skip to content

Commit

Permalink
Oops I forgot to check for bugs when updating packages
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPXL committed Mar 3, 2024
1 parent 55f3b47 commit b7b9f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SynthState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ function getVolume(playing: Audio.PlayingNote) {
+ Audio.ADSRConverter.convertSustain(playing.trackInfo.volume1)
+ Audio.ADSRConverter.convertSustain(playing.trackInfo.volume2);

return (Audio.ADSRConverter.convertVolume(volume) / 127) * playing.modulationVolume;
return Audio.ADSRConverter.convertVolume(volume) * playing.modulationVolume;
}

0 comments on commit b7b9f6c

Please sign in to comment.