NoteOn() public method

Plays the current patch.
public NoteOn ( ) : int
return int
Ejemplo n.º 1
0
        /// <summary>
        /// Play a note, whose ID resides in the specified variable.
        /// </summary>
        public static HITResult NoteOn(HITThread thread)
        {
            var dest = thread.ReadByte();

            thread.WriteVar(dest, thread.NoteOn());

            return(HITResult.CONTINUE);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Play a note, whose ID resides in the specified variable.
        /// </summary>
        public static HITResult NoteOn(HITThread thread)
        {
            var dest = thread.ReadByte();

            thread.WriteVar(dest, thread.NoteOn());

            return HITResult.CONTINUE;
        }