Skip to content
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

PortAudio? #2

Closed
chakravala opened this issue Nov 27, 2021 · 3 comments
Closed

PortAudio? #2

chakravala opened this issue Nov 27, 2021 · 3 comments

Comments

@chakravala
Copy link

why is this separate from PortAudio?

@JeffFessler
Copy link
Owner

That's a reasonable question and thanks for asking.

I suppose I could have made a PR over there to test the waters, but my experience is that Julia developers often can be resistant to adding Matlab function names to their packages. I am under a time crunch to finish materials for a Freshman course so I am taking the expedient route, and the route where I can make sure it gets done on time instead of relying on the timeliness of others who are not facing the time pressure that I am.

Another reason is that I am preparing a lot of course materials that will use sound as the key method. Later if I need to switch to a different audio backend, I will not need to revise all the materials. I actually started by using wavplay in WAV.jl but then ran into issues integrating it with Gtk.jl (see dancasimiro/WAV.jl#105) and I simply don't have time to wait for those to be resolved.

If you'd like to take the key code out of this package and make a PR over at PortAudio and see if they are willing to incorporate it quickly, that would be just fine with me. I'll pull the plug on the new package here if your PR gets merged and tagged in time. But such a PR probably will involve a lot of back and forth and will likely not happen so quickly. BTW, PortAudio does not seem to have an example of how to play a signal out of a speaker in the documentation. I was planning to add a PR for that eventually.

@chakravala
Copy link
Author

chakravala commented Nov 28, 2021 via email

@JeffFessler
Copy link
Owner

For the record, I did try: JuliaAudio/PortAudio.jl#95

I understand the reasons given there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants