| CopperTop |
22nd May 2012 11:43 PM |
Quote:
Originally Posted by boris81
(Post 3033066)
The most popular solution for a PC crossover seems to be using 2 sound cards. All sound applications output to SoundCard1. SoundCard1 routes the stream internally and makes it available at its inputs. A software that runs continuously on the PC picks up the stream from SoundCard1 and does the necessary processing. Usually that is done in a VST host that runs several plug-ins. Then the software sends the processed sound to SoundCard2 which outputs it to the amplifiers.
Media Player -> SoundCard1 -> DSP software -> SoundCard2 -> Amplifier
The hardware of SoundCard1 is not necessary, the sound stream is usually routed in the driver and never reaches the card itself. Another popular solution is the DAW Reaper. It has a very good virtual audio driver called ReaRoute and a VST host simplifying this type of work.
Media Player -> Reaper ReaRoute -> Reaper VST DSPs -> Sound Card -> Amplifier
----
It should be possible to create a standalone Virtual Loopback Audio Driver without attaching it to hardware. It could receive all audio streams, process them and transfer them to the actual Sound Card Driver to output. It can be optimized for minimum overhead and since it's a driver it will run continuously in the background. Windows comes with a Virtual Loopback Network Adapter, why not an Audio one? Does anyone here have experience with writing Audio Drivers in Windows?
|
I wish I had seen this thread before I started on this sort of thing myself - it would have saved me a lot of head scratching wondering if I was alone in thinking of this as a problem!
I can't quite get my head around the idea of using two sound cards, without there being a problem, somewhere along the line, of their using different sample clocks and a need to resample somewhere in the system. In one experiment I used two sound cards, but went from one to the other via SPDIF - Creative cards are happy to resample from any sample rate to any other, but it's not 'bit perfect'. I also considered removing the crystal from one card and locking its sample master clock to that of the other - I have no reason to think this would not work.
I notice that in the release notes for the commercial product Virtual Audio Cable there is a line
Quote:
Clock correction precision increased to 0.0000001% (1E-8%).
|
suggesting that in order to do what it does (very cleverly), it has to do some form of clock matching, implying re-sampling and/or jitter of some kind? (I know that it will be utterly, utterly inaudible, but some posters on here manage to instil in me a fear of any deviation from 'bit-perfect'-ness). I wish I had known of Reaper's ReaRoute as well.
But it turns out that the Creative X-Fi card, at least, will allow you to pick up a stream from it, process it, and route it to the outputs, all locked together and 'bit perfect'. I'm happy to work with that for the time being.
|