Esempio n. 1
0
        public async Task <AudioData> GetDecodedAudioAsync(string text, string voiceName, float rateChange, float pitchChange)
        {
            var stream = await GetAudioDataStreamAsync(text, voiceName, rateChange, pitchChange)
                         .ConfigureAwait(false);

            return(audioDecoder.Deserialize(stream));
        }