sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
@Edwin As long as we use pygame to play sound, there's nothing we can do about this. But at some point we should probably change to a different sound back-end to get better temporal precision and support for more formats. Daniel ( @dschreij ) is act…
-
Hi Antonie, Ah, right, so you have implemented the form in an inline_script as well? (I assumed that you used the form_base plug-in, and my suggestion was based on that assumption.) In that case, you could simply get the timestamps of before and af…
-
Hi Ambra, Provided that you change the speed of the 'starfield' to a fixed value, which you appear to have done, both speeds are expressed in pixels per frame. And they do in fact move equally quickly for me, if I specify the same speed. Perhaps th…
-
Hi Rachel, There are a few ways to do this. One way would be to create an inline_script that alternately plays sounds and polls for responses. There a few examples of how to do this here on the forum, although they generally concern visual stimuli …
-
(Quote) Oops 8-}
-
Hi Antonie, (Quote) That's correct, yes. Since the form will not give you any response times, you'll have to use an inline_script to catch the mouse response (like you did), or simply use the mouse_response item (which actually seems easier in your…
-
(Quote) Yes, that would be the idea. (Quote) Of course. You'll program the game yourself (or at least adapt it), so you can have it stop whenever you want and have it do whatever you like. (Quote) Yes, you can access the OpenSesame logfile in a sc…
-
Hi Sakis, I checked out the code last Friday, and I'm impressed! It's clearly still a work in progress. For example, I didn't manage to translate any of the example experiments to syntactically correct JavaScript. But at the same time, the (pre-tra…
-
Hi Katherine, I now notice that there is a mistake in my previous post. You should not compare clickErr against the horizontal (dx) and vertical (dy) deviation, but maxClickErr. And if you want to use a rectangle instead of a square, you need to us…
-
Hi, The way that a form's geometry is specified is explained in detail here: * http://osdoc.cogsci.nl/forms/custom-forms/#aboutformsgeometriesandwidgets What I would do in your case is first draw out your preferred geometry on a piece of paper. T…
-
Hi, (Quote) When using an OpenGL-based (i.e. hardware-accelerated) back-end, forms can be slow. That's a known issue, and you can find some tips here: * http://osdoc.cogsci.nl/forms/performance-issues-and-troubleshooting/ (Quote) What version of …
-
Hi Timo, I'm starting to round things up for 2.8.2, a minor bugfix release. It would be nice to include the German translation, if possible. Do you think it would be feasible to send a pull request in the next two weeks or so? Don't worry if it's n…
-
Hi Pa, The .csv file in question is the one that belongs to MouseTracker, and not the OpenSesame log file. (.csv is just a generic name for any comma-separated-values file.) So I would ask the MouseTracker developer how you can set up UDP communica…
-
Hi Rachel, Your sequence looks fine to me, although the advanced_delay could be replaced by a duration in the sampler items. But that doesn't really matter. Is the problem that you want participants to be able to respond as soon as A starts playin…
-
(Quote) To the extent that the registry is used (just for basic config), this is shared by all versions of OpenSesame. So that is unlikely to be the issue. Looking at the error message, I think it is more likely that there is a problem with the psyc…
-
Hi, As a first step, I would try to import PsychoPy from the OpenSesame debug window. This will show you the full error message (please post if any). Try to see what happens if you execute the following commands: import psychopyfrom psychopy impor…
-
Hi, It's a bit unclear to me whether you want to log only when a cycle is repeated, or only when it is not repeated. But either way, you can make use of the fact that the repeat_cycle plug-in sets the variable repeat_cycle to 0 (don't repeat) or 1 …
-
Hi Rachel, (Quote) If you set the duration of the sampler item to 0, the sound will play in the background, and the experiment will advance right away to the next item. See also: * http://osdoc.cogsci.nl/usage/items/#sampler-items Does that solve…
-
Hi, That's a very strange problem. One thing that comes to mind is that there is some kind of software installed on the PC that intercepts mouse clicks/ gestures. Could that be it? If you run the same experiment on another PC, do you see the issue …
-
(Quote) Right, just to clarify. You are now using the keyboard_response plus inline_script to do all the sleeping. So you don't need the advanced_delay anymore and you can remove it from your trial sequence. Does that solve the issue?
-
Hi Ashish, Thank you for sharing! Cheers, Sebastiaan
-
Hi Diana, (Quote) Yes, it's certainly do-able for a programmer. Basically, you would just implement the game in Python, and then embed the Python script in OpenSesame. Since you can use PyGame from within OpenSesame, it might be worth taking one of…
-
Hi Ricky, The resolution setting in the experiment has a slightly different meaning depending on which back-end you use. The legacy back-end actually changes the monitor's resolution, but the psycho and xpyrimen back-ends don't. For these back-ends…
-
(Quote) If you use a back-end that uses a blocking flip (see Timing documentation), the timestamps that you get for your display presentation are fairly accurate. Below you see an example script that shows how you can determine the flicker rate of t…
-
Hi, (Quote) You're close. What I would do is define the interval+jitter already in audio_loop. To do this, you can make use of the fact that you can define your variables using Python, by prepending an = sign, like so: (Image) See also: * http:…
-
Hi Nikolas, So if I understand correctly, you want to log all key press and release events that occur within this 10 s period, right? This is not too difficult to implement using an inline_script like the one below. You you can also find many varia…
-
Hi Noam, You can use a run-if statement to run only a specific sketchpad based on the preceding response. For example, let's say that you have a sketchpad that follows a keyboard_response. To show the sketchpad only after the participant has presse…
-
Hi Diana, What exactly do you have in mind? Do you ... want participants to play a standalone video game and then have them switch back to the experiment after five minutes? In this case you could even use two separate computers, one running the e…
-
Hi Ambra (@ambraferrari), The DotStim only supports coherent motion in one direction. If you want to create radially moving dots, you need to implement this manually using the ElementArrayStim. It's actually not that difficulty, and all options are…
-
Hi @Rotem, In your case, you need to alternate between showing the DotStim and polling the keyboard. So simply inserting a keyboard_response item after the inline_script won't do the trick. What you need to is poll for keypresses in the same loop t…