Example #1
0
        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);
            }
        }
Example #2
0
 public Morse(string file, Sound sound)
 {
     this._file = file;
     this._sound = sound;
     ParseMorse ();
 }