示例#1
0
 /// <summary>
 /// Play a piano note of a given pitch for a particular duration
 /// </summary>
 /// <param name="pitch">There are 12 pitch values
 /// 0 - middle C, successive notes values are 1 semitone
 /// higher, up to the end of the octave.</param>
 /// <param name="duration">note duration in seconds</param>
 public static void PlayNote(int pitch, double duration)
 {
     manager.PlayNote(pitch, duration);
 }