Welcome Guest ( Log In | Register )

Binaural Sound For The Whole System or Internet Browsers
Wyld Stallyn
post Mar 29 2013, 15:50
Post #1

Group: Members
Posts: 13
Joined: 29-March 13
From: Fuldatal
Member No.: 107444

Hello, recently I found myself wondering if there is a way to apply a binaural DSP to the whole system, i.e. have the soundcard driver directly communicate with it to alter the stream from the get-go.

The reason I wonder about this is because I have very diverse music interests and tend to browse the web on YT etc. looking for more interesting music because that's where the choice of complete titles is greatest, and I find the idea of having to download everything where I find the stereo image lacking a bit cumbersome.

For more technical details, I use Opera on a Win 7 64-bit OS and currently own an ASUS soundcard with ASUS drivers, which I may or may not replace with an ODAC in the long run. Of course this would complicate this whole "let soundcard driver interact with plugin" thing a bit.

Perhaps there is also a dedicated program for this that can run indepentend of the soundcard driver? And no, the Dolby Headphone settings are not an option as they are incredibly annoying.

This post has been edited by Wyld Stallyn: Mar 29 2013, 15:56
Go to the top of the page
+Quote Post
Start new topic
post Mar 31 2013, 13:59
Post #2

Group: Members
Posts: 745
Joined: 22-April 03
From: /dev/null
Member No.: 6130


I've done that thing a long time ago, you will need:
1) VSTHost or another VST host capable of routing audio from and to an interface. In terms of payware, Xlutop Chainer works with ASIO4ALL, as does LiveProfessor.
VSTHost is the least stable one - may crash when adjusting the effects, while LiveProfessor tends to have UI issues. Chainer has a silly tiny non-scaleable UI on the other hand.
2) Virtual Audio Cable or a similar loopback driver. (I have only tried VAC) There is no free driver of such sort, but it's not too expensive.
3a) ASIO4ALL to "merge" the two VAC cards in a one ASIO driver. Maybe some other ASIO driver can work too, haven't tried. VSThost also works in DirectSound and MME mode, but it's noticeably high latency then in my system, minimal 630 samples.
3b) Alternatively, you can use a Windows build of Jack Audio Connection Kit with JackRouter ASIO driver. Works extremely well too. I unfortunately was unable to set the build into multiple device mode, so had to use ASIO4ALL still. It may be slightly more stable. in such a configuration.
If you manage to get it running in multiple cards mode, let me know.

Now, you need 2 VAC cards (cables), then insert VSTHost between them with correct clock adjustment for your sound output, and engage an Audio Repeater (KS preferably) from the second one (output) to your card of choice. Both of the virtual cards need
I've been using that with VST version of bs2b with very good results.
So enable ASIO4ALL and pick both VAC cables. Set the input cable as the default system sound device.

The tricky part is finding the clock adjustment necessary for your card.
For example, my Audiotrak Prodigy Cube runs at 100.0015% speed, while HDA runs at 99.99875%. Leckerton UHA6S mkII runs at 100.00009%. To find the clock, engage Audio Repeter (KS) with short buffer (e.g. 20 with 20 parts). Either it will underflow on the virtual card quick or on the real one. If it does on real one, increase the adjustment on the virtual cards (both!), if it does on the virtual one, decrease the adjustment. The longer it takes to fail, the nearer you are the target adjustment. I recommend the use of bisection or golden ratio section.

It's recommended to set VAC interrupts per second to every 1 ms - the lowest latency setting. Unless it drops out of course.

Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 25th November 2015 - 04:27