Hi Friends,
I am going to make a down compatible Quadrophonic fm stereo encoder in software form. I use RtAudio API for making it. The composite mpx output signal formula is as follows
out= 0.225*(LF+LR+RF+RR)+0.225*(LF+LR-RF-RR)*sin(2wt)+0.225*(LF+RR-RF-LR)*cos(2wt)
+0.225*(LF+RF-LR-RR)*sin(4wt)+0.09*sin(wt)
Where LF = Left Front channel
LR = Left Rear channel
RF = Right Front channel
RR = Right Rear channel
the sound card sampling rate is 192000Hz. Anybody help to write the source code of the synchronous oscillator which generate w rad/s, 2w rad/s and 4w rad/s where w =2*pi*19000Hz ?
I mean how sin(2wt), cos(2wt), sin(4wt), sin(wt) are generate (so that they are phase locked ) and its source code in C++ ? please answer anyone 🙂