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
1,402
Last Active
Roles
Member, Moderator

Comments

  • Hi Patrick, Please share your experiment, and one of the output files. If you have a keyboard response item and a logger in your experiment (used correctly), you should see which button was pressed in the column response with one value per row/tri…
  • Hi, I see 2 things, whether they solve your problem, I can't tell for sure. First, you should not define the same variable practice in nested loops. Define it only once at the top level (in your case in the loop table of practice_loop and experim…
  • This sounds weird. How do you rename them? If you give them a name, make sure that you have no other items with these names, otherwise it won't work. This also concerns items in the unused items section. Eduard
  • Hi, better share your experiment, and not the video. Then, I can also try it out and maybe find out what is the problem. In any case, please just make a minimal example, maybe with only a single audio file, and with as few items as possible while s…
  • Hi Amer, Yes, sort of. You need to present images or text in a sketchpad, with a very short presentation time. This sketchpad should then be put in a sequence, such that the all images a presented in rapid succession. Essentially, you can follow th…
  • Hi, Yes you can, but you should use either a feedback item, or have the input form and the sketchpad in separate sequences. Best, Eduard
  • Hi Lisa, Attached your experiment, with a timeout added. I hope this helps, Eduard https://forum.cogsci.nl/uploads/013/J5XC90WDPPNG.osexp
  • Hi Tori, Your experiment is a bit long and not so easy to follow. I attach an experiment of my own in which I demonstrate how you can simulate parallel key presses. You could try to include this loop into your experiment whenever you need your part…
  • Yeah, that sounds legit. Again, I don't know how it works with audio, but for eye tracking it is similar, that first a connection to the device must be established that can take some few hundred milliseconds. And it generally also makes sense to mov…
  • I am not sure how this works with pyaudio, but generally, you have to be careful blocking the cpu during a loop. Things like wait, sleep, etc. block the computer such that nothing can happen during that duration, including keeping track of durations…
  • Hi Barbara, Can you provide the scripts and csv-files that you used? Like that it is easier for us to confirm whether this is indeed a bug, or something else weird. Thanks, Eduard
  • Hi Marta, Maybe check out this script here (or talk to @cltsson ), his voice key detection seams to work. Good luck, Eduard
  • Hi Nadia, per trial all information are available that can be found in that row of the loop table. If you wish to add all files to a trial, you can add more columns in which you specify the additional file names and interact with them they you want…
  • Hi, optimality is overrated. As long as the code does what it is supposed to and doesn't cause unbearable delays, you're good to go I would say! Good luck, Eduard
  • Hi Tori, whether there is a function that detects if or which keys are currently being pressed Nope, there is no such function. You could use two response items after each other, the first one has as allowed_responses both buttons, the second one, …
  • Hi, Are you familiar with this issue in version 0.27.2? It was not the case in my previous version. Every task file seemed to have time stamps relative to its individual start time. No I am not, but as you say, the 0.27 times are long gone :) tru…
  • Hi Beril, to add to this, maybe this post by @ethanweed might be helpful to you: https://www.forum.cogsci.nl/discussion/6351/java-counterbalance-issue Eduard
  • Hi Taffy, I move your discussion to the correct sub-forum. Good luck, Eduard
  • That just by itself won't do. You will postpone the breaking the loop, but you will also completely halt your experiment, so nothing else will be recorded. You want your loop to normally proceed, until a certain amount of time has passed. So instead…
  • Hi Sam, These is most likely millisecond since the start of the experiment. But best try it out. For example, have an experiment with a single two items with a fixed duration (sketchpad of 1 second or so), and then check the output whether you can …
  • Hi, It is a bit hard to judge because the indentation in your code is incorrect, but I suppose the problem is this part: if loudness > sound_threshold: var.response_time = clock.time() - start_time var.response = u'detected' var.in_c…
  • Hi Angelo, Could the new version of opensesame be the problem? Could be. But without seeing the experiment and knowing the setup of your collaborators it is near impossible to know for sure. So I am a bit unsure how I can help you. Sorry, Eduard
  • Hi Matthew, Not sure whether this helps, but you could get rid of the three individual sub-sequences and put everything into a single sequence (i.e. merging E1-E3seq). Also that extra loop around the loggers is weird (and should probably go. The g…
  • Hi Tali, This is to do because of the prepare-run strategy. You get n-1 feedback, because the variable inside the sketchpad (show if) is evaluated during the prepare phase (so no response yet for the current trial, and therefore no correct variable…
  • Hi nroyal! Yes, this sounds possible, but requires quite a bit of coding. I hope you have some experience with it :) They will be given a text and asked to highlight specific words within it. There are different ways of doing it, at varying difficul…
  • Hi Pari, Could you share your experiment? I don't know what the situation should be like. But I can try a few things to figure out the coordinate system for the separate situations. Eduard
  • Hi Marsh, No, sure if you can take the distance into account, but do you have such a measure? I am not familiar with that specific eye tracker, but if the kids move enough to make the change in distance really matter for dva, I would expect that th…
  • Hi Marsh, screen distance is something that should be fixed during the recording, no? Or do you have some sort of mobile eye tracking setup? If it is a fixed setup, the screen distance shouldn't change, so then, you could manually send a log messag…
  • Hi Masoud, You need to be more detailed in what exactly you want to have accomplished. Otherwise it is difficult to suggest a specific implementation to you. You could do the task in my different ways I suppose. The easiest solution that comes to …
  • Hi Fotis, If I remember correctly, you can do something like python -m pip install pyqt5 That should install the bindings. At least, I solved issues for me in the past. Not sure it will for you. Eduard