-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpatchMidiHost.h
43 lines (29 loc) · 983 Bytes
/
patchMidiHost.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef _patchMidiHost_h_
#define _patchMidiHost_h_
#include "expSystem.h"
class patchMidiHost : public expWindow
{
public:
patchMidiHost();
private:
virtual const char *name() { return "FTP Tester"; }
virtual const char *short_name() { return "FTP Test"; }
virtual void end();
virtual void begin(bool warm);
virtual void updateUI();
virtual void onButtonEvent(int row, int col, int event);
// implementation
bool draw_needed;
int last_vel[6];
int last_velocity[6];
int last_sens[6];
void init();
void vel2ToInts(int *vel2, int *velocity);
void drawBox(int string, int box32, int vel16);
uint8_t dbg_bank_num;
uint8_t dbg_patch_num;
uint8_t dbg_command;
uint8_t dbg_param;
void myIncDec(int inc, uint8_t *val);
};
#endif // !_patchMidiHost_h_