SpeechSythesizer in Azure Function RRS feed

  • Question

  • In a WPF app I can simply use the following code to write a .WAV to the file system. How would I do this in a Azure Function to write to BLOB Storage as a .WAV file?

    SpeechSynthesizer synth = new SpeechSynthesizer();
    synth.SetOutputToWaveFile(@"C:\file system \OneDrive\Test.wav");
    synth.SpeakAsync("text that is written to WAV")

    Code snippet appreciated. 

    Thanks in Advance - Dan

    Wednesday, December 6, 2017 12:58 PM