Added beat clock and sample sheduling to AudioCore

You can now set the AudioCore's bpm. Its internal beat clock starts with
initialization and is active once per beat. A new method enables you to
shedule a sample to be played on the next beat.