NoteOn() public method

Plays the current patch.
public NoteOn ( ) : int
return int
コード例 #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);
        }
コード例 #2
0
ファイル: HITInterpreter.cs プロジェクト: RHY3756547/FreeSO
        /// <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;
        }