예제 #1
0
        private async void Say(string text)
        {
            var wav = await communicationManager.TranslateTextToWav(text);

            var soundSource = ConvertTo(wav);

            soundSource.Seek(0);

            SoundPlayer.SetSource(soundSource, "audio/wav");
        }