USB Audio

Chat about life, Linux and free software

USB Audio

Postby ianbell » Sat Apr 09, 2016 10:50 pm

I am trying to send and receive data to/from a USB audio device. The kernel has already attached a driver to it and it appears in the usb devices file system. The question is how do I communicate with it? I am using Python. Is there some standard way of interfacing to the kernel module?

I have tried using pyusb but that gains access via libusb which only allows root access. I think it is really used for writing drivers for unsupported devices. I need user space access. I know it can be done because programs like Audacity and REW already do this. I have also tried the alsaaudio python module but it is poorly documented and I am not sure of its support. There must be an easy way to do this - can I just open it like a file and read write to it and the kernel driver takes care of the rest - that would be ideal.


Posts: 1
Joined: Sat Apr 09, 2016 10:46 pm

Return to Discussion

Who is online

Users browsing this forum: No registered users and 1 guest