Example #1
0
        private void sendRythmEvent(object sender, EventArgs e)
        {
            RythmEventArgs r = new RythmEventArgs();

            r.NoteLengthsArray = _noteLengths;

            if (RythmSelected != null)
            {
                RythmSelected(this, r);
            }
        }
Example #2
0
 private void RythmSelected(object sender, RythmEventArgs r)
 {
     _plugin.GetInstance <MidiProcessor>().NoteLengthsArray = r.NoteLengthsArray;
     _plugin.GetInstance <MidiProcessor>().CountRythm();
 }