Cobra Forum

Other Discussion and Support => Education & Science => Topic started by: mahesh on Dec 18, 2023, 05:41 AM

Title: Data acquisition and control with sound card (ASUS Xonar U7)
Post by: mahesh on Dec 18, 2023, 05:41 AM
Hi!

I would like to use my ASUS Xonar U7 (USB) sound card for data acquisition and inverse control (home project).

To achieve this goal I am supposed to choose one of the inputs and two of the outputs of the sound card and set its DAC and read its ADCs in every 1/20.000 seconds with a callback function.

I have tried to write a C program with ALSA and PortAudio - but I think there is an easier way. Can you recommend me a library that is designed to do that?

Thanks!