]> git.cworth.org Git - scherzo/blobdiff - pitch.h
Rework computer keyboard input to be mapped piano keyboard
[scherzo] / pitch.h
diff --git a/pitch.h b/pitch.h
index 4467aa86a825c239faa6842819c21d85b58fb1e6..3d1dd2e125b98cda6cc4c2ecfe150c54278258db 100644 (file)
--- a/pitch.h
+++ b/pitch.h
@@ -60,6 +60,8 @@ typedef uint32_t pitch_t;
 #define PITCH_CLASS_LITERAL(literal_name, literal_accidental) \
     PITCH_LITERAL(literal_name, literal_accidental, 0)
 
+#define PITCH_NOT_A_PITCH ((pitch_t) -1)
+
 typedef enum pitch_accidental
 {
     PITCH_ACCIDENTAL_DOUBLE_FLAT,