Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Routing data flows to Foobar via VB Cable (Windows 10) (Read 1692 times) previous topic - next topic
viabcroce and 3 Guests are viewing this topic.

Routing data flows to Foobar via VB Cable (Windows 10)

Hope this is the right section for this.

Since I've got MathAudio Room EQ installed in Foobar, I'd like to route streaming apps to Foobar.
Tried specifically with Qobuz (for Windows).

After installing the VB Cable driver I see a new entry in Qobuz' output devices list: Cable Input and a new entry in Foobar's Components->Tools: Recorder.
In such page all you find is the sample rate and depth, and the brief instruction

Quote
Enter 'record://[Duration]' in 'Add location' box. Duration is optional

So I
  • added the required txt line as if it was any radio steam with no Duration specified (tried w/ and w/o brackets, w/ and w/o any duration;
  • selected Cable Input as output device in Qobuz;
  • selected Primary Sound Driver as an output device in Foobar (checked it works with local files and radios);
  • checked that Qobuz' output format was Cable Input;
  • checked that sample rate and depth was the same in the two apps' settings.

When I click/start the flux, I get the following error message tho:

Unable to open item for playback (Unknown error code 1): "record://"

There seem to not be many other options/combinations to try, my only doubt would be that the whole setting is not compatible with Foobar's output.

Any suggestions? The possibility to have any stream processed by foobar seems really intriguing... furthermore, DRC makes things sound so much better...

Thanks anyone :)

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #1
The error code from the API used by that component just means "unspecified error", it unfortunately does not explain much. But did you select the VB Cable as the recording source on Recorder's preferences page? You can try lower sample rate and bitdepth. And it's probably safest to keep channels at stereo.

I have been meaning to rewrite the Recorder component for a long time to use WASAPI. Perhaps one of these days I'll find the time.

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #2
Try using their other software— HiFi Cable.
It works better. You must make sure the sample rate at both end are the same, and matches foobar recorder too.

I have been using HiFi cable to route from Tidal to foobar for several years already, super stable.


Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #3
The error code from the API used by that component just means "unspecified error", it unfortunately does not explain much. But did you select the VB Cable as the recording source on Recorder's preferences page? You can try lower sample rate and bitdepth. And it's probably safest to keep channels at stereo.

I have been meaning to rewrite the Recorder component for a long time to use WASAPI. Perhaps one of these days I'll find the time.

Thanks Case :)
If you mean in Foobar->Preferences->Tools->Recorder, the entry in the Device field is CABLE Output

Try using their other software— HiFi Cable.
It works better. You must make sure the sample rate at both end are the same, and matches foobar recorder too.
I have been using HiFi cable to route from Tidal to foobar for several years already, super stable.

Thank you BF, I'll give it a look :)

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #4
Try using their other software— HiFi Cable.

I checked it :)

While I trust you on what you state, I'd like to experience and test a solution before investing money on it.
Honestly, buying something from a developer hoping it will work for me because their free stuff didn't... "sounds" a bit weird to me :)

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #5
Try using their other software— HiFi Cable.

I checked it :)

While I trust you on what you state, I'd like to experience and test a solution before investing money on it.
Honestly, buying something from a developer hoping it will work for me because their free stuff didn't... "sounds" a bit weird to me :)


If I remember correctly, you can just download, install and try.



Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #6
Looking at their webpage, I read

«All audio streams sent to VB-CABLE inputs (Playback Device) will be forwarded to VB-CABLE outputs (Recording Device).»

I set CABLE Input in Qobuz player and this seems to make sense, but IIGTR Foobar should be showing CABLE Out among its output devices. It only shows CABLE Input tho. Is this as designed?

EDIT: I noticed that when CABLE is the output device in Qobuz both CABLE and CABLE 16 show activity (v-meters) in Windows' Sound settings. So I chose CABLE 16 as the Input device in Foobar, and this time the error message was a bit clearer:

Unable to open item for playback (Unknown error code 1): "record://"
Audio device in use


This seems to enforce the idea that I should be seeing CABLE Outputs somewhere in foobar... but it's not there.

 

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #7
I tried VBCable with my setup, it works perfectly fine. Let me try to help you with detailed steps.

On source side, choose VBCable as the output device. My example below is from Tidal.



In foobar, these are the relevant settings for the recorder:



In foobar a playlist, add a location:



You should now see this in the playlist.



Play & enjoy ...


---

Extra Info: there is a VBCable Control Panel that you can run to check what is happening in VBCable.



Hope the above helps!


Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #8
I tried VBCable with my setup, it works perfectly fine. Let me try to help you with detailed steps.

Thanks BF :)

On source side, choose VBCable as the output device. My example below is from Tidal.

[attach width=200]33927[/attach]

Checked!

In foobar, these are the relevant settings for the recorder:

[attach width=400]33929[/attach]

Checked!

In foobar a playlist, add a location:

[attach width=300]33931[/attach]

Not sure what you mean by playlist here, I use the option File->Add location.
Anyway... checked!

You should now see this in the playlist.

[attach width=300]33933[/attach]

I do :)

Play & enjoy ...

The above is exactly what I've been doing ever since. As I wrote in my previous posts, no luck. I get the error messages I have mentioned :/

Extra Info: there is a VBCable Control Panel that you can run to check what is happening in VBCable.

[attach width=300]33935[/attach]

