summaryrefslogtreecommitdiff
path: root/src/instrumentstate.h
blob: 485f2bed673e3763be69b00706cb72c20b440692 (plain)
1
2
3
4
5
6
7
8
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;
};