sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Hi Heidi, So you play the sound with a regular sampler item, but use an inline_script to repeat the whole sequence when an error occurs. Right? If so, that seems like a valid approach. (Quote) I agree; something like that seems to be going on. (Q…
-
Hi Felipe, Let's begin with the ctypes issue. This module is part of the Python standard library, so it should always be available. What script did you try exactly, and what is the exact error message? Cheers, Sebastiaan
-
Hi Heidi, It looks like you're playing back sound files through an inline_script. Is that correct? I'm guessing that you just keep opening new files, without closing the old ones, and that this eventually results in the 'too many open files' error.…
-
Hi Dror, I think that Josh means the Windows (or Command) key, which you can disable as described under those links. But the Escape key is another matter. It's hardcoded in OpenSesame that it aborts the experiment. What exactly do you want to do? …
-
Hi Hiro, You're running into a weird property of OpenSesame: In Python code, 0, 0 is the top-left of the display, and not the center. So you're showing the first image outside the display boundaries. So you'll want to do something like (note also …
-
Hi Aurelio, (Quote) When a timeout occurs, response is set to "None", whereas you appear to assume that it's set to "timeout". You can find an example of this here: * http://osdoc.cogsci.nl/tutorials/capybara/#step-11-define-th…
-
Hi Andrea, That's very interesting. Yes, it's possible, but it will require some network programming. This isn't very difficult though; the Python socket module is pretty user friendly: * https://docs.python.org/2/library/socket.html If you have …
-
Hi, There is a .zip file with resources provided with this tutorial: * http://osdoc.cogsci.nl/tutorials/cambridge-2014/ It contains an instructions.png, which I suspect is the file you're looking for--even though it's indeed called introduction.p…
-
Hi, (Quote) You could start by explaining exactly what you want to do, what you have done so far, and where you get stuck. Cheers, Sebastiaan
-
Hi Michael, What you're trying to do is pretty unusual, and I doubt someone will be able to help you with this. It's a matter of tinkering until it works, I suppose. But you mention that it does work in window mode, right? So what you could try to…
-
Hi, Setting the mouse position is a tricky business. As far as I can tell, it works differently on different system--but rarely as expected. I cannot say much more than I already did in the forum post that you're linking to. But what you could try…
-
Hi, It's possible, but not super easy. On the page below you can see a few examples of scripts that play video, while showing something else at the same time. * http://osdoc.cogsci.nl/usage/video/ Depending on how proficient you are with Python c…
-
Hi Chris, As soon as the plug-in controls get applied, the script is regenerated and your changes to the script are lost. So what you could do for now is change the script, save the experiment, and then run it using opensesamerun (which won't chang…
-
Hi Chris, Nevertheless, it's that error--I can tell by the stacktrace in your first post. What seems to be going on is that this option is enabled regardless of whether the box is ticked. A bug on top of a bug, in other words. What happens if you e…
-
Hi guys, It's probably the force-drift correct option, which sends a command that only the EyeLink 1000 recognizes. This issue is already listed: * https://github.com/esdalmaijer/PyGaze/issues/36 For now, what you could do is simply disable this …
-
It sounds like you're doing everything correctly, and for me it works. One thing that comes to mind is that it may be a character-encoding issue. Do you have special characters (such as 'è') in your Windows username? Does it work if you enter __poo…
-
(Quote) Yes, it's just a very limited set of tags for basic formatting, not a full HTML renderer. See also: * http://osdoc.cogsci.nl/usage/text/
-
(Quote) I figured as much. But there must be rules for how Chinese text should wrap, right? From Wikipedia it looks like it's ok to wrap after any character, with the exception that a handful of characters (mostly punctuation) are not allowed at the…
-
(Quote) Could you give an example of this? I.e. what should happen, and what does actually happen in OpenSesame?
-
Hi Mario, This should do the trick (count starts at 0): [count_trial_sequence] = 4 Also, you'll need to set count_trial_sequence to 0 at the start of the experiment. Otherwise, this break-if statement will fail the first time, when trial_sequence…
-
Hi, For me the EyeTribe works fine with PyGaze in OpenSesame, although there are still some rough edges. One thing that comes to mind is that the drift correction fails because the calibration is not good enough. That's one of those rough edges: Wh…
-
@stefanouser (Quote) Your code looks fine, although it's clearly based on an older plug-in. You could take a look at the documentation to see an example of a modern plug-in: * http://osdoc.cogsci.nl/plug-ins/create-plug-in/ The slowness is probab…
-
(Quote) Not exactly. The prepare phase of every item in a sequence, is executed at the start of that sequence. So say that you have a sequence s, with items i1 and i2, then it would go like this: * run s* prepare i1 * prepare i2 * run i1 * run i2 …
-
Hi Heidi, Would mind checking out the latest 2.9.7 prerelease (currently pre3)? The issue with special character should be fixed now. (I know you've worked around it now, but for future reference.) * http://files.cogsci.nl/software/opensesame/pre-…
-
Hi, It sounds like there's an invalid line in your script. You should be able to fix this by opening the script in a text editor, and manually fixing the affected line. If you don't see the problem, please post the script here (or a link to somethi…
-
Good to hear you got it working, and thanks for letting us know!
-
Hi Kushi, It sounds like the duration of the sketchpad is set to 'keypress'. This means that the participant has to press a key to advance to the next item, in your case a mouse_response item. If you set the duration to '0', the problem should go a…
-
Hi, Sure. What you could do is first create a variable that indicates whether or not a sound should be played on an error. You could do this with a simple inline_script at the start of your trial: import randomif random.random() < .5: exp.se…
-
Hi Heidi, I traced down the issue, or rather issues. * The Android runtime chokes when extracting file names with special characters from the file pool. (Issue #345) * This error is not visible in the regular debug output, for a reason that I don'…
-
I think the easiest solution for you is to use the UnicodeReader, which is a recipe described on the Python docs: * https://docs.python.org/2/library/csv.html#examples You can add this snippet in a init script at the beginning of the experiment: …