I seem to ber unable to reach that panel. Where am I supposed to find it? It's not in the Start menu, nor in the Apps list, nor on the desktop. If I Search for it my PC doesn't find it.

Also, can you confirm foobar will work with any output setting? Shall I choose a specific one instead?

Thanks again for your time and efforts :)

PS: I checked, the other encoder you were suggesting requires a payment in order to d/l

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #9
but IIGTR Foobar should be showing CABLE Out among its output devices. It only shows CABLE Input tho. Is this as designed?
You definitely should not use VB Cable as output in foobar2000. If you do, the error about "device in use" is very expected. In foobar you use the actual output that will make sound.

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #10
but IIGTR Foobar should be showing CABLE Out among its output devices. It only shows CABLE Input tho. Is this as designed?
You definitely should not use VB Cable as output in foobar2000. If you do, the error about "device in use" is very expected. In foobar you use the actual output that will make sound.

I tried any combination just to be sure. Error is the same, whatever output I use in foobar. My question was different tho, but it doesn't matter :)

Currently, foobar's output is my audio interface's ASIO driver

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #11
I just tested Qobuz w/ VB cable and it routes fine with record://  on my pc.  It seems you have all steps correctly, I would double check

1. Control panel / Sound / Playback tab / Cable input should show ready status, and when you select it as default, it should have green volume bar moving up and down when Qobuz plays some music.
2. Control panel / Sound / Playback tab / Cable output should show ready status , and the green volume bar will move up and down when Qobuz plays some music , same as #1 and this output signal will go to   Foobar->Preferences->Tools->Recorder, the entry in the Device field is CABLE Output
3. I'm using portable foobar 2000 v2.1.5 (x86) 32bit w/ foo_record component v0.23  with VB-Cable driver pack 45.     Probably you may install another foobar in portable mode and try again? 

if all above still give you the unknown error, may you try uninstall / reboot / reinstall VB-cable or if you may try on another PC ?  I think may be some glitches about driver or something. 

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #12
I just tested Qobuz w/ VB cable and it routes fine with record://  on my pc.  It seems you have all steps correctly, I would double check

1. Control panel / Sound / Playback tab / Cable input should show ready status, and when you select it as default, it should have green volume bar moving up and down when Qobuz plays some music.
2. Control panel / Sound / Playback tab / Cable output should show ready status , and the green volume bar will move up and down when Qobuz plays some music , same as #1 and this output signal will go to   Foobar->Preferences->Tools->Recorder, the entry in the Device field is CABLE Output
3. I'm using portable foobar 2000 v2.1.5 (x86) 32bit w/ foo_record component v0.23  with VB-Cable driver pack 45.     Probably you may install another foobar in portable mode and try again? 

if all above still give you the unknown error, may you try uninstall / reboot / reinstall VB-cable or if you may try on another PC ?  I think may be some glitches about driver or something. 

Thank you SP for your time :)
I'll assume you #2 should read

"2. Control panel / Sound / Recording tab / Cable output"?

In fact, I only have one Cable Out in Sound preferences, and it's in the Recording tab.

Although both Cable In and Out seem to have set themselves not only as Active but also as Default device, Cable Out doesn't show any activity while Qobuz plays (while Cable Input and Cable In 16 both do, as they should).
Maybe here's the issue, but I can't say what is causing the issue and what this points at.

At least, tho, we have found a step where things seem to stop working :)

Thanks again!

PS, NB: where do I find VB's control panel? I've already asked this but got no answer yet.
Also - this might be hinting at something - is I search in the Start menu for "VB", "vb cable" or "vbcable" windows finds nothing. Is this normal? o.O

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #13

Although both Cable In and Out seem to have set themselves not only as Active but also as Default device, Cable Out doesn't show any activity while Qobuz plays (while Cable Input and Cable In 16 both do, as they should).
Maybe here's the issue, but I can't say what is causing the issue and what this points at.

The above in red might be the problem.
If VBcable is a default device, WindowsOS will grab it, and other apps cannot open in Exclusive Mode.
Change the default device to something else (like PC Speaker and/or PC Microphone) so that WindowsOS don't interfere.

Quote
PS, NB: where do I find VB's control panel? I've already asked this but got no answer yet.
Also - this might be hinting at something - is I search in the Start menu for "VB", "vb cable" or "vbcable" windows finds nothing. Is this normal? o.O

It's here for 64bit installs::  C:\Program Files\VB\CABLE\VBCABLE_ControlPanel.exe
If you want to make parameter changes, you need to run it with admin privileges.


.

Re: Routing data flows to Foobar via VB Cable (Windows 10)

Reply #14
Thanks BF :)
Well, things seem to be getting complicated... :D

1. VBCable set itself as a default device, even tho there's another default device which is my audio card's main output. Anyway, after having tried several times, it seems this time I could have it retain the "non-default" state...

2. No luck for the VBCable Out, which keeps on retaining it default state (?)

3. Thanks for addressing me to VB's control panel, I wonder why it does not come up in a search! It reports different SR/Res values than the song that Qobuz is playing ATM. Is this normal, since in Foobar I have to set those values so that they are the same as the song playing?
Anyway, I see that those values coincide with what's shown in Windows' Sound Control Panel (same doubt?). In order to perform a est and not leave anything untried I changed these settings to reflect the song's. No luck, same error reported in Foobar.

4. I see the v-meters working both in VC's and Sound's control panels as for Cable Input. No activity from Cable Output tho (at both locations). Is this meaningful?

Thanks again