/**
  * <summary>
  *   Adds a pulse to the playing sequence.
  * <para>
  * </para>
  * </summary>
  * <param name="freq">
  *   pulse frequency, in Hz
  * </param>
  * <param name="msDuration">
  *   pulse duration, in milliseconds.
  * </param>
  * <returns>
  *   <c>0</c> if the call succeeds.
  *   On failure, throws an exception or returns a negative error code.
  * </returns>
  */
 public virtual int addPulseToPlaySeq(int freq, int msDuration)
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No Buzzer connected");
     }
     return(_func.addPulseToPlaySeq(freq, msDuration));
 }