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
406
Last Active
Roles
Member, Moderator
Thanked
67

Comments

  • 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
  • Hi Chengyang, Is there an error message? What exactly is the problem? Also, I am not sure what you mean with: work as variable in exp.pool[] to refer different column names in the loop Eduard
  • Hi Paula, No there is nothing like that implemented. You can try to use Python coding to do it yourself though. I think the package TKinter has drop down menus implemented (e.g. https://stackoverflow.com/questions/45441885/how-can-i-create-a-dropd…
  • Hi SOL, These kind of problems, I usually approach using while loops. Generally, the procedure is to implement a sequence that is repeatedly executed while a certain action can occur at any moment. So, in your case, you start the loop, and in the …
  • Hi, Guisy, If you don't present any new visual information the old canvas should stay visible. That means, set the duration of the sketchpad to 1000 and put the sound file after (making sure that you stay in the sound file while it is played, tha…
  • Hi, You have to add an if statement to you while loop in which you check the time and present the first stimulus if the time since the start is smaller than 1000 ms and show the second stimulus if the time is bigger than 1000 ms. Everything else ca…
  • Hi Ewilan. First start a timer before the video starts playing. start_time = clock.time() Then start the video and continue in the experiment sequence. ( I think that should be possible, but I am not sure honestly) Right after the video, put anot…
  • Hi, Is this error popping up consistently? Always in the beginning or at some point in the experiment? How many videos do you have? Can you try rerunning with fewer and see whether this does any good? Eduard
  • Hi Omer, I usually don't use pygame functions directly, so I'd need a little more time to read through your code and find out what went awry. Do you still need help on that issue? Eduard
  • Hi, I don't know much about BioPac, so these are just wild guesses: 1) Try to add some time between the two triggers 2) Does is still skip the second one if you use another value than 0? Let me know how it went, Eduard
  • Maybe I am missing something, but this doesn't seem to be a Opensesame specific issue, right? You are probably better off posting this on Stackoverflow or some other place. Your chances are higher that you'll encounter someone who can actually help.…
  • Hi Intan, Does Opensesame always crash or only for specific experiments? Have you tried reinstalling? Maybe with a different method or a different version. Whenever python crashes, debugging is a pain as there isn't a clear error message... Eduar…
  • Hi Vincent, Sorry for not getting back to you earlier. How is it going? Could you solve your issue(s)? Eduard
  • Hi Candice, Well, in order to process keypress (saying have to keys been pressed), you need to collect them first. So, no avoiding that. Check out the response history part of the manual (https://osdoc.cogsci.nl/3.2/manual/python/responses/ If yo…