TR123e - EMCT Computing Final Project Version 1.0
Research Project Translation from gen~ to embedded Moog synth
Loading...
Searching...
No Matches
VelocityParser.h
Go to the documentation of this file.
1
55
56#pragma once
57
104public:
129 VelocityParser(int threshold = 64);
130
176 bool isNoteOn(int velocity);
177
178private:
191};
192
VelocityParser(int threshold=64)
Construct velocity parser with configurable threshold.
Definition VelocityParser.cpp:22
int velocityThreshold
Velocity threshold for note-on discrimination.
Definition VelocityParser.h:190
bool isNoteOn(int velocity)
Analyze velocity value and determine note-on status.
Definition VelocityParser.cpp:42