From 0e59f90e2396190ec3e3a7195bac9c79e12fd6cc Mon Sep 17 00:00:00 2001 From: Sander Vocke Date: Tue, 23 Jul 2024 13:23:38 +0200 Subject: Add CC-controller openness parameter for hi-hats. --- src/instrumentstate.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/instrumentstate.h (limited to 'src/instrumentstate.h') 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 -- cgit v1.2.3