Player.h 370 B

123456789101112131415161718
  1. #pragma once
  2. #include "Sequencer.h"
  3. #include "midi/BeatSequencePlayer.h"
  4. class Sequencer;
  5. class Player : public midi::BeatSequencePlayer
  6. {
  7. public:
  8. Sequencer& sequencer;
  9. Player(midi::Output* out, const midi::BeatSequence* sequence, Sequencer& sequencer);
  10. protected:
  11. virtual void beforeBeat(BeatIndex beat);
  12. virtual void afterBeat(BeatIndex beat);
  13. };