sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Fyi: You can now register for the OpenSesame and JASP workshops through this link: http://bit.ly/2skLRV7 You can attend both workshops (JASP in the morning and OpenSesame in the afternoon), and you can also attend them if you're not otherwise atten…
-
You can specify an item as keyword. If you do that, OpenSesame will also register the responses with a _[item] suffix, just like for a keyboard_response. responses.add( response=response, correct=correct, response_time=response_time, it…
-
Hi Cristos, In this case, I think you're better off using a simple inline_script. Below you see an example of how that works, with the difference that I used a button widget instead of an image_button. But the idea is the same. Does that clear thin…
-
Hi Kirsten, There will be no additional lag if you incorporate an inline_script into coroutines. (It's just less user friendly.) You can see how to do this here: * http://osdoc.cogsci.nl/3.1/manual/structure/coroutines/#writing-a-custom-coroutine …
-
Hi Bernhard, These don't sound like problems with the Mac OS package per se, but simply a matter of setting up the experiment correctly. So what I would is first familiarize yourself with OpenSesame by walking through one of the tutorials and read…
-
(Quote) Ok, so then there's at least one obvious workaround: Close and restart OpenSesame after running an experiment. This sounds like there are carry-over effects from one experiment to the next, which in turn suggests that the inprocess runner i…
-
Hi Sophie, The easiest solution is probably to first forget about the trigger, and simply implement this with coroutines. Next, you add an inline_script that replaces the run() function of the stimulus sketchpad by a chain of functions that also ca…
-
Hi Jonathan, My first guess is that the operating system decides that OpenSesame has frozen when there is a long sleep, and then takes back control, including showing the mouse cursor. I'll see if I can reproduce this, and find out how to fix it. W…
-
Hi Anna, We're aware that the Mac OS version is buggy on some systems. Some of these issues are hard for us to fix, because they are systemic problems in the underlying libraries used by OpenSesame. But some issues are within our reach to fix, and …
-
Hi Sandra, Entering non-Latin characters is possible but not very convenient, and the details depend on your operating system. Here are a few pointers: * Select the chinese-japanese-korean font in the General Properties tab of the experiment. * Se…
-
I was afraid of that. This means that the Python interpreter crashed. That's always a bug somewhere in the underlying libraries, not a problem in your experiment, nor in OpenSesame (well, the underlying libraries are part of OpenSesame, in a sense, …
-
(Quote) No that never worked. But clearly it would be convenient, so I opened an issue for it. Regarding the code, don't forget the var. before response! correct_keys = ['f','g']correct = 1 if var.response in correct_keys else 0 Cheers! Sebastiaan
-
It will always say something when the experiment ends, even if you don't see a detailed stack trace. For example, it may say that Python crashed, or that the experiment ended successfully.
-
(Quote) No because you haven't provided any error message! (Image)
-
Hi, Subprocesses are always tricky. Here's what I would do: * Pass the command as a list: ["wscript.exe", "c:\invis.vbs"] instead of as a single str. I'm surprised that it even works like this at all. * Use subprocess.check_cal…
-
That's correct. The loop.dm property corresponds to the table that you see when you open the loop item. If you use an external source, the loop table is bypassed. What you could do is load the loop table from a file in the script as well. That way,…
-
Hi, roll is an advanced loop operation that you need to enter into the script of the loop item. * http://osdoc.cogsci.nl/3.1/manual/structure/loop/#roll Using a fixed roll 1 won't do the trick though, because it sounds like you want to roll the t…
-
Hi Tali, One option would be to set the inner loop's Break-if statement to always, and uncheck the Evaluate on first cycle option. That way the inner loop will only run for one cycle. Then you can check the Resume after break option so that the inn…
-
Hi, Right now, you've specified that KeyboardPre ends after 0 ms :smile:. If you set the End Time to [Time]. you will find that it collects key presses for the duration of the coroutines. Cheers, Sebastiaan
-
Hi Josh, (Quote) The way that the legacy backend and Expyriment use PyGame doesn't allow for 3D objects. So I think you will have to re-implement things from scratch (right @fladd?). (Quote) I would take https://github.com/smathot/OpenSesame/blob…
-
Hi Andres, You'll want to take a look at this discussion: * http://forum.cogsci.nl/index.php?p=/discussion/3021 Cheers, Sebastiaan
-
Yes, you could have the fixation dot precede the coroutine, rather than being part of the coroutine, if that makes sense. Then you flush the key presses as soon as the coroutines start.
-
(Quote) I hope so, but it depends on what the JASP people are planning to do (notably if their workshop lasts all day or not). I'm trying to coordinate that now.
-
Yes, thanks for reminding me. There was a miscommunication between ESCoP and me: I assumed that the conference would handle the registration, and they assumed I would. So I will open a registration form very soon. For now, anyone who wants to join …
-
Hi, You're misunderstanding the semantics of a while loop! This: while True: something() Means: enter an infinite loop that runs something() over and over again. It does not mean: run the loop while something() is True. Analogously, this: w…
-
@Pad Have you had a chance to try this out?
-
¡Muchas gracias!
-
Hi, Are you using Mac OS, by any chance. @Daniel This is a known issue on Mac OS, right? Any workaround? PyAudio for example? Cheers, Sebastiaan
-
Hi, Yes, this is an incompatibility between certain versions of numpy and OpenSesame. It's been fixed in the unstable releases of 3.1.7. You can install those from the opensesame-james ppa: sudo add-apt-repository ppa:smathot/opensesame-jamessudo …
-
The keyboard_response has a 'Flush pending keypresses' option. If you disable that, old key presses won't be flushed, but will result in a 0 ms response time. So that would accomplish what you want, right? Whether this is a good idea, I'm not sure.…