-
Notifications
You must be signed in to change notification settings - Fork 149
No ASIO support in 0.5.0 #552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Download |
1 similar comment
Download |
We also rely on ASIO support for Windows for an audio measurement tool we use in-house. Manually placing .dlls is also a big barrier for us as we install our python tool via |
Thanks for the feedback! As I said in #496 (comment):
I guess the answer is "yes", but then my next question is: "how"? I'm open for PRs! |
We also rely on ASIO support for Windows for an audio measurement tool we use in-house - seems there are a few of us doing this. I have looked into the posibility of sounddevice[asio] and it only looks possible if the _soundedevice_data is spun out into seperate packages, one which includes ASIO and one which does not. I think it looks simpler to just include the ASIO dll in addition to the no ASIO dll and switch to the ASIO one using an environment variable set before the package is imported. I think you would just need:
We have a package that wraps sounddevice so could quite easily set the envionment variable before importing sounddevice. @mgeier, @my1e5 and @TonyBeswick does that work for you. |
I created a minimal PR of this in #556. The only cost of the approach is an additional binary will be in the built wheel, which on Windows would add ~352KB to Since the compiled ASIO binaries already exist in _sounddevice_data under portaudio-binaries, along with the build actions to maintain them (thanks for the effort on this @mgeier!), the PR can be tested and we can gather feedback for this approach. |
@arkrow Thanks for opening the PR, it looks like it should solve this issue. |
@arkrow Thank you! I just tried out your PR and the minimal example you provided and it worked perfectly for me 😃. |
Thanks, this looks promising! I was originally hoping that the
I agree. |
I have released version 0.5.1 a few weeks ago, which now contains both non-ASIO and ASIO DLLs. ASIO support can be selected by defining the environment variable I'm closing this issue, but if there are still some problems, please let me know! |
I see default ASIO support was removed in 0.5.0: #496
and there was a call out on that issue for anyone who's relying on ASIO, sorry I'm a bit late - I'm using it.
Our use case: We've got a simulation system that outputs multi-channel audio-band signals for embedded product testing. We're using ASIO because the audio interface we're using (Presonus Studio 1824c) only appears to offer multi channel output via the ASIO driver (I could be mistaken) and the low latency is of some benefit too.
We're not too keen on manually placing .dlls as a workaround, as we'd like to keep our deployments easy with just pip install commands.
I see this comment raised the idea of using extras, so ASIO support can be added by installing with
sounddevice[asio]
. This would be a great solution for our use case - if it can be made to work.The text was updated successfully, but these errors were encountered: