public static void Main(string[] args) { Sound sineWave = new Sound ("Sound/dit.wav", "Sound/dah.wav"); Morse morse = new Morse("InternationalMorse.txt", sineWave); while (true) { morse.RunAll (); System.Threading.Thread.Sleep (200); } }
public Morse(string file, Sound sound) { this._file = file; this._sound = sound; ParseMorse (); }