예제 #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);
            }
        }
예제 #2
0
파일: Morse.cs 프로젝트: thedevelop3r/Morse
 public Morse(string file, Sound sound)
 {
     this._file = file;
     this._sound = sound;
     ParseMorse ();
 }