Type alias Player

Player: {
    play(note) => void;
}

A player with callback that accepts current event

Type declaration