score.h 495 B

123456789101112131415161718192021222324
  1. #ifndef QTAUSCORE_H
  2. #define QTAUSCORE_H
  3. #include <QJsonArray>
  4. #include "PluginInterfaces.h"
  5. #include "tempomap.h"
  6. class QtauScore : public IScore {
  7. std::vector<synthNote> notes;
  8. float last_DYN=0;
  9. float last_PIT=0;
  10. void fillTrack(QString type,QStringList events,synthNote* note);
  11. float checkInc(QString type,float lastpos);
  12. public:
  13. QtauScore(const QJsonArray& ust, TempoMap* tmap);
  14. int getNoteCount();
  15. synthNote getNote(int index);
  16. };
  17. #endif // QTAUSCORE_H