eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi, you can add an inline-Script (or an advanced delay) after the keyboard item, that waits for 2500 ms - response time (the variable is probably var.resp_time()), but you can check your logfile to be sure. Does that make sense? Eduard
-
Hi, there are the count variables. they are labeled as "count_item_name", so if you have a sketchpad called, "stim_presentation", the variable would be called "count_stim_presentation". You can use that in the run if s…
-
Hey, Does this part of the manual, help? https://osdoc.cogsci.nl/3.2/manual/response/soundrecording/ Eduard
-
Hi, Please elaborate. If you want good support, you have to help us providing it. Right now, I have no idea what exactly it is that you want. The more details you give us, the more likely it is that we can advise something that will suit you. Goo…
-
Hi Mad, Have you tried the keyword : return_accepts=yes Other than that, blocking individual key presses is not possible I'm afraid. You would have to either dive deep into the source code to make this work, or create your own, specific text input …
-
Hi Aleksandra, You can add an inline_script to the sequence of the first part, in which the sentence is added to a stimulus list if participants judged it as incorrect. Once this part is over, you can then use that list as source input for the seco…
-
Hi, if you download the release (tar.gz) you dont have to install anything, you can just untar, and run the openseame file in the folder. What exactly is the problem with the installation? Eduard
-
Hi Julia, I recommend using pen and paper and pseudocoding the conditioning you need for this experiment. It is not very complex, but wrapping your mind around it can be a little tricky. Also, I would separate the randomizing of the position from…
-
Hi Victor, can you build a minimal example that reproduces the issue and post an issue on Github of Opensesame or the parallel port plugin (if you use it). Thanks, Eduard
-
Hi, What you copied is a function call. What you want to translate is the function definition. THis you can find in this file https://github.com/smathot/python-datamatrix/blob/4efe6b01543d4d69fcb7fecc3f8ef7392e3516f8/datamatrix/series.py, starting …
-
Hi, Just in cases, you don't happen to have run into this issue: http://forum.cogsci.nl/index.php?p=/discussion/5206/acc-variable-not-calculated#latest? In any case, first thing to do to find out what is happening is printing out the variables invo…
-
Hi, I have never tried, but probably, you can call something like exp.end() in an inline_script. To find out whether three responses have been wrong in a row, you can check the responses item. It stores all the responses in a list. https://osdoc.…
-
Hi, THis is not possible within the same text input field. Is it not an option, to use two sequential text input fields? In this case, you can add an inline_script after each form, that includes the trigger sending procedure. Eduard
-
Hi Deiniol, the problem is that you call the experimental loop twice. Once, in the inline_script in which you restart the practice loop if necessary, and once Opensesame does it for you, just because the experimental sequence is in the list of item…
-
Hi Dion, Similar issues have been discussed in the past. Maybe these discussions might be useful to you? https://forum.cogsci.nl/discussion/4190/child-friandly-calibration https://forum.cogsci.nl/discussion/2286/using-custom-image-for-calibration-…
-
Okay, in that case, a first step is to print out the actual values. So, in your inline_script add the lines: print(var.response,var.correct_response) print(type(var.response),type(var.correct_response)) Also, I just see a problem in your code. Can…
-
Hi VIncent, I have never spend enough time to really get coroutines. I hope you don't mind if I rewrite your code without them? It is now all within an inline_script. The logic that is applied is similar to a co-routine, just not using generator fu…
-
Hi Vassilis, Can you try to put the code in the run phase of the inline_script? At prepare time, a choice hasn't been made yet. Eduard
-
Hi, Also, as OSweb supports inline_scripts (though with javascript), you can implement reading files yourself, e.g. through Python Pandas. Good luck, Eduard
-
Hi, Can you check whether this is really not just a problem with the csv file? For example, remove or replace the column and see whether the loop item still refuses to load it. Good luck, Eduard
-
Hi Falko, You can build a custom form, that has two elements. A Text display widget on top and a text input widget below. If you then start playing the sound right before showing the form (with zero delay), you should get what you want. If the tim…
-
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 thi…
-
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 …
-
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 …