public bool SendEvent(Event ev) { if (ev.Type == EventType.Parameter) { SetParameter(ev.EventIndex, (double)ev.Data); return true; } return false; }