I am thinking it won't. They both use the single I2S line from the RPI, correct?
Just wanted to make sure I understood.
I am thinking it won't. They both use the single I2S line from the RPI, correct?
Just wanted to make sure I understood.
Yes, it supports simultaneous input and output.
Best regards,
Daniel
Thanks! Would you be able to describe how that is done?
Is there a schematic of the Digi+ I/O available at all?
No, there is no schematic available. However, the interface to the CPU of the Raspberry Pi is bidirectional.
Best regards,
Daniel
Hello.
This could be just what i am looking for. Would it be possible to capture toslink from my tv, use soft volume control on the raspberry, and pass it on to active speakers with toslink input (in short use it as a volume control for toslink)?
best regards Lars
Hi,
in general this should be possible. I don't know a software that does this out-of-the-box, but a combination of "play" and "record" from sox might be a good start. Note that you need to know the sample rate of the incoming data stream as the ALSA driver does not have an autodetect feature.
Another approach would be PureData as one of our HiFiBerry users did:
https://www.hifiberry.com/build/guides/raspberry-pi-spdif-dsp-box/
Best regards,
Daniel
Hmm, i was hoping there would be an easy approach...I im currently using libreelec and kodi, but could of course use osmc or openelec, but none of theese might not have an input for the incoming stream?
I will have to search some more to see if anybody has tried something similar....
Best regards Lars
As the latest LibreElec (and maybe also OSMC) are using PulseAudio, you can also try to look into this. However, it won't be just a simple click in the UI ;-)
Best regards,
Daniel
Hi,
I would like and to achieve audio spdif filtering with an hifiberry Digi+ I/O.
The goal is :
- enter compressed spdif audio stream (with data flag = 1) (home theater format)
- uncompress it (all home theater format, dts....)
- extract the front (main) speakers (left and right) streams
- shape it again in spdif format but uncompressed (PCM , with data flag = 0)
- send it to the output
Could it be it possible? (any limitation)
Is a software already existing?
A dream would be a card very similar to the hifiberry Digi+ I/O but with a 110ohms XLR socket at the output.
Input is all right in RCA / optical because devices are for public. So their output are 75 ohms spdif or optical.
But output will go to professional devices (digital filters) with digital XLR input.
Would it be possible to develop such kind of board?
Many thanks for your answer
Fabrice
While it could be possible in general, I haven't seen somebody doing this. You definitely won't find a software that will do it just out-of-the-box.
Best regards,
Daniel
Thanks for your answer for software.
What about hardware? (a board with digital XLR output)
Best regards,
Fabrice
While it's possible to develop something like this, there are no plans for this. You can post product ideas here:
https://support.hifiberry.com/hc/en-us/community/topics/200403312-Product-ideas
If we see demand in a specific board, we'll look into this.
Best regards,
Daniel
Hi Daniel,
I just see the DAC + DSP.
Is it accepting SPDIF data? (data flag=1 in addition with PCM(data flag=0))
Does it make the difference automatically?
I think it could do what I want (look up). Could you confirm?
The best would be to have it in digital RCA input and XLR output (instead of optical and in addition with the analog RCA plug).
Do you see any chance?
Many thanks for your feedback.
Best regards,
Fabrice
Hi Fabrice,
the DAC+ DSP can't handle non-PCM data as SPDIF input data will always be resampled to the internal DSP clock.
Best regards,
Daniel
I'm trying to use aplay and arecord simultaneously on Digi+ I/O. Unfortunately, I've not succeeded yet. Both aplay and arecord works pretty fine independently, but when I start arecord while aplay working on another terminal, the sound immediately disappeared. The point is, aplay itself keeps working (as the VU-meter indicates), but only the sound becomes mute until I Ctrl-C the execution of arecord. The same also seems to happen when starting aplay while arecord working. (BTW, multiple aplays or arecords work well, as I let aplay use dmix and arecord use dsnoop plugins of ALSA.)
Dose anyone have a clue what's going on here? Or, did anyone succeed simultaneous input/output on this device? How?
Any of you guys made some progress with this?
Looks like quite a few posters are interested in doing this with that Digi+ I/O board but no sign of success so far.
Hi Fabrice,
May be that would help: https://github.com/Shulyaka/pareceive . It can cover the uncompression part, and I believe the other parts could be covered by PulseAudio configuration.
Need testers:)
Hi Shulyaka,
Thank you for your link.
It would be a pleasure to help testing.
I would though need help to get to know :
- what does it do (ok decoding IEC61937)
- how
- what is the outputs
- and most important how to make it work.
Once again, thanks.
Hi Fabrice,
Its work is somehow similar to pacat: it connects to a input source and an output sink and passes through everything, except it actively monitors the data and once it encounters IEC61937 it decodes it using libav. The output stream will have as may channels as present in compressed audio data.
The idea how to make it work:
sudo apt-get update
sudo apt-get upgrade pulseaudio
sudo apt-get install libpulse-dev libavcodec-dev libavformat-dev libswresample-dev
git clone "https://github.com/Shulyaka/pareceive.git"
cd pareceive
make
./pareceive [indevice [outdevice]]
where indevice is the name of your input source (i.e. alsa_input.platform-soc_sound.multichannel-input) and outdevice is the name of your output sink (i.e. a null sink that would be a master of a remap sink).
Shulyaka the paraceive looks exactly like the solution I need to get TV input working. I am working with Moodeaudio and therefore do not have Pulseaudio installed. Will your solution work without Pulseaudio if I am using stdin option?
No, it still uses Pulseaudio for output.
Thanks for the confirmation, I tried on Moodeaudio but installation of Pulseaudio breaks things right now. Pulseaudio will be supported in future updates. If it is part of the release I will try again.
Shulyaka you mentioned to use the input source " alsa_input.platform-soc_sound.multichannel-input" for pareceive. how did you make this available?
pactl list sources
gives me only "alsa_input.platform-soc_sound.iec958-stereo"
pacmd info
lists the following profiles for "HifiBerry Digi HiFi wm8804-spdif-0":
input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (priority 300, available: unknown)
output:iec958-ac3-surround-51+input:iec958-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Digital Stereo (IEC958) Input (priority 355, available: unknown)
off: Off (priority 0, available: unknown)
am i missing a input profile here? how could i activate it?
Hi! This is the same as iec958-stereo, I just have a different version of Pulseaudio
Thanks! Which version do you use?
I cannot get it working with pareceive as in only get PCM detected :/
I use latest (currently 14), but older versions should also do.