how to get USB guitar interface data with (preferably) python [closed]
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this questionI am wondering if anyone out there knows how I might go about getting audio data with a programming language from an M-Audio US开发者_运维技巧B guitar interface? I would prefer to use python. I would like to get into live audio processing programming and am just curious where to start.
If anyone knows or has experience in getting data like this, even if it's not python, I would really appreciate a push in the right direction.
Thanks in advance for any links to python live music processing or audio libraries that might help.
If you can record from the device by using common audio recorder, such as Audacity, then you can use pyaudio.
pyaudio is a python library binds for PortAudio. If you use C, you can use PortAudio directly.
For Python, I might recommend SndObj. I haven't used it myself, but it seems to allow you to use ASIO, which is extremely important if you want low-latency audio IO.
精彩评论