rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #80 on: October 17, 2018, 05:10:27 PM »
becario, I have added the missing things. It should now build.
Background: Due to the license of XMOS, I cannot commit the whole workspace/framework and have to filter out my changes by hand for committing only them.

R.


becario

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #81 on: October 18, 2018, 10:26:08 AM »

Thank you very much. I have checked  and now the code  can compile without errors.

Best regards

rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #82 on: October 18, 2018, 11:25:32 AM »
Very good.

rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #83 on: October 21, 2018, 05:37:38 AM »
The sources of the project are now officially released!
Please visit www.freedsp.cc for it.
The boards related to this project are Infinitas and AnalogIO-x8.

R.

rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #84 on: October 23, 2018, 04:15:22 AM »
The boards are now available on tindie.com!

The Infinitas mainboard:
https://www.tindie.com/products/auverdion/freedsp-infinitas/

The AnalogIO-x8 expansion board:
https://www.tindie.com/products/auverdion/freedspx-analogio-x8/

Enjoy!

Raphael

bernatvm

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #85 on: October 23, 2018, 04:28:57 AM »
Wow, looks amazing. I have some questions though... first one is if this is a suitable project for me if I've never soldered smd and only programmed a tiny bit of java.

The other question is if this interface (conversion quality) is going to sound better than a similar priced retail one. Thanks!

rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #86 on: October 23, 2018, 07:03:02 AM »
bernatvm,

well, it is not so difficult to solder SMDs. You basically need a solder iron with a fine tip. In my GettingStarted tutorials I am giving some youtube links, how to solder the difficult components. Anyway, if you never have done SMDs at all, I recommend to practice with some cheap components first. Soldering some SMDs on these THT/DIP adapter boards is a good way for practicing.

You don't need programming skills to get it up and running. Only if you want to to modifications you need some C skills.

What do you mean with "similar priced retail one"? There are not so many USB interfaces with that high number of channels, and those, that exist are very expensive. Thus, I never ordered one just for comparing.  ;)

R.

stybljan

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #87 on: October 23, 2018, 09:45:57 AM »
Hi rkn80,

I am very interested in this project. Good job.
I have a question about monitoring.
Can this interface direct monitoring? And what about the latency if I will set the monitoring in DAW.   
 
Thanks a lot,
Jan

rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #88 on: October 23, 2018, 04:05:04 PM »
Can you specify a bit more what you mean with direct monitoring?

The analog inputs are all accessible on pin headers. Thus, you could make a little mixer board and feed that to a line or headphone out.
If you want to control the direct monitor mix like selecting only a few channels  then you may want to use the DSP for it.
Since this is all done in the hardware itself the latency is very very low but depends a bit on how you implement it.

stybljan

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #89 on: October 23, 2018, 06:14:09 PM »
Yes, i mean control the mix.I don't have a big experience with programing the dsp so the hw mixer is not a bad idea. Thanks a lot.


mhelin

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #90 on: October 24, 2018, 03:28:13 PM »
XMOS USB audio stack already contains digital mixer which can be controlled from host via USB.

https://www.xmos.com/developer/published/usb-audio-software-design-guide

See Ch. 3.6 Digital Mixer page 30

Problem is there is no proper application for control, only some command line application:

"The mixer can be controlled from a host PC by sending requests to Endpoint 0.
XMOS provides a simple command line based sample application demonstrating
how the mixer can be controlled."

However, the API makes it possible to route inputs directly to wanted outputs so you can make multiple monitor mixes for an example quite easily.

Edit: The XMOS mixer app sources can be found only on this old version of USB software:

https://drive.google.com/file/d/0B02Djez6mNL2SHhMM0lRSFFBdDQ/view

Look for folder xmos_usb_aud_l2\host_usb_mixer_control

Don't know how to port this app to MacOS or Linux as they have their own USB APIs.
« Last Edit: October 24, 2018, 03:57:11 PM by mhelin »
Mikko

mhelin

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #91 on: October 24, 2018, 03:37:57 PM »
Regarding the converters, not mentioned anywhere but I think it is possible to use AK5578 (SNR 121dB) to replace the AK5558 (115dB) but it will cost more ($10/chip).  Also the converters can be paralleled, so you can feed the same input to all A/D channels and get much better SNR (130 dB for the AK5578 and 124 dB for AK5558) for the resulting mono channel.
Mikko

rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #92 on: October 24, 2018, 03:53:00 PM »
XMOS USB audio stack already contains digital mixer which can be controlled from host via USB.

https://www.xmos.com/developer/published/usb-audio-software-design-guide

See Ch. 3.6 Digital Mixer page 30

Problem is there is no proper application for control, only some command line application:

"The mixer can be controlled from a host PC by sending requests to Endpoint 0.
XMOS provides a simple command line based sample application demonstrating
how the mixer can be controlled."

However, the API makes it possible to route inputs directly to wanted outputs so you can make multiple monitor mixes for an example quite easily.

Yes, you need to write a software to control the mixing function of the XMOS. I do not restrict that. It is open hardware.  You are free to do that. ;-) But this is more a nice addon.
So far the interface works without any additional software and therefore, I focussed on the hardware. Nevertheless, it should be mentioned that I am already working on a software, that makes routing and controlling (including the DSP) very easy. But the DigitalIO board and the ADAT board have currently higher priority.

R.

rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #93 on: October 24, 2018, 03:56:43 PM »
Regarding AK5578:
I took a short look on the datasheet. It seems to be possible, to upgrade with this chip. There might be some small changes in the I2C configuration needed, I have not compared the register values, yet. But I will do that later.

R.

becario

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #94 on: October 28, 2018, 06:27:52 PM »

Hi


it is possible to program the MatchXO2 with a FT232RL  or I need a FT2232  ?

Regards

Jose

rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #95 on: October 29, 2018, 11:52:04 AM »
I have never tested it, but since only one serial port is needed, it should be possible. Thus, if you have already a FT232 then I would try it first before buying a FT2232.

rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #96 on: November 08, 2018, 03:11:25 AM »
becario, did it work  with the FT232?

becario

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #97 on: November 10, 2018, 11:44:44 AM »
becario, did it work  with the FT232?

Hi.

I do not know yet . On Friday I received the printed circuits and now I have to mount them.
.
Diamond programmer detects the FT232RL, but it is necessary to check if it really programs it.

Regards

Jose

.




rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #98 on: November 11, 2018, 09:21:54 AM »
OK, good.

Let me know if you have any troubles with building it.
Since you are the only one who bought PCBs yet, this will show wether the documentation is good enough for sucessfully building an Infinitas.

Raphael

becario



Ok, i will do.
I think I will not have problems when it comes to building it, with the documentation provided I think that is enough.
thanks  for the support.

Regards
Jose