Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

eduard

About

Username
eduard
Joined
Visits
408
Last Active
Roles
Member, Moderator
Thanked
72

Comments

  • Hi Masoud, if you use the response to decide whether a sketchpad is shown or not, you have to put the keyboard response item before that sketchpad and not after. Attached, an updated version of the experiment that fixes that issue. Hope this clea…
  • Hi Lucia, As far as I know, every item has a response and a response time associated with it. This is just to keep track of when things happened. So, the variable response_time_target_1 is the time when a key was pressed on the item target_1. The …
  • HI Vicente, Are you sure you are using Opensesame with Python 3? Not sure, but I think the default behaviour is still Python 2.7. You could try to open a console and run "python3 opensesame" or something like that. Again, not sure how this works un…
  • Hi Sina, I don't know the Opensesame directory looks under windows, but I think, "C:\Program Files (x86)\OpenSesame\Lib\site-packages\pylink" is not the right location. Can you try to put it the plugin folder (I think there is one in the root folde…
  • Hi, What exactly have you tried? Could you share your experiment with us. I have a hunch what could be going on. Eduard
  • Hey Vincent, In this case, the easiest to find the problem is printing out the response variables that change on every trial, ie. var.response, var.correct, var.response_time. If they are not defined, that try to find out whether the response vari…
  • Hi Hadino, You haven't created the variable block_repeat properly, it seems. Can you share the code you used? Otherwise, we can't really help you Eduard
  • Hi, In this line: while my_keyboard.get_key()[0]==None,what you actually do is waiting for 2 seconds before you enter the loop (the get_key call is taking as long as you have specified with the timeout argument). So, without having tried your code…
  • As for the sounds, what format are they? You can try converting them to .ogg files. Those usually work. As for the images, this sounds like a rendering issue. Can you try a different backend? IF you upload the images (or an updated version of your …
  • Hi Helio, As far as I know, it wasn't (MoviePy, I think). Check out the video part of the documentation: https://osdoc.cogsci.nl/3.2/manual/stimuli/video/#opencv Eduard
  • Hi Niu, Sorry for the terribly late reply. There are two things you can do. 1) Don't use the Sampler plugin, but play the sound directly with Python (but you can still use the functions of the sampler, see https://osdoc.cogsci.nl/3.2/manual/python/…
  • Hi, Could you provide more detail? Which code have you tried exactly. Are you sure you have installed the plugin properly? eduard
  • Hi, To answer one of your questions, there is still not Opensesame Plugin or Pygaze support for Pupil labs. You can check the github page of Pygaze to see what is currently supported. However, as far as I can see from their documentation, direct Op…
  • Your pool is empty. There are no files in it. Also, you don't want to pull the variable item_nr from the pool, but sentence_name. Does that make sense?
  • Hi Bob, I'm sorry, but I am not sure what exactly it is that you want to achieve. Could you try to rephrase and/or give us more information? For example, could you give an example of what you would see if it did work? Thanks, Eduard
  • Hi Jose, If you need help, then you have to give us more information. Based on what you told us, there are myriads of possible experiments and possible implementations. So without more detail, I can't really do anything. Eduard Ps. There are quite…
  • Hi Helio, Never tried it myself, but if you can access the frame number through the player (maybe through opencv2?), you can send messages to the logger via pygaze's logging functionality. exp.pygaze_eyetracker.log(), I believe. Hope this helps, …
  • Hi Lea, I can't really help you (never did such a thing), but I have the vague memory, that some other people on the forum did similar things. So if you browse it, maybe you'll be lucky? As for presenting an analogue scale with the videos, that wil…
  • Hi tania, I am closing this discussion as I have answered on your other questions. If you have more question, you can ask there. Thanks! Eduard
  • Hi, Can you send me the experiment? I think I can fix it. The problem is that some parsing is going wrong somewhere, to fix it, you need to access the actual experimental script, which is only one of the file that is contained in an osexp experimen…
  • Hi, import random new_list = [] # for simplicity have the lists with 0s and 1s, you can later replace them with # the actual stimuli list_a = [0]*5 list_b = [1]*5 # while not all stimuli have been used while len(new_list) != 10: if len(new…
  • Hi, I feel a little silly to ask that, but are you sure that setting it to zero didn't work? I don't know see a reason why it shouldn't work. Eduard
  • Hi, You don't need to treat the background any different than a screen wide box. In this sense, just put whatever you want participants to see on a canvas and show it. If you add something (like text), you can just draw it on top of it. It is a lit…
  • Hi Josephine, The procedure Johannes proposed seems to make a lot of sense. In a top row, have all images lined up. Once you click on it, it moves in a bottom row at the most left position (that is not yet occupied). Optionally, you can also impl…
  • Hi, One way to select images is using the sketchpad, image function (only thing you need to provide is the filename), or if you use inline_scripts, you can use the procedure based on canvas.image() https://osdoc.cogsci.nl/3.2/manual/python/canvas/…
  • Hi, The error message indicates that Openseasame can't find your file 1.wav. Have you put it in the file pool? Feel free to upload the experiment for us to to check it. Eduard
  • Hi Laura, First of all, I recommend you doing the beginner's tutorial: https://osdoc.cogsci.nl/3.2/tutorials/beginner/ This will already help to make clear how Opensesame works in general. For your specific example, I am not sure whether you can a…
  • Hi Emma, Is that figure an example of what you want to have or what you already have (in latter case, I don't get the problem)? Have you tried using an inline_script? Writing text with inline_script has the advantage that you can specify whether te…
  • Hi Tania, I attach a tutorial that includes instructions how to create a grid on the screen. As for the touch, you need to use the mouse functionality: https://osdoc.cogsci.nl/3.2/manual/python/mouse/ Basically, you need to repeatedly sample the c…
  • HI jorge, I don't think this is the right place to ask these questions (as they are not Opensesame specific). I recommend you post it some other place on the web. Maybe research gate? Thanks, Eduard