Handmade Hero » Forums » Code » Day 009 - Sound frequency is changing every few seconds even though wave period is constant, and no input is given.
Euphoria
2 posts
#14372 Day 009 - Sound frequency is changing every few seconds even though wave period is constant, and no input is given.
4 months, 3 weeks ago Edited by Euphoria on Feb. 25, 2018, 8:18 a.m. Reason: Initial post

Hello there!

I've been following the series, and got a weird bug.
Just as the title describes it seems like frequency changes every few seconds, recording of the bug: https://youtu.be/Q5HqSLJEwQs (see description for time stamps).

This even happened with the official pre-order code as shown in the recording.

I didn't use any controller/keyboard/mouse input to change it, the wave period field is constant, and it's value is shown to be 187 in the video.

Am I doing something wrong?
Is it a code bug?
Is it a problem with my hardware?

Help would be appreciated.

Thanks,
David
mmozeiko
Mārtiņš Možeiko
1719 posts / 1 project
#14373 Day 009 - Sound frequency is changing every few seconds even though wave period is constant, and no input is given.
4 months, 3 weeks ago

Euphoria
2 posts
#14374 Day 009 - Sound frequency is changing every few seconds even though wave period is constant, and no input is given.
4 months, 3 weeks ago

Great, thanks for the swift reply!