DIY Audio USB card with multichannel analogue input channels

Hi all,

I try to understand how I can build a device similar to tascam analogue digital mixer. I found these parts that seems to do the trick.

I think that from the PCM4204 I have an output that could be routed into the xmos chip, and then connect the xmos to my pc via USB.
Automagically the DAW software recognise 4/8 audio lines as input for recording purpose. (xmos drivers seems to be already present into OS)

It's working in this way?

Someone have experience on this type of stuff and can help me?

Thank you.


PCM4204

https://www.ti.com/lit/ds/symlink/p...=https%3A%2F%2Fwww.ti.com%2Fproduct%2FPCM4204

XE216-512-TQ128-C20

XMOS - Bringing technology to life
 
Well, async device -> host direction (capture) still needs some work. The current input endpoint is marked as ASYNC, but in fact works as adaptive, sending fixed number of samples every USB frame to the host. I have a patch implementing support for 'Playback Pitch 1000000' control element which is tested to work down to 1ppm precision, sending correct amount of data as requested. BUT this control element must be operated. For the opposite direction either the latest alsaloop or camilladsp support the new 'Capture Pitch 1000000' control. However, none of them support the other direction yet (my patch is not submitted yet and no other use case allows/requires tweaking playback rate). Modifying alsaloop should be simple though, the same principle as patch alsaloop: Support "Capture Pitch 1000000" rate shift * alsa-project/alsa-utils@ce05208 * GitHub

This just depicts that the task is not so simple as it may look upon the first view 🙂
 
Well, async device -> host direction (capture) still needs some work. The current input endpoint is marked as ASYNC, but in fact works as adaptive, sending fixed number of samples every USB frame to the host. I have a patch implementing support for 'Playback Pitch 1000000' control element which is tested to work down to 1ppm precision, sending correct amount of data as requested. BUT this control element must be operated. For the opposite direction either the latest alsaloop or camilladsp support the new 'Capture Pitch 1000000' control. However, none of them support the other direction yet (my patch is not submitted yet and no other use case allows/requires tweaking playback rate). Modifying alsaloop should be simple though, the same principle as patch alsaloop: Support "Capture Pitch 1000000" rate shift * alsa-project/alsa-utils@ce05208 * GitHub

This just depicts that the task is not so simple as it may look upon the first view 🙂

I didn't understand nothing of what you said but thanks anyway for your reply 😕

I found the XMOS chip in the Behringer audio card with the cirrus logic convertor.
Looking the datasheet/manual of xmos seems that the input of the xmos is a i2s bus.
So, this does mean that you have only to feed the xmos with the i2s output of a convertor and everything works? The xmos seems to have a firmware predone onboard.... I understood correctly?

thanks