I have a conundrum where I need to take a digital S/PDIF signal and swap the channels. A second option would be to extract the right channel and duplicate the data to both left and right channels of the digital stream. I would need to keep it in the digital domain entirely and would need the sample rate to match the input. Sample rate output needs to be 44.1 or lower.
I have tried the minidsp nanodigi 2x8 and it outputs something like 96 kHz sample rate and it's incompatible with pretty much everything I have tried to input to.
How might I be able to accomplish this?
I have tried the minidsp nanodigi 2x8 and it outputs something like 96 kHz sample rate and it's incompatible with pretty much everything I have tried to input to.
How might I be able to accomplish this?
I don't know how you would do that although I'm reminded of the Pure DRX-701 DAB tuner (I have one) that had L and R channels reversed via the SPDIF output. There was a fix via a USB applied firmware update for that.
How about simple inversion of the LRCLK between the SPDIF receiver I2S master and the SPDIF transmitter I2S slave?
Last edited:
That should work, although it gives you a 1 sample time delay between left and right. If you want to get rid of that one sample delay difference, you need to do something with shift registers to buffer data.
What I wrote in post #2 is nonsense, because S/PDIF receivers normally have serial outputs with multiplexed channels (such as I2S).
What I wrote in post #2 is nonsense, because S/PDIF receivers normally have serial outputs with multiplexed channels (such as I2S).
You can do it on a computer, and it will stay "all digital" although the SPDIF clocking will be redone upon output. So, computer+usb audio I/O (e.g. "soundcard") plus a program like ecasound, or natively in ALSA, Gstreamer, etc. There will be some latency involved.
With a WM8804 or a DIR9001 and a Tinyfpga or an Upduino board.How might I be able to accomplish this?
- Home
- Source & Line
- Digital Line Level
- Swap channels digitally