TR123e - EMCT Computing Final Project Version 1.0
Research Project Translation from gen~ to embedded Moog synth
Loading...
Searching...
No Matches
KeyFollow.h
Go to the documentation of this file.
1
35
36#pragma once
37
59class KeyFollow {
60public:
75 KeyFollow(float keyFollowAmount = 0.01f);
76
91 void setKeyFollowAmount(float amount);
92
121 float process(int midiNote);
122
123private:
136};
137
KeyFollow(float keyFollowAmount=0.01f)
Construct KeyFollow processor with specified tracking intensity.
Definition KeyFollow.cpp:24
float keyFollowAmount
Keyboard tracking intensity coefficient.
Definition KeyFollow.h:135
void setKeyFollowAmount(float amount)
Update keyboard tracking intensity in real-time.
Definition KeyFollow.cpp:39
float process(int midiNote)
Process MIDI note number and generate frequency offset.
Definition KeyFollow.cpp:79