midi notes avaiable on ui
This commit is contained in:
@ -32,12 +32,14 @@ public:
|
||||
void SetAdsrTimes(float attack, float decay, float release);
|
||||
float GetPanning(int channel) const;
|
||||
int GetMidiNote() const { return current_midi; }
|
||||
bool onoff_;
|
||||
|
||||
private:
|
||||
Port portamento_;
|
||||
Adsr amplitude_envelope_;
|
||||
bool onoff_;
|
||||
|
||||
bool overflow_;
|
||||
float sample_rate_;
|
||||
int current_midi;
|
||||
float current_period_;
|
||||
float current_amplitude;
|
||||
|
||||
Reference in New Issue
Block a user