sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Hi Felipe, Ok, this was a bizarre one. :-B I'm not exactly sure why, but the issue was due to having 'Transparent variable management' enabled. If you disable this, it works as expected. (I will probably remove (or at least hide) transparent vari…
-
If you set the media_player_vlc's duration to 'keypress' and use a keyboard_response item, you will have to press a key twice, because both items wait for a keypress. So it's an either-or situation: Either you use a 'keypress' duration, or you use a…
-
Hi Timo, Hmm, in principle this should work. Are you sure there isn't some trivial problem, such as a run-if statement preventing _inline_script from being executed? If not, perhaps you could upload the full script somewhere, for example to pastebi…
-
I'm sure you've been a very good boy, but I'm closing this discussion nonetheless as a duplicate. Closed as duplicate of #4599
-
Hi Camille, You'll need a bit Python script for this, but nothing overwhelmingly difficult. Basically, the trick is to draw a slider, which is just an empty rectangle with a filled rectangle in it. The size of the inner rectangle is increased when …
-
Hi Stella, Have you tried simply setting the duration of the media_player_vlc item to 'keypress'? That way the video will stop and the response variable will be set to the key that was pressed. In other words, the media_player_vlc item will functio…
-
Hi, Let's say that you have the following structure: (Image) Here, the flicker_sequence presents one image, followed by a blank, followed by another image, followed by another blank. Each sketchpad is followed by keyboard_response that has a tim…
-
Hi Felipe, I suspect the problem lies in the structure of your experiment, i.e. that the logger is not called after every click, but is called several times after the last click. So click-click-click-log-log-log, instead of click-log-click-log-clic…
-
Hi Soksan, The error message basically says it all: You're referring to a variable called Stimuli, but it doesn't exist. This could be because the variable is created only later on in the experiment (i.e. after the sketchpad is created), or because…
-
Hi Paolo, I suspect that the problem is simply that the connection is too slow for a smooth remote-desktop connection, and that this is mostly a problem in fullscreen video mode (perhaps it uses a client-side cursor when running in window mode, I d…
-
@Satansteddybear What you're describing is not a standard task, such as the stroop, but something very specific. I doubt that anyone will give you a fully functioning experiment that does exactly this! I would first start by familiarizing yourself …
-
Hi Kris, Not to my knowledge, no. But you'll find that the antisaccade and stroop tasks are very easy to implement, at least in their basic form. So what I would do is first walk through one of the tutorials to familiarize yourself with OpenSesame,…
-
Hi KJ, How are you recording sound? Do you use the soundrecorder plug-ins? Or do you use a custom Python script (and, if so, what's the script)? Cheers, Sebastiaan
-
(Quote) I use the Nexus 4 and 7 (2012 version) for development, and they work pretty smoothly. (Quote) Aside from some minor limitations, described here, your experiment will run exactly the same on your tablet as on your computer. I don't have any…
-
Hi Timo, The best way to embed snippets of code in the text is with the ~~~ syntax, like so: ~~~ .pythondef some_function(): pass~~~ This will be rendered as: def some_function(): pass Does that clear things up? So the forum will automati…
-
Hi, There's no built-in support for 5.1 sound in OpenSesame, but I imagine that it's possible using some external Python library. A quick search shows this question: * http://stackoverflow.com/questions/2448652/python-platform-independent-5-1-soun…
-
Hi Timo, So you want to draw text, but avoid the text from running all the way to the edge of the screen, is that right? I'm afraid that's not really possible. OpenSesame will wrap to avoid crossing the screen boundaries, but that's it. You cannot …
-
Hi Soksan, As @eduard already said, the first step is to walk through the tutorial and get a a basic understanding of OpenSesame. Of course you can make a simple experiment with an SOA manipulation in OpenSesame. But you is the operative word here!…
-
Hi Eveline, The script, aside from indentation errors due to pasting in the forum, should do exactly what you want it do: record all key presses and releases while a sound is playing. Are you sure that the problem is not something simple, such as r…
-
Hi Anthony, Right, I see. So if I understand correctly, you want to show three sketchpads (num1, num2, and blank) and collect three responses at the same time. Is that correct? You can do this by adding two sequences to your parallel item. The fir…
-
Windows isn't very terminal-friendly, and to be honest I'm not too familiar with the Windows command prompt. (I use Linux almost exclusively.) What you could is install git, which will also install a bash emulator. From this emulator you can start O…
-
Right, I see. You're looking for the debug output in the wrong place. It won't appear in the debug window, but is printed to the standard output. In Windows, you won't see this unless you start OpenSesame from the command line, or through a bash-ter…
-
Hi, In principle, you're approach seems correct. Have you gotten videos to play before? If so, then there's probably a simple bug in your experiment, but I cannot tell based on the information you provide. If not, there may be a more fundamental p…
-
Hi Felipe, (Quote) The correct way to import core is directly from psychopy, not from psychopy.visual. So your import statement should look like this: from psychopy.visual import TextStimfrom psychopy import coreimport random Does that solve the …
-
Hi Anthony, The problem described in this post is that there used to be only a single response variable, which made it impossible to distinguish responses collected in multiple response items. For example when you had two keyboard_response items in…
-
Hi Rotem, Also, if you receive an error message, please post the actual error and a clear and detailed description of your problem! You will generally find a complete error message in the debug window. Cheers, Sebastiaan
-
Good to hear that you're trying out the extension framework! (Quote) Well, the example extension doesn't perform any overt task, it only prints some debugging output, which you should see in the console. Things like: example.py(38).activate: Exampl…
-
Hi, (Quote) Yes, that would be my first option. It's simple and fast. (Quote) OpenSesame supports all the functionality of Python, one of which is running a UDP server. In other words, you can write a Python inline_script to have OpenSesame send t…
-
Hi Ka, First off, you would need to have keyboard_response item somewhere below the loop, for example in the sequence that is the item-to-run for the loop. Then you can simply use the following break-if statement: [response] = space. See also: * …
-
Hi Scarlett, As a first step, you could upgrade to OpenSesame 2.9.0. However, in case this doesn't resolve the issue: Do you see additional output in the debug window? And/ or do you see a opensesame.exe.log file in the OpenSesame folder? If so, pl…