Skip to content

Commit c0ce1e7

Browse files
authored
Updating duration on Pong bounce noise
1 parent f47934a commit c0ce1e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/pong/pong.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Pong::Pong(double width, double height, colorRGB_t border_color, colorRGB_t back
3636
this->paddle_color = paddle_color;
3737
this->ball_color = ball_color;
3838

39-
this->bounce_noise = load_square_wave(493.883, 0.5, 48000);
39+
this->bounce_noise = load_square_wave(493.883, 0.05, 48000);
4040
this->lose_noise = load_square_wave(440, 0.25, 48000);
4141

4242
#ifdef ASYNC
@@ -436,4 +436,4 @@ void Pong::keyUpEvent(long keycode) {
436436
//do nothing
437437
break;
438438
}
439-
}
439+
}

0 commit comments

Comments
 (0)