예제 #1
0
        protected virtual void OnMetaMessageDispatched(MetaMessageEventArgs e)
        {
            EventHandler <MetaMessageEventArgs> handler = MetaMessageDispatched;

            if (handler != null)
            {
                handler(this, e);
            }
        }
        protected virtual void OnMetaMessageDispatched(MetaMessageEventArgs e)
        {
            EventHandler<MetaMessageEventArgs> handler = MetaMessageDispatched;

            if(handler != null)
            {
                handler(this, e);
            }
        }
예제 #3
0
 static void MIDIMetaMessagePlayed(object sender, MetaMessageEventArgs e)
 {
     var m = e.Message;
     foreach (var b in m.GetBytes()) Console.Write("{0:X} ", b);
 }
예제 #4
0
 protected virtual void OnMetaMessageDispatched(MetaMessageEventArgs e)
 {
     MetaMessageDispatched?.Invoke(this, e);
 }