Wait property

  • Thread starter Thread starter Yohamich
  • Start date Start date
Y

Yohamich

Guest
I made a function , Window Media player, that reads a text from a file.

The problem is that i.e when trying to read the word "today", all the

5-fonts are read almost togther (overlapping). What I need is a kind of

thread.sleep() of Sound Player,to place between each fonts, when reading.

the function is :

public void ReadAlphabet()
{
WMPLib.WindowsMediaPlayer Player;
Player = new WMPLib.WindowsMediaPlayer();
Player.URL = wsk.Alphabet;
Player.settings.volume = wsk.zvolume;

Player.controls.play();

}

Continue reading...
 
Back
Top