Hello, I have a question about Staircase.
I am using StandalonePsychoPy3-3.1.2-win64.
I would like to do 2AFC Pitch discrimination test by Staircase.
Through Builder, I get a following staircase loop called ‘adap_stair’:
adap_stair = data.StairHandler(startVal=13, extraInfo=expInfo,
This is intended to use the level 13 initially, and go up and down by 1.
In each trial, two sounds (lowest pitch, and the current level pitch) are presented in a randomized order. Subjects respond key 1 or 2, to indicate the higher pitch (1st or 2nd sound). The variable from Staircase handler ‘level’ is used to generate sound filename numbers (e.g., ‘P01.wav’, 'P02.wav, …, ‘P37.wav’ from low to high pitch)
However, when I print the variable ‘level’ and ‘key_resp.corr’, despite the correct answer each trial, the level is changing by a different step size each time (instead of going down by 1, it is going up 7 or 8 each time), quickly arriving the max value.
Below is the output:
######## Running: C:\Users\tfujioka\Documents\Experiments\SoundStair.py ########
Hello from the pygame community. https://www.pygame.org/contribute.html
level is: 13
level is: 20
level is: 28
level is: 36
level is: 37
level is: 37
Could anyone help me understand why this occurs and how I could make 2-down 1-up with +/- 1 stepsize?
Thanks so much,