Main clock (with metronome) implemented.

- metronome samples are played outside the routine for now.