Added freeze pitch and volume controls
This commit is contained in:
michalcourson
2025-11-05 19:17:34 -05:00
parent f4a0b995ba
commit e89620df27
7 changed files with 34 additions and 2 deletions

View File

@ -32,6 +32,7 @@ public:
void SetAdsrTimes(float attack, float decay, float release);
float GetPanning(int channel) const;
int GetMidiNote() const { return current_midi; }
void SetPitchAdjust(float);
bool onoff_;
float panning;
@ -46,5 +47,6 @@ private:
float current_period_;
float current_amplitude;
float period_counter;
float pitch_adjust = 0.0f;
};