Move defines elsewhere as they're used in multiple places
This commit is contained in:
parent
416b2a1730
commit
cc86c357a0
2 changed files with 23 additions and 25 deletions
|
@ -3,6 +3,29 @@
|
|||
|
||||
#include "Wiring.h"
|
||||
|
||||
|
||||
// The three states of our main state machine
|
||||
|
||||
// No note is sounding
|
||||
#define NOTE_OFF 1
|
||||
|
||||
// We've observed a transition from below to above the
|
||||
// threshold value. We wait a while to see how fast the
|
||||
// breath velocity is increasing
|
||||
#define RISE_WAIT 2
|
||||
|
||||
// A note is sounding
|
||||
#define NOTE_ON 3
|
||||
|
||||
|
||||
//Magic value where pinky button means "pitch bend"
|
||||
#define PBD 12
|
||||
|
||||
//Vibrato direction
|
||||
#define UPWD 1
|
||||
#define DNWD 0
|
||||
|
||||
|
||||
extern unsigned short breathThrVal;
|
||||
extern unsigned short breathMaxVal;
|
||||
extern unsigned short portamThrVal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue