예제 #1
0
        private void sendAccentEvent(object sender, EventArgs e)
        {
            AccentEventArgs a = new AccentEventArgs();

            a.AccentsArray = _accents;

            if (AccentSelected != null)
            {
                AccentSelected(this, a);
            }
        }
예제 #2
0
 private void AccentSelected(object sender, AccentEventArgs a)
 {
     _plugin.GetInstance <MidiProcessor>().AccentsArray = a.AccentsArray;
     _plugin.GetInstance <MidiProcessor>().CountRythm();
 }