Hi, I’m totally new to csound. I have no musical background, but some programming knowledge.
My goal is to be able to use linseg to interpolate between arbitrary frequencies, then loop that as many times as I want. It seems like the way to avoid the click/pop between repetitions is to use an envelope, however when I do it just replaces the click with a buzz when it loops. I assume I’m just using envelopes wrong.
It looks like it only happens when I use headphones. When I play the sound through external speakers it sounds fine. This kind of solves the problem, but I’d still love to know what’s going on. I’ve tried different pairs of headphones of different types, so it’s not just tied to that one pair.
i used an exponential table, as this should be more appropriate for raw
frequencies. you can adjust the speed of the frequency loops in the
kfreq line.