summaryrefslogtreecommitdiff
path: root/src/instrumentstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrumentstate.h')
-rw-r--r--src/instrumentstate.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/instrumentstate.h b/src/instrumentstate.h
new file mode 100644
index 0000000..485f2be
--- /dev/null
+++ b/src/instrumentstate.h
@@ -0,0 +1,9 @@
+#pragma once
+
+//! Tracks the MIDI state of an instrument during play.
+struct InstrumentState {
+
+ //! Openness (typically for a hi-hat).
+ //! 0.0-1.0, where 0.0 is closed and 1.0 is fully open.
+ float openness = 0.0;
+}; \ No newline at end of file