eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Grusha, I personally find it always rather hard to say, yes that's correct. In theory, your reasoning sounds okay to me. However, the only way to be sure is testing it. Did you already have the chance to test it (btw, sorry for the late reply...…
-
Hi Sophie, The discussion you linked us to was probably written with an older version of Opensesame. Can you post the error message of the crash you encountered? MAybe you can share your current version with us, so we can debug together? At any ra…
-
Hi Cat, (Quote) Yes, this sounds very reasonable to me. (Quote) Well, if you add a multiple choice item right after the last sketchpad, you will have your structure, to make sure that correct sentences appear, you would need to define them at some…
-
Hi Ronan, (Quote) I don't see right away what could be the issue, but you need to check whether there is an error in the code (e.g. you conditional is not defined correctly), or whether the data looks different to what you expect (e.g. the response…
-
Hi Ronan, With the Opensesame items directly, getting the key_release time won't be possible. So, you would need to do some python scripting. This is not too difficult though. Here an example using the pygame backend. Is this enough to get you sta…
-
There is a probably a reason for that (that needs fixing if we were perfectionists), but if it works, it works.
-
Hi, If you set the duration of the sketchpad to 0, is the problem solved? Eduard
-
Hi laura, Yes they are. All milliseconds. Eduard
-
Hi, Did you set the timeout in the keyboard item or during the stimulus presentation beforehand? Would you share your experiment, or at least a few screenshots of your structure with us? eduard
-
Hi, You need to have a variable in your sequence, that can have two values, e.g. var.type = 'image' or var.type = 'text'. You can define it in a loop table, or in an inline_script. Once it is defined you can retrieve it's current value and presen…
-
Nope, I don't know. Are you using the same Opensesame version?
-
Oh sorry, that was incomplete. You would have to wrap a loop around the procedure, like this: while True: key1, time1 = kb1.get_key(timeout = 5) if key1 != None: break Eduard
-
Hi, No testing done on my end, but if you take advantage of the prepare-run strategy, I would expect the timing to work. You probably would have to prepare all the canvases in advance and then show them in succession at the rate you intend. Prepara…
-
Hi Lauren, Inside an inline_script somewhere in the beginning of your script, before you enter your block loop, you just define a variable to be False, like so: var.break_the_loop = False. If you click on the block sequence in the overview area, th…
-
Hi, another source of variability is refresh of your screen. In the link I posted above, Sebastiaan recommends always use a stimulus duration that is slightly lower than your desired duration (depending on the refresh rate of your screen), just to …
-
Sorry again. This code should work now (at least it is tested...) cv = canvas()kb = keyboard()duration=10000 # 10 s trialcv.text('Please press the buttons as often as you want')counter = 0t0 =cv.show()while clock.time()-t0<duration: k,t = k…
-
I haven't tried it out myself, but would it help if you used a timeout in your keyboard of 0 or maybe 1ms? Eduard
-
As far as I can see, you're doing nothing wrong. In the past, I did have some problems with .ogg files. Some files worked whereas others did not. In the end, I couldn't figure out why, I just used files that worked. Is the experiment still to big …
-
Hi, Maybe this discussion will help you. You want to do essentially the same, just with one card less on the screen. Does is help? Eudard
-
Hi, That is possible, you simply have to add multiple mouse responses to the sequence, and make sure participants always you the right order of actions. Alternatively, you can also make something along the lines of forms (all checkbox like clicks i…
-
Hi Lauren, You can use two inline_scripts. One put before the stuff that you are measuring and one after. In the first, you have something like: t0 = clock.time(). In the second: if clock.time()-t0 >30000: break_the_loop = True Now you only…
-
My bad. Change the 'bigger than' to a 'smaller than'. If you have a special button box, you can't use the keyboard item. How does your responsebox communicate with Opensesame? Eduard
-
Well yes, In the show iffield of the feedback item (the fixation crosses in your case) you can have a complex condition. Something like that should do: [practice] = 'yes' and [correct] =1 # for correct[practice] = 'yes' and [correct] =0 # for inco…
-
Hi Maddy, Allow me to respond in place of Josh (@Josh feel free to join in as well). My first idea is based on two sketchpads with the cards each (images, rectangles, whatever). As soon as a click occurs on either of them (implemented in an inline…
-
Hey D. Maybe you can contact her/him and find out what is going on in that experiment? ;) Eduard
-
Hi , Maybe this could be useful to you. Is it? Eduard
-
Hi Marc, How is your experiment structured? Depending on that, the implementation varies quite a bit. Here is just one example of doing it: cv = canvas()kb = keyboard()duration=10000 # 10 s trialcv.text('Please press the buttons as often as you wa…
-
Hi again, Now I get it. That's rather simple. You need two samplers (or however you choose to play the files). In the first one, you set the duration to sound. In the second you set duration to keypress. In this way, the response of how long partic…
-
Hey, To a great extent your task is rather standard, so I recommend, you have a look at the beginner's tutorial and structure your experiment accordingly. You can find it here. (Quote) I don't really get this. Could you describe the paradigm with …
-
Hi Mimi, I suspect this is an issue of choosing the correct phase (see run vs. prepare). I suppose, you define RT and accuracy in the run phase while not using a feedback item. Is this correct? In any case, read the link I provided, or upload your e…