![]() ![]() Var synthFormat = new SpeechAudioFormatInfo( I see that it's just copying over a stream, so I've attempted the following in various methods: IAudioClient client Var discord = client.CreatePCMStream(AudioApplication.Mixed) Ībove is the sample I've been using which is sourced from a file via ffmpeg. Var output = ĬonnectedChannels.TryGetValue(guild.Id, out client) Audio streaming via url/file is well documented but not this. I've been following several other answers as well as the documentation on the Discord.Net site and can't seem to find a way to get this to work. ![]() ![]() I've gotten everything to work (parsing/sending text commands, joining voice channels) except the main goal: Using TTS audio output stream in a voice channel.īasically, I'm using SpeechSynthesizer to create the MemoryStream and write that to the Discord bot. I'm writing a Discord Bot in VS2017 using Discord.Net wrapper.
0 Comments
Leave a Reply. |