Hi all, I'm very new to Csound and still going over the tutorials.
I'm not having issues getting the code to compile (using Qutecsound) but am experiencing distortion and peaks in the audio output when using the amplitude settings in the tutorial.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1
a1 oscil 10000, 440, 1
will produce the appropriate sine wave but the amplitude is set way too high and the signal gets distorted. In the bottom panel it says in red "samples out of range:xxx" and gives an integer.
Now if I lower the amplitude to 1 or below, it gives a nice clear tone, no clipping, distortion or artifacts...
a1 oscil .7, 440, 1
So my question is whether this is an issue where I need to adjust sample rate in my soundcard or something I need to configure in Csound.
Thanks!! hopefully this is enough info to solve the issue, if not let me know and I'll post more specific system info.