added channel() function to midi channel event class