From 6fd3e9cd2fb86f42eed537c2891748fa44dc0024 Mon Sep 17 00:00:00 2001 From: Noah Dayan Date: Wed, 24 Jan 2018 10:06:44 +0000 Subject: [PATCH] Add documentation to juce_MPENote.h --- modules/juce_audio_basics/mpe/juce_MPENote.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/juce_audio_basics/mpe/juce_MPENote.h b/modules/juce_audio_basics/mpe/juce_MPENote.h index 5398db424a..bddad71991 100644 --- a/modules/juce_audio_basics/mpe/juce_MPENote.h +++ b/modules/juce_audio_basics/mpe/juce_MPENote.h @@ -39,10 +39,10 @@ struct JUCE_API MPENote //============================================================================== enum KeyState { - off = 0, - keyDown = 1, - sustained = 2, - keyDownAndSustained = 3 + off = 0, /**< The key is up (off). */ + keyDown = 1, /**< The note key is currently down (pressed). */ + sustained = 2, /**< The note is sustained (by a sustain or sostenuto pedal). */ + keyDownAndSustained = 3 /**< The note key is down and sustained (by a sustain or sostenuto pedal). */ }; //============================================================================== @@ -64,7 +64,7 @@ struct JUCE_API MPENote @param keyState The key state of the note (whether the key is down and/or the note is sustained). This value must not be MPENote::off, since you are triggering a new note. - (If not specified, the default value will be MPENOte::keyDown.) + (If not specified, the default value will be MPENote::keyDown.) */ MPENote (int midiChannel, int initialNote,