INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Easiest Way To Input RPi Audio To PC?  (Read 1370 times)

Zhillsguy

  • Galactic Citizen
  • ****
  • Posts: 325
Easiest Way To Input RPi Audio To PC?
« on: April 29, 2020, 08:25:40 pm »

How can I use the RPi's DAC audio outs as PC input? The mobo analogs are being used.

Is there any way for MC to see a line input as an audio source? Using Volumio on the Pi.
Logged
Ryzen 5 W11 x64 MC 29 HTPC/Server and HP G2 Mini Elitedesk W11 MC 29 (music only zone), various Android Phones and Tablets for control of both, powering two lanai surround systems, 5.1 and 4.1 respectively.

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Easiest Way To Input RPi Audio To PC?
« Reply #1 on: April 29, 2020, 08:40:34 pm »

I'm confused, because you seem to have answered your own question.

You know you need an input, as you comment the motherboard analog inputs are in use.

So you would cable the two machines together how?  Add a compatible input on the PC and it's trivial. No available inputs on the PC and it's impossible.

So I don't understand your question perhaps.  You could stream from the pi to the pc using dlna or something of course, over the network.  But you want to use the pi's audio out, which means you need someplace to plug that cable in. What else is there?

Are you asking how to add another audio input to the PC?  You could buy a soundblaster audio card and install it in an internal slot, or you could buy a USB audio adapter.  Those can be had for cheap, and don't require opening the case.  Just make sure you buy one that has inputs and not just outputs.
Logged

Zhillsguy

  • Galactic Citizen
  • ****
  • Posts: 325
Re: Easiest Way To Input RPi Audio To PC?
« Reply #2 on: April 29, 2020, 09:05:17 pm »

I plugged in a Behringer UCA202 and Windows recognizes the audio input, but how to play it in MC?

A network solution is fine, and want to use the audio output from Volumio as an MC source to play.
Logged
Ryzen 5 W11 x64 MC 29 HTPC/Server and HP G2 Mini Elitedesk W11 MC 29 (music only zone), various Android Phones and Tablets for control of both, powering two lanai surround systems, 5.1 and 4.1 respectively.

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Easiest Way To Input RPi Audio To PC?
« Reply #3 on: April 29, 2020, 09:13:49 pm »

You can use File->Open Live  if the driver for that Behringer supports WASAPI or ASIO.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Easiest Way To Input RPi Audio To PC?
« Reply #4 on: April 29, 2020, 09:52:31 pm »

Depending on the Behringer driver, if it accepts the input and plays it to Windows audio, use the WDM Driver to input to MC.

But, why? Why not just play the audio on the PC? This seems a very strange request. For a start your audio path is going to be;

Source Digital files > RPi playback via DAC > RPi Analogue out > cables > Behringer UCA202 Analogue in > Behringer UCA202 ADC conversion > MC Digital in > MC playback via ? DAC > Analogue out > Speakers.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Easiest Way To Input RPi Audio To PC?
« Reply #5 on: April 29, 2020, 09:58:34 pm »

Yes. But sometimes I answer the question asked, rather than dig into the underlying issue.

But today you just couldn't resist.   ;D  Carry on!
Logged

Zhillsguy

  • Galactic Citizen
  • ****
  • Posts: 325
Re: Easiest Way To Input RPi Audio To PC?
« Reply #6 on: April 29, 2020, 10:00:44 pm »

Depending on the Behringer driver, if it accepts the input and plays it to Windows audio, use the WDM Driver to input to MC.

But, why? Why not just play the audio on the PC? This seems a very strange request. For a start your audio path is going to be;

Source Digital files > RPi playback via DAC > RPi Analogue out > cables > Behringer UCA202 Analogue in > Behringer UCA202 ADC conversion > MC Digital in > MC playback via ? DAC > Analogue out > Speakers.

When you put it that way it seems convoluted...:) I just want to listen to the internet stations that come packaged in Volumio.

HTPC is in another room with wifi access only, and all mobo analog outs are connected to amps.

Just tinkering, will give the ASIO thing a shot. Thanks to wer for the tip, I have never used the open live feature, looks promising.
Logged
Ryzen 5 W11 x64 MC 29 HTPC/Server and HP G2 Mini Elitedesk W11 MC 29 (music only zone), various Android Phones and Tablets for control of both, powering two lanai surround systems, 5.1 and 4.1 respectively.

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: Easiest Way To Input RPi Audio To PC?
« Reply #7 on: April 29, 2020, 10:03:36 pm »

Oh, Rod's not putting it any way.  It IS convoluted.

You could just access those same radio stations from software on the PC, like MC.  They're just URLs.

But go ahead and tinker.  Good luck and have fun.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Easiest Way To Input RPi Audio To PC?
« Reply #8 on: April 29, 2020, 10:11:05 pm »

Yep. I would be looking for PC based access to the stations. Most are available multiple ways.

If you find the correct URL for the stream, some streams can be played directly in MC and will use the JRiver Audio Engine. Others would require you to play to the MC WDM Driver on the PC. Either way is still only one DA Conversion.

The File > Open URL is an easy test. You can save Stream URLs to play live at any time. The functionality in MC has been a bit of a moving target, but it works. I have only played around with the possibilities a bit. Take a look at "Streaming > RadioTunes" for some ideas.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner
Pages: [1]   Go Up