ARM bmin(int) bmax(int) bstart(int) btick(int) cmin(int) cmax(int) cstart(int) ctick(int) ENABLE CLOSE
ARM command tells GUI to reset the GUI and all variables. It also configures the scales used to give grades to the samples played. min is the min grade that can be given, max is the maximum grade that can be given, start is the grade that the slider starts from, tick tells what is the spacing between ticks under the slider (use 0 for no ticks). All these values can be configured to both sliders individually.
ENABLE command tells GUI to enable the testee to give his/her answer.
CLOSE command tells GUI process to exit, closing communication socket and GUI window during the process.
EVENT timestamp(float) BUTTON A EVENT timestamp(float) BUTTON B EVENT timestamp(float) BUTTON C EVENT timestamp(float) BUTTON STOP ANSWER timestamp(float) bval(int) cval(int)
The GUI process will start sending messages after receiving the ENABLE message from test logic. It will then send any number of the EVENT messages followed by a single ANSWER message. The button events are requests from the test subject to the test logic to start or end playing samples. The timestamp parameter is a float telling the system time in seconds as returned by Python time.time() method.
ANSWER bval cval message means testee pressed the OK button. The bval and cval parameters give the values of the B and C sliders when user pressed the OK button.