bastibe / PySoundCard

PySoundCard is an audio library based on PortAudio, CFFI and NumPy
BSD 3-Clause "New" or "Revised" License
87 stars 9 forks source link

ASIO Support #34

Closed dhoomakethu closed 9 years ago

dhoomakethu commented 9 years ago

Hi ,

using apis() I could not see ASIO in the supported host api's , Is ASIO not supported by PySoundCard ? Is there a plan for the support ?

Regards sanjay

bastibe commented 9 years ago

What operating system are you using? How did you install PySoundCard?

I'm assuming you are using Windows and the binary installer we uploaded on Github.

ASIO support is handled through the portaudio library. ASIO uses a very restrictive license that does not allow us to distribute portaudio with ASIO support. However, you can find precompiled versions of portaudio with ASIO support out there. Just replace our portaudio.dll with a version with ASIO support.

dhoomakethu commented 9 years ago

Hi,

Thanks for the hint, let me try it out and update.

Sanjay

bastibe commented 9 years ago

Have you been able to solve your problem?

dhoomakethu commented 9 years ago

Sorry, I could not try , I finally ended up creating a custom portaudio application in C++ and using it from Python. I would give a try in sometime .

Regards Sanjay

On Tue, Nov 4, 2014 at 3:25 AM, Bastian Bechtold notifications@github.com wrote:

Have you been able to solve your problem?

Reply to this email directly or view it on GitHub https://github.com/bastibe/PySoundCard/issues/34#issuecomment-61556292.

mgeier commented 9 years ago

Just for reference: There seem to be pre-compiled DLLs with ASIO support here: https://github.com/adfernandes/precompiled-portaudio-windows. I didn't try them, though.

bastibe commented 9 years ago

If memory serves, these have debug printing turned on, which makes them pretty much unusable on the command line.

mgeier commented 9 years ago

I've created DLLs with ASIO support (and hopefully without this debugging-stuff): https://github.com/spatialaudio/portaudio-binaries Those are used in https://github.com/spatialaudio/python-sounddevice, but they could of course also be used in PySoundCard.