Learning C#, getting lost! Trying to not be "that guy" . Text to Speech

  • Thread starter Thread starter Andrew Haas
  • Start date Start date
A

Andrew Haas

Guest
Hi,

I have that brain phenomenon where I can see what i don't know, but not the path to learn it!

Specifically, i am writing a small text-to-speech app which switches between languages. I've had it almost running using SSML to drive the voice changes, but as i suspected, it craps out after the second change. I figure in my noob mind that loading the voices isn't exactly easy for the program (IVONA tatyana was a 260mb download!).

So i have it sort of working, but not quite.


What i want to learn is how to use ReadAllLines or StreamReader or similar, then use StartsWith and if/else to switch between two instances of Speech. Synthesizer (have both voices already loaded).


Basically, i want to drive it like i would in Excel; "If this line begins with "russian" send it to Synth1, if the line begins with "english' send it to Synth2"


the frustration is that i can see the MSDN methods, know generally what i want, but I'm lost in the syntax and my general complete noobiness. For what its worth, I'm not too shabby in excel and understanding the design aspects of what i want.

My main issue here is to have learning materials that expand on the MSDN information. i don't want to be "that guy" who doesn't bother looking things up, but after around 20 plus hours and a few weeks, I'm not progressing. Or i should say its tantalizing close, but i know i need some books, or a resource to get my basics up which is somewhat related to what i actually want to achieve.


thanks for any suggestions

Andrew

Continue reading...
 
Back
Top