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

node-libpd with nodegui : portaudio error #6

Open
AurelienConil opened this issue May 9, 2023 · 2 comments
Open

node-libpd with nodegui : portaudio error #6

AurelienConil opened this issue May 9, 2023 · 2 comments

Comments

@AurelienConil
Copy link

Hello

I am trying to get node-libpd working with nodegui ( https://github.com/nodegui/nodegui ), in order to have tiny desktop app running pd patches.

Unfortunately, while my test seems to be fine with nodejs, porting it to nodegui, I get this error message :

>>> Ouput:
Output device name: Built-in Output
DefaultLowOutputLatency: 0.003877551
DefaultHighOutputLatency: 0.014036281
------------------------------------------------
||PaMacCore (AUHAL)|| Error on line 1316: err='-66748', msg=Unknown Error
[Error] Failed to open stream
Error number: -9986
Error message: Internal PortAudio error

I am on mac os Monterey, and probably the problem is a permission system issue.
Maybe it is a nodegui issue, or portaudio issue, and not node-libpd but any help is welcome.

Thanks

@b-ma
Copy link
Collaborator

b-ma commented Sep 25, 2023

Hey, sorry for the (very) late response, I have absolutely no idea of what could happen, did you manage to find the problem?

@AurelienConil
Copy link
Author

actually not, I moved to Electron. Nodegui is a custom version of Node, called Qode. There is probably some change there, but I really don't how to find the bug source. Use Qode in debug and look around ?
Actually nodegui + libpd would be much more easier that Electron, and actually, it would be a really easy way to have standalone app using pd, with a correct GUI. PyQt can be the option 2.

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