Well I’m hardly a csound noob could just use a hand with tuning maths…
So I’m making binaural beats with csound. The way they are traditionally made is the frequency of a sine wave that’s played (through headphones) in one ear is less than the frequency of another sine wave that’s played in the other ear, by an amount called a “beat Frequency”
In csound something like this
aSigL poscil3 kAmp, iFreq, iSine, 0
aSigR poscil3 kAmp, iFreq - iBeatFreq, iSine, 0
The waves are combined by your brain into a single tone that seems to beat. The beats can mess with your state of consciousness- if you are sensitive to sound and focus on the sound. It’s a kind of guided mindfulness meditation.
Unfortunately the code above also results in pitches that are out of tune relative to 12-tone equal temperament, making them hard to use musically.
I’m after an algorithm to make the pitch of the perceived tone in tune with 12TET…
thanks in advance, it’s something I’ve been stuck on for a while…
edit: Oh the general topic is referred to as brainwave entrainment