/** * <summary> * Adds a new frequency transition to the playing sequence. * <para> * </para> * </summary> * <param name="freq"> * desired frequency when the transition is completed, in Hz * </param> * <param name="msDelay"> * duration of the frequency transition, 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 addFreqMoveToPlaySeq(int freq, int msDelay) { if (_func == null) { throw new YoctoApiProxyException("No Buzzer connected"); } return(_func.addFreqMoveToPlaySeq(freq, msDelay)); }