called when an event is received.

void event_receive(const EVENT_TYPE event, const float* data);