discord-ext-voice-recv icon indicating copy to clipboard operation
discord-ext-voice-recv copied to clipboard

Combined Usage of SilenceGeneratorSink and FFmpegSink

Open athphane opened this issue 10 months ago • 1 comments

I'm trying to use this little library of yours to do some audio recording. From my understanding, if the SilenceGeneratorSink is not used, it would write the incoming audio data right next to each other, and not "write" the "dead air" that is there in the conversations. Trying to make the recordings as natural as possible.

I've source dived SilveGeneratorSink and kinda figured it out. I uses 2 skins at the same time in a sense? Then I figured I need the FFmpegSink so that I can actually write out the audio file? But I couldn't figure out how to combine both the SilenceGeneratorSink and FFmpegSink to get this working.

Anyways, I'm here looking for a Hail Mary and ask you if you could provide an example on the usage, or guide me in the proper way to do it.

athphane avatar Apr 07 '24 23:04 athphane