From bc618982e9731dbbb0b9d50a5b0ccfdbc7841c55 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sat, 30 Apr 2022 21:53:28 -0400 Subject: [PATCH] //WIP v3 NoiseGate - Changed to PCM audio --- NoiseGatev2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NoiseGatev2.py b/NoiseGatev2.py index cae1b25..311bc5f 100644 --- a/NoiseGatev2.py +++ b/NoiseGatev2.py @@ -88,7 +88,7 @@ class NoiseGate(AudioStream): if not voice_connection.is_playing(): LOGGER.debug(f"Playing stream to discord") - voice_connection.play(self.NGStream, after=self.core) + voice_connection.play(discord.PCMAudio(self.NGStream), after=self.core) async def close(self): LOGGER.debug(f"Closing")