C
C#2y ago
Casper

❔ how to listen to the output of a virtual audio device on windows using C#?

how to listen to the output of a virtual audio device on windows using C# to save the raw audio stream to a music file such as .wav?
9 Replies
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Casper
CasperOP2y ago
I have succeded in recording the sound using naudio however there is a lot of static noise
Kouhai
Kouhai2y ago
@casper Does the static exist if you record with audacity for example?
Casper
CasperOP2y ago
I have not tried with audacity yet. I can hear the music in the recording though it is muffled by static noise so I suspect the sampling rate or similar to he wrong in naudio. Windows says it output 24 bit 44khz 2ch So I have tried that and other combinations
Kouhai
Kouhai2y ago
Hmm, It's most likely sampling rate I think best option would be record with audacity and check how it sounds
Casper
CasperOP2y ago
Yeah I think so Do you know if naudio does post process on the audio because I need to keep it as original as possible since I will stream it to another device.
Kouhai
Kouhai2y ago
No it doesn't, naudio is pretty low level tbh
Casper
CasperOP2y ago
Cool
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server