[open] Sketchpad skipped on first iteration of loop (works properly thereafter)
Hi all!
My experiment is a sounds-rating experiment (users listen to the sounds and make a rating afterward) intended to be adult and child-friendly. As such, I have a placeholder image that I want to have up during the sound, instructing them to listen to the sounds, and only have the rating page appear after the sound has finished playing.
I place the placeholder image sketchpad prior to the sound player, set the sketchpad duration to "0", and the sound player duration to "sound" (followed by a sketchpad for ratings with a duration of "0", and a touch_response item immediately after that).
My problem is as follows, and I am mystified and frustrated by it:
The first iteration of the loop, my "listen" placeholder image is skipped entirely, and the sound plays over top of the ratings sketchpad (which is touch-response active, and the user can enter their rating and start the next sound playing over top of the first sound!). BUT, after the first run of the loop, everything works properly - the "listen" sketchpad remains on the screen for the duration of the sound (and the user cannot make a response), and at the end of the sound, the ratings sketchpad appears and the user can make a response.
This is happening in my practice loop and in my experimental loop - this issue where the first time the loop runs, it skips the "listen" sketchpad entirely, but after the first run through the loop, it works perfectly/as intended. Any ideas of what is going on?
Notes:
- this is on the "droid" backend as it's intended to run on tablets, as we want to do field-testing with this experiment
- this did not occur when I wrote the program originally (I want to say in OpenSesame 2.7.x or 2.8.x)
Here's my experimental code. Any help would be greatly appreciated - I can't figure out why it messes up on the first loop and works thereafter (the issues are in the "practice_loop1" and "experiment_loop")
[pastebin:nux65SEk]
Comments
Ok - since it's going to be hard to reproduce this without having all of my files, I've condensed this down to the smallest loop possible that shows my issue and is reproducible. I've had a friend test this on a different computer, different environment, and he reports this same skipping of the sketchpads on the loops' first iteration on all backends except expyriment. (For reference, I have to run it on the droid backend as this is an experiment to be put on tablets).
Here are the assets necessary to run the experiment (Google Drive download; .zip file w/images and sounds, ~7MB )
Here's the experiment code
[pastebin:9NMC6M2d]
Hi,
Unfortunately, I cannot reproduce the error. I am running the experiment with the droid backend on ubuntu and the sound plays only while I can see Bugsy and his/her friends; also during the first trial. Which system do you use? Maybe someone else on the forum can reproduce it. Sorry.
Good luck,
Eduard
btw. this experiment is amazing!
Hi,
I've had this similar bug before, where the first placeholder sketchpad is skipped the first time around. Wasn't this a bug that should be fixed with the most recent version 3.0.7? Maybe you can not reproduce because you have the latest version, Eduard?
Can i just ask a noobish question on how to recreate this particular experiment with just the script as text? I tried copying it to the script editor in a new empty experiment. But when i apply the script all the items end up in the Unused items bin. Is there some trick i am missing here?
Laurent
EDIT: This discussion describes a similar error, right?
Hi Laurent,
True, I just updated the version this morning, so maybe this update indeed solved the issue. can you try it @jnaveblod ?
The problem you describe with the script, I had also before. Not sure what solved it, but now it works. Maybe one update will solve all the issues?
Eduard
I just updated too, the sampler / placeholder order now works perfectly fine in my own experiments.
The parsing problem still remains, so unfortunately i cannot recreate this experiment. Which is a shame because it looks great!