sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,321
- Last Active
- Roles
- Administrator
Comments
-
Hi Henrik, Good to hear that your first experiment worked smoothly. Hopefully you'll get some nice data! How can i just play a sound in a sequence any time a key is pressed? (Under the conditition that there is no right or wrong answer and it shal…
-
Hi Andrea, Right, if you set a loop to random, it will only randomize the order of the loop. The order of the items in a sequence is always fixed. Still, you can mimic a random sequence quite easily with a simple inline_script. See below, some inst…
-
Hi Jongsup, Yes, of course I remember! Great to heard that you're actually using it now. Below is a quite elaborate inline script that should do what you need. Basically, it collects a response first with a timeout of 500ms. If no response is coll…
-
Thanks! It's strange that you get a permission error and still have the .exe.log file. Nevertheless, it appears that it's exactly the information I need. I filed a bug report on this and I'm sure the issue will be resolved for the next release: http…
-
Thanks for pointing out these issues out! Indeed, these plug-ins don't expose their variables properly. I marked it in the bug tracker: https://github.com/smathot/opensesame_questionnaire_plugins/issues/4
-
I see. That sounds pretty consistent and persistent. This one is going to be tricky to figure out, I think, particularly because it appears to be specific to your set up (I can't replicate it either). * Are you running the latest version of the Pyt…
-
Hi Andrea, Perhaps it would help to describe in a bit more detail what happens: * Does OpenSesame crash completely, i.e. the window vanishes and you don't receive any error message at all. Or is it a 'graceful' crash that gives you a Python error …
-
Hi Newbie, Welcome to the forum! Collecting text input and playing a video at the same time is possible, but not straight-forward. You may want to take a look at this discussion: http://forum.cogsci.nl/index.php?p=/discussion/137/open-simultaneous…
-
Great. If it works, it works, right? Regarding wxWidgets. I believe that wxWidgets requires it's own window to draw on, so you cannot use a PyGame/ PsychoPy window. There might be a hack to make it possible, but you'd have to ask Google. If you'd …
-
Hi HIP, Normally, you would either a) drag a file from the explorer (or finder/ nautilus/ dolphin, pick your file browser) into the file pool, or b) click on the '+' icon in the file pool and select a file using the dialog that appears. But I'm as…
-
Right, I see. I can't think of a specific workaround at the moment, but perhaps these pointers could help you a bit with finding a solution yourself. Essentially, you will need to find a function that replaces this (from the script linked above): …
-
Hi Björn, Right, I'm in Marseille at the moment, and I noticed the same thing with the azerty keyboards. I filed a bug on this: https://github.com/smathot/OpenSesame/issues/86 The pyscho backend should take your keyboard layout into account. But s…
-
I have looked at the multiple-choice plugins which are really slick, except that (a) I haven't figured out yet how to interpret the data files they generate They will set the response variable. So the idea is that you insert a logger after the coll…
-
After investigating, it looks as though the issue is that PsychoPy requires the exact path to the image file being used, whereas OpenSesame can only provide the filename.ext provided in the file pool. Also, I should mention I was attempting to run t…
-
Hi Madjid, Ow yes, that slipped my mind. If you record the responses manually, you also need to explicitly keep track of the feedback. There is another discussion where I posted some example code, which you should be able to use pretty much straigh…
-
Hi Dingding, The duration is evaluated and prepared before the start of the sequence, so it cannot depend on the response time in this way. A simple inline_script item after the keyboard_response should accomplish what you want though: self.sleep(…
-
Hi Allison, You will need to do a bit scripting. Nothing too overwhelming, but maybe a bit tricky if you don't have much programming experience. Your best bet is probably to use the PsychoPy video routines. In order to do this, you must use the ps…
-
Hi Martin, I don't know what the status is on this (Erwin?), but you might want to check out this discussion: http://forum.cogsci.nl/index.php?p=/discussion/comment/484 Cheers, Sebastiaan
-
Hi Madjid, Ow, it's a bug, unfortunately. I filed it here: https://github.com/smathot/OpenSesame/issues/85. Thank you for bringing it to my attention. As a workaround, you could use the following inline_script instead of the mouse_response item (p…
-
Hi Madjid, I see. Could you perhaps post the full error message (stracktrace) so I can see where there error occurs? You will find this in the debug window (Control+D). Cheers, Sebastiaan
-
Hi Ktheshing, Ow, that's unfortunate. Chances are that the file is really corrupted. You could try two things: * Try to open the file with a tool like 7-zip (http://www.7-zip.org/), which may have some recovery functionalities for corrupted files.…
-
Hi Björn, Yep, that's it. I'm impressed that you figured it out, because it's hardly documented. One thing though: Some items require a prepare phase. For example, sketchpads construct a canvas in advance, because that prevents temporal delays dur…
-
Really, that just worked? That's good to know. How exactly did you do it? Did you extract the library.zip, insert the hardware folder, and re-zip it? Or did you simply paste the hardware folder into the OpenSesame folder? And thanks for the script…
-
Hi Sasan, I thought about it for a bit, but I'm still unclear about what exactly it is that you want to do. Perhaps it would be easiest if you attach the experiment (or paste the script to a service like pastebin) and describe in detail the behavio…
-
Good! Btw, 515 is rounded up to 1024, because only power-of-2 values are allowed: http://www.pygame.org/docs/ref/mixer.html#pygame.mixer.init
-
Hi Sasan, By default, OpenSesame plays back sound in 48Khz. I believe that's the highest quality that PyGame (which is used as a sound backend) can handle. So I guess I would stick to 48Khz. Regarding the noise. It's probably a very a nasty crackl…
-
A useful extra option might be to add a command for adding a custom variable, very similar to the subject number (e.g. for a certain condition). Right, that's actually not a bad idea. I marked it as a feature request: https://github.com/smathot/Ope…
-
Right, of course, I forgot. Windows doesn't run it in a terminal, at least not in the same way that Linux/ Mac OS does. Below is what you should see. Please let me know what type of command line options you'd like to see. Also, please note that som…
-
Hi Yuval, Yes, there's a program called opensesamerun (included with OpenSesame) that allows you to run experiments from the command line. For a list of command line options, see opensesame --help. See also this post: http://forum.cogsci.nl/index.…
-
Hi Sasan, Unless you explicitly do something with it, creating a practice variable is only useful for logging purposes: During the analysis, it allows you to easily see which trials were part of the practice block, and which of the experiment block…