예제 #1
0
파일: Note.cs 프로젝트: msp/virtual-gallery
        void CopySettingsToNative()
        {
            if (!HasNativeNote() || !HasNativeSequencer())
            {
                return;
            }

            Native.ChangeNoteValues(parent.Reference(), reference, note, start, end, velocity);
        }
예제 #2
0
        void CopySettingsToNative()
        {
            if (!HasNativeNote() || !HasNativeSequencer())
            {
                return;
            }

            Native.ChangeNoteEnd(parent.Reference(), reference, end);
            Native.ChangeNoteStart(parent.Reference(), reference, start);
            Native.ChangeNoteKey(parent.Reference(), reference, note);
            Native.ChangeNoteVelocity(reference, velocity);
        }