/** * <summary> * Adds notes to the playing sequence. * <para> * Notes are provided as text words, separated by * spaces. The pitch is specified using the usual letter from A to G. The duration is * specified as the divisor of a whole note: 4 for a fourth, 8 for an eight note, etc. * Some modifiers are supported: <c>#</c> and <c>b</c> to alter a note pitch, * <c>'</c> and <c>,</c> to move to the upper/lower octave, <c>.</c> to enlarge * the note duration. * </para> * </summary> * <param name="notes"> * notes to be played, as a text string. * </param> * <returns> * <c>0</c> if the call succeeds. * On failure, throws an exception or returns a negative error code. * </returns> */ public virtual int addNotesToPlaySeq(string notes) { if (_func == null) { throw new YoctoApiProxyException("No Buzzer connected"); } return(_func.addNotesToPlaySeq(notes)); }