2

I would like to have a raspberry pi receive audio through a board of some type that accepts optical input.

I would like to then push that audio that is being received through the optical input to a Wifi network.

Is this possible with a Raspberry Pi 3 Model B?

If not, can someone recommend a microcontroller that may be able to do this?

Is anyone aware of a hat for the Raspberry Pi that will allow for optical input?

I have heard that the Wolfson Audio Card achieves this task? Am i correct? Is there a cheaper version of this?

Thanks,

hfrog713
  • 123
  • 1
  • 1
  • 4

1 Answers1

1

You're not going to get the job done with the Wolfson card I'm afraid. It has a SPDIF digital in, and line and mic level 3.5mm jack analogue ins, but no toslink ins.

Wolfson audio card

The only device I could find with an even halfway verified toslink input is the Tinytoslink board. The product description claims (emphasis mine):

Hardware can also be modified to an optical input or S/PDIF in-/output with RCA plugs (no software for input tried yet)

There's a fairly lengthy raspberrypi.org forum post that includes some discussion on the specifics of turning the Tinytoslink into an input rather than an output. I'm not sure anyone in there actually posted a fully confirmed 'yes, I made this work as an input', so I'd suggest asking around there and confirming that it'll definitely work before purchasing.

If you're feeling adventurous with your budget you could experiment with el cheapo USB audio interfaces as discussed in this thread on the raspberrypi.org forums. I'm not entirely sure whether he got anywhere either, but the box is only about £8 on Ebay. Might be worth a punt.

If you can persuade the audio into the Pi there are a gazillion ways to stream it back out again - UV4l, ffmpeg, avconv, etc., etc., etc.

goobering
  • 10,750
  • 4
  • 40
  • 64