diff options
author | Sander Vocke <sandervocke@gmail.com> | 2024-07-23 13:23:38 +0200 |
---|---|---|
committer | Sander Vocke <sandervocke@gmail.com> | 2024-07-23 13:23:38 +0200 |
commit | 0e59f90e2396190ec3e3a7195bac9c79e12fd6cc (patch) | |
tree | f7fd25a952c6e64db9108eab2a774e46fd9f0a83 /src/instrumentstate.h | |
parent | 019d478818950f7880d2c0f80d8fc8f963e9736b (diff) |
Add CC-controller openness parameter for hi-hats.
Diffstat (limited to 'src/instrumentstate.h')
-rw-r--r-- | src/instrumentstate.h | 9 |
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 |