-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How would I record system audio. #16
Comments
@scriptorian is this something you would be able to help with? or know somebody who can? |
This doesn't seem to be supported as standard. I've done a quick search for loopback recording with portaudio and there is a suggestion that it is possible with WASAPI on Windows and with different tricks on other platforms - it looks troublesome though. Is there a good reason why you can't wire your output jack back to your input jack and record from that? |
Hi @scriptorian thanks for the response :) let me think of a good reason and get back to you hahah I guess I want users to be able to install this on their computer and then so stuff with the program. |
Fair enough! |
Appreciate the help, going to keep on look I'll let you know what I find. wasn't aware of the term loopback recording so that should help. |
Closing this for now. |
Just curious if anyone found a good solution for capturing the system audio. I'm looking to do the same. |
Reopen maybe? |
@sntxerror Yes, it should be reopened, this was pulled 2022 - PortAudio/portaudio#672 . As per last comment on there, the newer version of PortAudio should contain a "virtual" device. It does look like the "latest" version of PortAudio is used with naudiodon, yet does not show up in the list. I suspect that we'd have to wait for a proper release or create a dev branch for this project. @scriptorian Any thoughts here? |
Was hoping someone could do this so that the virtual devices for outputs are listed as inputs in naudiodon seeing that PortAudio supports this already. Perhaps someone can point to the right place to do the change in the library? |
@64jcl I have tried to use this library (and vanilla PortAudio) with zero success,
using the instructions for PortAudio which says you can do it easily by
simply not specifying an input device. The desktop is not even listed in
the input devices, and I cannot use the current playback device as a
recording device.
The solution I used to get around this is to just not use it, at all.
Instead, I am using Electron to capture system audio, with desktopCapturer.
Not lightweight by any means, but luckily my use case already needed a GUI.
If you're trying to do it via CLI, I have not yet found a solution that is
available, which is frustrating beyond words.
|
Forgive my ignorance if this is obvious but how would you record system audio?
I tried creating an instance of
AudioOutput
but I could spot anything on the stream.The text was updated successfully, but these errors were encountered: