If this template helps then use it. If not then just delete and start from scratch.
OS Win 10
PsychoPy version 2020.2.2
Standard Standalone? (y/n) y
What are you trying to achieve?:
As a preliminary exercise, I am making an adaptive staircase for tone detection where sound level is adapted to absolute threshold in quiet. It is a 2-interval forced-choice so the target interval is selected with a code snipet.
What did you try to make it work?:
I am using the staircase loop. I have set the step type to dB, “N up” to 1 and “N down” to 2, for a 2-down/1-up staircase. Start value is 1.
What specifically went wrong when you tried that?:
The trial seems to work fine, with a tone presented in one interval. The sound level did reduce as I identified the correct interval, but the level changes sounded wrong. In order to check them, I put in a routine to display the value of $level after each trial. It was reducing by the correct number of dB, but on every trial, not after two consecutive correct responses. Changing “N down” to 3 altered the behaviour, but it seemed to become quite unpredictable.