eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Yes, @Fab you are right. The code is essentially wrong, for the first few i's it wraps around the list and compares the first item in the list to the last three in it. Not quite what @rania_tach wants, but also not the source for the problem. In fac…
-
Well, you need to tell me that you are doing this in a co-routine, you know. The simplest solution is to copy the last sketchpad to after the response and set its duration to 95 ms. If the sketchpad is identical to the previously presented visual in…
-
Hi beril, Why do you want to compare them? The code does that already. For example for the first image: if var.response1 == int(var.corr_resp.split('.')[0]): var.correct1 = 1 else: var.correct1 = 0 The response participants are giving is i…
-
Hi Connor, so you say, there is no GEMS item in your experiment? If there is one, you could try to disable logging all variables. If there is none, could you paste the full error trace? By the way, is there a reason you use OSweb, even though you r…
-
Hi Rania, it got stuck and the experiment didn't start at all (it was not responding) That is probably an infinite loop then. It occurs, because your requirements are so strict that Opensesame can't find a sequence that satisfies them all. I haven'…
-
Hi @vinibini, Sounds like a bug. Could you provide more information on your system, which version of OS you use, how you installed it, and maybe also share your experiment, your batch file and the procedure you use to start it? @sebastiaan do you w…
-
Hi @Giuliannicch, No, unfortunately this won't work without scripting. The Media player only works for a single video at a time. So yeah, I would go for OpenCV. But start simple, don't focus too much on your paradigm. Perhaps first try to present a…
-
Hi Effie, Is this maybe something you could try: https://stackoverflow.com/questions/36681836/pyaudio-could-not-import-portaudio/ ? Eduard
-
Hi, First thing you should do, is provide the error messages, or share your experiment. Based on the provided information, I can't help you. My first intuition says that this is a prepare/run phase issue https://osdoc.cogsci.nl/4.0/manual/prepare-r…
-
Hi Guillaume, Have you seen the Advanced delay item? If I am not mistaken you can simply add this one after the keyboard response, specify the desired time, and then put the item you need afterwards. This should work, right? Eduard
-
https://we.tl/t-zynKmTk1RB ( uploading doesn;t work at the moment)
-
Hi Beril, Thanks, much clearer now. I think the problem was caused by not aligning the correct response in prep2 and the target image. Essentially this made the correct response assignment arbitrary. I adapted your experiment as much as possible, i…
-
Hi, I wonder though, if I need to enter a script, should I enter it before the first sketchpad? Is this question independent of your previous question? The solution that @Fab described does not require an inline_script item. You have to directly wr…
-
Hi, When I open the console and run the experiment, this variable is printed as "neutral_3.jpg", but when I look at the variable in the log file, it is printed as [img1]. Not 100% sure, but I think this is because what is printed out on t…
-
Hi Aris, All of your questions are covered in the beginner's tutorial. How about to work through it and try to apply the info to your experiment? Eduard
-
Hi, Check out co-routines. They were designed for exactly this usecase: https://osdoc.cogsci.nl/4.0/manual/structure/coroutines/ Good luck, Eduard
-
An alternative would be to bother Jon Pierce about this to get a better understanding (and maybe ask them to clarify the documentation). +1 Though, I guess, the power of 2 setup of Psychopy is something they wouldn't want to change all too lightly. …
-
Thanks, it is a bit clearer now. However, your experiment is still quite cryptic to me. I can't see the logic clearly, so I would need to take a very deep dive in order to understand. Unfortunately, I don't have the time for this. What is actually …
-
Hi Wouter, Can you hack the source code to find out what your color strings changed to before the exception is thrown? Also, it sounds as if these problems are specific to OS 4. Is this the case, or do they also occur in OS3? I'd be surprised if th…
-
Hi Pablo, Looking at your experiment, it appears to be quite large. And also unnecessarily so. Perhaps you can reduce the size of it, by splitting it up in separate experimental files? For example, an English and a Norwegian version. As well as sep…
-
Hi but the issue is that it doesn't allow me to include a sketchpad You don't need a sketchpad, because you can use canvases, which work the exact same way, only with codes. In the example, I have created a canvas, and added text to it. You can add …
-
Hi Kenny, You can use the Option 1 in this discussion: https://forum.cogsci.nl/discussion/8910/how-to-set-a-time-limit? You'll have to adapt it slightly though to work for osweb. I'm not sure what the individual functions are called. Good luck! Edu…
-
H @bssengul , Happy to hear that you almost figured out your experiment. Unfortunately, your experiment is quite confusing to me. You say that the accuracy is not calculated corrected, but you don't say what is actually measured, what correct means…
-
Hi Anna, I see two options (see attachment). Both Start a timer in the beginning and regularly check whether since the start the maximum time has expired. The difference is that the first option (v1) uses regular Opensesame items, which makes it so…
-
Hi Yoonah, Well, it seems like your experiment is not web compatible. Have you tried it in your browser? If that doesn't work then there is no point in trying to export it to Jatos (yet). Regular Opensesame experiments cannot run online, for that …
-
Hi Irene, I attach an example that demonstrates how to assign subjects to specific sequences. The key is the run_if field in the sequence. There you can specify conditions that have to be fulfilled for a sequence to run. Use the subject_nr to set t…
-
Hi Effie, I have some troubles, getting your script to work on my system (I think bc of my system...). Anyway, looking at this website here: https://thepythoncode.com/article/play-and-record-audio-sound-in-python it seems that you can simply say st…
-
Hi Anton, I edited your experiment somewhat. There were multiple problems, all somewhat related to the prepare-run strategy: https://osdoc.cogsci.nl/4.0/manual/prepare-run/ If you dynamically change the experience of stimuli (flicker, shift), these…
-
Hi Sam, Good that you figured most of it out by yourself! I would like each face to be presented for a full 3 seconds and associated KB response to timeout after 3 seconds The easiest would be to use co-routines: https://osdoc.cogsci.nl/4.0/manual/…
-
Hi Andrea, Does this problem occur with the latest version of Opensesame? It would be interesting if it persisted largely unnoticed through 5 years of Opensesame versions. This would suggest that it is something quite specific to the setup of you a…