Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
MysteryPancake authored Oct 28, 2023
1 parent dd3b419 commit 2612a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glsl/ConvolutionReverb.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Song getSong(float time, int reverb) {
float offsetScale = variety ? 0.5 : 1.2;
float timeScale = variety ? 2.0 : 1.0;

// Convolution reverb doesn't have a time offset, but it sounds better with it
// Convolution reverb doesn't have a random time offset, but it sounds better with it
timeOffset += hash11(timeOffset * 126.7) * offsetScale;

song.reverb += leadSynth(time * timeScale - timeOffset) * impulse(timeOffset);
Expand Down

0 comments on commit 2612a1f

Please sign in to comment.