You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MidiListener.h 315B

1234567891011121314151617
  1. #pragma once
  2. #include "RtMidi.h"
  3. #include <iostream>
  4. #include <QObject>
  5. class MidiListener: public QObject{
  6. Q_OBJECT
  7. RtMidiIn * midiin;
  8. public:
  9. ~MidiListener();
  10. public slots:
  11. void start(int Port = 0);
  12. void listen();
  13. void stop();
  14. signals:
  15. void newMidiMessage(int b1, int b2, int b3);
  16. };