Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


switching from moode to toslink input (and back)
#1
Hello, 

I try to make the following system for in my car:

Chinese Android radio-------toslink--------->HifiMy UC23---------USB-------->Raspberry Pi running Moode-----------USB------------------>SoundblasterLive

The android radio is used for radio reception, telephone, navigation, ect. 
For serious music listening i want to use Moode audio. (I have version 8.3.9)
I want to use CamillaDSP to divide into 6 channels and set the appropriate filters on each channel (I used to have a Najda DSP board for that part))

At the moment i have a test setup using a raspberry pi 3b (this will be replaced by a raspberry pi 4 for more processing power to implement the filters).
The output is working fine, 6 channels out of the soundblaster. 
For the input i would like to switch between the Moode audio player, and the Toslink signal coming from the android radio.
I have a HifiMy UC23 toslink to usb convertor to receive the signal from the android radio.

By reading this site: https://www.bitlab.nl/page_id=1103 i managed to get sound. Since the UC23 is a 2 channel device i didn't need the .conf file.
I just made a playlist with a entry like this: alsa://hw:2,0?format=48000:16:2
This works, but with a 3 seconds delay in the sound. 

So i also tried the second part of the explanation on Bitlab's site, connecting the UC23 directly to CamillaDSP input.
This also works, and this time without (much) delay! Atleast within lip-sync....
To change from UC23 to Moode and back i can do by loading different CamillaDSP config files.

My questions: 
Where is the 3 sec delay coming from when i connect the UC23 to MPD using the playlist? 
Will i have that same delay when i switch to a raspberry Pi4? Or is there a way to get rid of this delay?

If i connect the UC23 directly to CamillaDSP, bypassing MPD, i need 2 CamillaDSP configs to switch between Moode and UC23.
I can switch the CamillaDSP config file on the Moode interface, but is there a way to do this remotely by using a Rest Api call or SHH connection or something like that?
Reply


Forum Jump: