GUI Code - LemonRepublica/RPI_AMP GitHub Wiki

The GUI is programmed based on QT creator and the programming language is C++,which include five buttons and six knobs. The five buttons are run, delay, distortion, Reverb, EQ. GUI Run is for starting termination
Distortion achieves distortion effects, and adjusts distortion parameters for numerical adjustment of the knob
Delay realizes the delay effect, and the corresponding knob can perform numerical transmission adjustment program parameters.
Reverb achieves the reverb effect, and the corresponding knob can perform numerical transmission adjustment parameters.

Function interface documentation for Button-GUI

Bool UserMainFlag; //main loop switch variable True open False close
Bool UserDistorFlag; //Distor button switch variable True open False close
Bool UserDelayFlag; //Delay button switch variable True open False close
Bool UserReverbFlag; //Reverb button switch variable True open False close
Bool UserEQFlag; //EQ button switch variable True open False close

Float Get_DelayTimeValue(void); //Get the DelayTime knob value function
Float Get_DelayLeverValue(void); //Get the DelayLever knob value function
Float Get_ReverbLevelValue(void); //Get the ReverbLevel knob value function
Float Get_BassValue(void); //Get the BassValue knob value function
Float Get_HighValue(void); //Get the HighValue knob value function