sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,321
- Last Active
- Roles
- Administrator
Comments
-
I'm afraid I don't quite follow, particularly this bit: so the correct response is a number btw. 1 and 4 but the variable "dist1". Could you perhaps describe in a bit more detail what you have done and what you want to achieve? P.S.: I …
-
The easiest way to achieve this is probably to add an inline_script item (somewhere after the keyboard_response and before the logger) with something like the following code in the run phase: if self.get("response") in ["1", &qu…
-
if I have fixation = 1000ms, then sketchpad = 0 and then a timeout of 1000, then the [response_time] is read appropriately (using print statements in the debug window) but the 'run if' conditions in the trial sequence are not using the information a…
-
Indeed, they are not shown! One thing that comes to mind is that they may fall outside of the display boundaries. The Y-coordinate for both text elements is -416 (0,0 is the center of the display). This means that the resolution will have to be at l…
-
Hi Carrie, Welcome to the forum and thank you for your interest in OpenSesame! That is: the participant has to categorize displayed items by space/doing nothing (timeout) as belonging to one of two predefined categories or not. Those categories sh…
-
Hi Florian, This is actually not that different from the normal (or slightly more common) situation where you have two possible responses. * Insert a keyboard_response item. Set the timeout to 1500 and the allowed_responses to "space". *…
-
Hi Jalexander, Welcome to the forum and thank you for your interest in OpenSesame! Good to hear that you worked it out! It might be nice to have the option to enter variable names in the Sampler UI in the future for those of us needing to play lo…
-
I usually recommend the loop table, particularly to users that are not very experienced programmers. But of course you can also work out your own system with reading a text file and setting variables in a script. In that case you could use numpy.loa…
-
Hi Waz, Welcome and thank you for your interest in OpenSesame! In order to determine whether a participant has clicked on (or touched) a certain object you will need to a little coding, but nothing terribly complicated. Another user already asked …
-
In the loop you can create a table, where each row corresponds to a trial and each column corresponds to a variable. During every cycle, the loop selects (randomly or sequentially, depending on the order setting) one row from the table and uses this…
-
Hi Mark, Thank you for your interest in OpenSesame! synth_inline_example: Generates an error upon start up complaining about a missing response module. I could not find documentation about one in the inline-code portion of the web site. It was st…
-
Well.. the ffmpeg libraries are kind of a mess, but I think I got it sorted out. Updated installation instructions are added to the README on GitHub: https://github.com/smathot/media_player I tested it on a clean virtual machine. Let me know if th…
-
[received experiment by email] I see! The problem is that "correct" is a special variable. When a response is collected, "correct" is set to 1 if the response matches "correct_response" and to 0 if it doesn't. If there …
-
It does appear to be a Mac OS specific bug. I asked Mark and he confirmed the problem. I opened an issue about this on GitHub. I'll mark this post as solved, because the problem the problem appears to have been tracked down. Again, thanks for brin…
-
Hi Mark, Yeah, it would be much better if the media_player was included in all distributions (right now it's only included in the Windows binary). The problem is that it contains some non-standard dependencies, but we should be able to package it a…
-
[Continuing from e-mail] I took a look at your experiment and it looks fine. It also works correctly for me. So that's very strange... Based on your previous question I gather that you're using Mac OS, right? It could be that flushing doesn't work …
-
Really? Just for my understanding: The problem is that the key presses during fixation are not "flushed", so that they lead to a response as soon as the target appears, right? I haven't installed attachment functionality in the forum yet,…
-
Hi Frankanayet, Regarding your first question: if I press a response button it gets stored and as soon as the stimulus come on screen the program acts like of the subject pressed a response key immediately as soon as the stimulus appears. I suspe…
-
Hi Mark, Glad you like it! Yes, that's possible, but it will take a little Python code. Very little, actually. Let's assume that your synth item is simply called "synth". You then insert an inline_script (at some point in the experiment …
-
Hi Frankanayet, It's a known issue that OpenSesame crashes on Mac OS when running in Window mode (see here). Is this what you're experiencing as well, or does the problem also occur when running fullscreen? If this is the problem, for now you will…
-
Hi Henrik, I made a quick demonstration experiment. It uses fewer trials and pictures, but it shows the general idea. Hopefully this will get you started. memory_recall.opensesame.tar.gz There's a bit of Python code involved. Nothing very complic…
-
Hi Henrik, Thank you for your interest in OpenSesame! So, if I understand correctly, the structure of the experiment is something like the following: * Phase 1) 25 trials in which 2 pictures are shown simultaneously. To do this, 50 pictures are r…
-
Good, I'll mark it as solved then. But the lesson learned is that OpenSesame error messages could be a little more informative in some cases!
-
The problem is definitely sound playback then. The synth is used during the calibration to give the auditory feedback, so the synth call is not, in itself, strange. I'm not sure why the sound doesn't work though... * Do you get the same error messa…
-
Good to hear it works for you!
-
Hi Mark, The mixer deals with sound, so something has gone wrong in that department. But I'm not sure what... * If you start OpenSesame in debug mode (with the --debug suffix), what kind of error message do you see in the debug window (Ctrl+D)? Th…
-
Added as a feature request on GitHub #28.
-
Hi Mdshaver, Thank you for your interest in OpenSesame! That's certainly possible. In addition to the synthesizer there's the sampler, which provides playback of sound samples (.ogg and .wav only, see Audacity for a free program to convert various…
-
Hi Mark, Thanks for the heads-up! I notified Daniel, who manages the media_player. He'll get back to you very soon. Kindest regards, Sebastiaan
-
Hi Per, It would actually be a good idea to have OpenSesame look in the file pool for resources... I've added this as a feature request: https://github.com/smathot/OpenSesame/issues/26 But, right now, this doesn't work, so you'll have to use a bit…