Replies: 1 comment
-
|
Yes, this is definitely possible, but it's awkward because the data flow is in a different direction (the node graph pulls data, whereas a capture device pushes data to you). Take a look at the Basically, the general idea is you output your capture data to a buffer, and then you wire up that buffer to the node graph. So the the node graph will pull from the buffer, while your capture devices writes to that buffer. You will need a thread-safe buffer for this - miniaudio's ring buffer might be a suitable solution. I have plans to add a "capture_node" which deals with all of the buffer management for you under the hood but I just haven't had a chance to get to it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Basically I just want to know if it's possible to pass live audio from a capture device through a node graph and play it back in real time, and if so how would I accomplish that?
Beta Was this translation helpful? Give feedback.
All reactions