Best Development Method for Mixer Application

New to XMOS and XCore? Get started here.
joshieyu
New User
Posts: 3
Joined: Wed Nov 13, 2024 2:25 am

Best Development Method for Mixer Application

Post by joshieyu »

Hi everyone! I'm pretty new to xcore and was wondering if anyone could point me in the right direction. I'm looking to make an audio mixer application that also doubles as a USB recording interface. I'm currently prototyping on the xcore.ai multichannel audio board with plans to port over to a custom PCB in the near future. Is the best course of action for me to use the examples found in sw_usb_audio?
danielp
Member++
Posts: 16
Joined: Tue Jul 16, 2024 9:52 am
Location: Bristol, UK

Post by danielp »

Welcome!

sw_usb_audio is a good place to start: you can build the app_usb_aud_xk_316_mc application for the board you have.

If you haven't seen it yet, check out the user guide here: https://www.xmos.com/develop/usb-multichannel-audio/

In particular, you can customise your design using the configuration defines in the API section; you'll see that there are options related to mixing that you can change.
XMOS, Senior Software Engineer
joshieyu
New User
Posts: 3
Joined: Wed Nov 13, 2024 2:25 am

Post by joshieyu »

Hi Daniel,

Thank you so much for responding! Sorry for not getting back sooner, I just now realized that I don't get email notifications from this forum. After digging into some more libraries, I also discovered the I2S/TDM loopback examples which I tried out. In your opinion, is it easier to modify the sw_usb_audio code to add loopback functionality (so I can have analog audio mixing capabilities) or somehow modify the I2S loopback examples to integrate USB functionality? There seem to be so many options!
danielp
Member++
Posts: 16
Joined: Tue Jul 16, 2024 9:52 am
Location: Bristol, UK

Post by danielp »

I would suggest starting with sw_usb_audio so that you have confidence in a working USB Audio application. That application already has a very flexible mixer which can do analogue mixing, so I recommend trying that to see how it compares to what you are aiming for.
XMOS, Senior Software Engineer
joshieyu
New User
Posts: 3
Joined: Wed Nov 13, 2024 2:25 am

Post by joshieyu »

Okay, thank you for the suggestion! I'll mess around with that and see what I can get out of it.