Presenting a white noise in ~10% of the trials in a block
in OpenSesame
In a flanker task, I want to present a white noise in 2 blocks out of four. Participants to be informed whether they would hear a white noise at the beginning of each block. On noise blocks the noise to be presented on ~10% of the trials.
Please, could you advice how to do it?

Comments
Hi,
In the
loop_tableof your block loop, you can have a variable calledblock_typethat can have the valuesnoise,no_noise. Next, in thelooptable of your trial_loop you add a variabletrial_typewith the valuesnoiseorno_noise. Finally, in thetrial_sequence, you change theshow_iffields of your noise patches to[block_type]='noise' and [trial_type]='noise'. That is an example, you can do it in many many different ways. I hope this gives you enough ideas to get started.Eduard
Dear Eduard
Many thanks for the instruction.
That really works.
Peace,
Masoud