I was trying to get a basic sine wave of 440Hz out from the Maximillian Library. I was going alone with The Audio Programmer’s guide(Juce #23) and by 8:50 in, I was not getting a sine wave output, but some distorted sound. However, it worked in the video, and I am not sure why.
I have included the for loop of the jucer file in question(located in SynthVoice.h). I talked to the people in the Discord, and it appears to be something I am overlooking/don’t know about.
I am a n00b at this and have concluded that changing the sample rate and buffer size messes with the pitch, which should not be happening at A=440Hz.
Thank you for any insight on this!