Example #1
0
        public oneBeep(beepTone tone, beepDuration __duration = beepDuration.half)
        {
            frequency = tone.toFrequency();
            duration  = __duration;

            // __duration.toMilisecond(tempo);
        }
Example #2
0
 /// <summary>
 /// Vraca frekvenciju za dati ton
 /// </summary>
 /// <param name="tone"></param>
 /// <returns></returns>
 public static Int32 toFrequency(this beepTone tone)
 {
     return(beepTones[tone]);
 }