Convert between events and channels