MuseScore  3.4
Music composition and notation
sequencer.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2011 Werner Schweer and others
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2
9 // as published by the Free Software Foundation and appearing in
10 // the file LICENSE.GPL
11 //=============================================================================
12 
13 #ifndef __SEQUENCER_H__
14 #define __SEQUENCER_H__
15 
16 namespace Ms {
17 
18 class NPlayEvent;
19 
20 enum class BeatType : char;
21 
22 //---------------------------------------------------------
23 // Sequencer
24 //---------------------------------------------------------
25 
26 class Sequencer {
27  public:
28  Sequencer() {}
29  virtual ~Sequencer() {}
30 
31  virtual void sendEvent(const NPlayEvent&) = 0;
32  virtual void startNote(int channel, int, int, double nt) = 0;
33  virtual void startNote(int channel, int, int, int, double nt) = 0;
34  virtual void playMetronomeBeat(BeatType type) = 0;
35  };
36 
37 } // namespace Ms
38 #endif
39 
Definition: sequencer.h:26
virtual ~Sequencer()
Definition: sequencer.h:29
Definition: aeolus.cpp:26
Definition: event.h:238
BeatType
Definition: sig.h:29
Sequencer()
Definition: sequencer.h:28