I am very new to PsychoPy and python in general. I am setting up a speech-in-noise experiment, where we will be recording pupil dilation via an eye tracker. We want to be able to select various screen luminance levels before each condition of the speech-noise-task. I have set up the dialog box to select the level (e.g. brightness level 1, level 2, etc.) before each trial but now I need to make those selections mean something and actually change the background color of the screen. Does anyone have any experience with this, or any suggestions on how to proceed?
Using windows 7 and PsychoPy2 v1.83.04.
Thanks in advance.