Forum Replies Created
-
AuthorPosts
-
syamkumarMember
I am using Gigabyte mother board for my computer which supports 7.1 audio output.
Also I use Virtual Audio Cable (VAC) to interface between Media Player and FM Stereo Encoder.
FM Stereo Encoder is made using PortAudio API and working fine.
Many many thanks to Vincent who helped me a lot to make FM Stereo Encoder.
I made a FM Quadraphonic Encoder also which encode four audio channel. For that project I changed VAC cable settings as follows:
1. Sampling rate range = 8000 to 384000 samples per second
2. Number of channels = 4
3. Number of bits = 16
I changed both system’s audio settings and Realtek Audio Control panel’s settings to Quadraphonic sound.
At first the program for FM Quadraphonic Encoder written in C (console application) and it worked fine. After that I changed it to C# to make a GUI and a C# binding API called PortAudioSharp.dll from portaudio website and PortAudio.dll is used for it. But the problem is that when channel count set (for both input and output device) to four, an invalid channel count error is occurred. Port audio input device is set as "Virtual Cable1" and output device is set as "Realtek High Definition output".
My question is that does port audio supports at least four input channel and four output channel?
If yes please give a simple four channel program which take data from virtual audio cable (second device) and maps it to Realtek sound card output (ie, a wire program). Thanks in advance. Have a nice day 🙂syamkumarMemberwhich is better Port audio or RtAudio API for starting to write program of MPX Stereo encoder???
Have a nice day 🙂syamkumarMemberThank u. Actually I am doing a FM quadraphonic coder. I had done this project successfully in hardware form using MC1496 Gilbertcell (a ring modulator) including quadraphonic stereo decoder. Since i have no idea to access sound card in visual c++ i decide to collect the complete source code of fm stereo coder by using that knowledge i can develop the software for FM quadraphonic coder (since software is more flexible than hardware).
syamkumarMemberPseudo code for FM stereo Encoder is as follow:
Dataout[i] = 0.45*(lval+rval) + 0.091*tone_19kHz + 0.45*(lval-rval)*tone_38kHz
which repeats 192000 times. Can anybody to implement this code in VC++ -
AuthorPosts