This commit is contained in:
2024-09-17 16:20:37 +02:00
parent 6dd0e1865d
commit b59bd4c41d
+5 -3
View File
@@ -73,9 +73,11 @@ class Transcriber(commands.Cog):
logger.info("Attempt transcribe")
vc = await ctx.author.voice.channel.connect(cls=voice_recv.VoiceRecvClient)
logger.info("Connected")
#basic = voice_recv.BasicSink(callback)
sink = voice_recv.WaveSink(destination="Test.wav")
vc.listen(sink)
bsink = voice_recv.BasicSink(callback)
sink = voice_recv.WaveSink(destination="/home/pi/Conjurer/Test.wav")
fsink = voice_recv.WaveSink(destination="/home/pi/Conjurer/Test.mp3")
vc.listen(fsink)
@commands.command(name="stop_transcribe")
async def stop(self, ctx):