lvanderlinden
About
- Username
- lvanderlinden
- Joined
- Visits
- 1,619
- Last Active
- Roles
- Administrator
Comments
-
Hi @Lorraine I made an example script for what I think you are trying to achieve (see comments for explanation). Does that help? https://forum.cogsci.nl/uploads/547/2EAD2FO4ICR7.osexp Cheers, Lotje
-
Hi @maryam_omranian , If you open the csv output file, you see a column that is called "response". This column contains the value "space" or "None", depending on whether the participant pressed space or refrained from …
-
Hi Masoud, See here for some answers: https://forum.cogsci.nl/discussion/6786/correct-response-and-response-time-are-undefined#latest Cheers, Lotje
-
Hi @maryam_omranian , What Eduard meant is to use the word "None" as the value of the variable "correct_response" on all trials that are not red squares. https://forum.cogsci.nl/uploads/253/3L5QLCLDFIM9.png Also, you set the t…
-
Hi @Lorraine, Because the text on the buttons is defined online, you will need to create the content of the display in the Run phase of your experiment. I see two options: You could use a feedback item (instead of a form_base item) to create the bu…
-
Hi @maryam_omranian , In my previous post I suggested to use a keyboard_response item for response collection. Did you do that? If your experiment is still not logging the responses, could you upload the updated version? Cheers, Lotje
-
Hi @Vasileia_chr , To record the vocal responses, you could have a look at the sound-recording plugins: https://osdoc.cogsci.nl/3.3/manual/response/soundrecording/ To determine whether the response is correct, I guess the easiest way is to have a…
-
Hi @maryam_omranian , Please keep the forum clean by asking your questions only once. I think my previous reply should answer your question about the RTs. https://forum.cogsci.nl/discussion/6786/correct-response-and-response-time-are-undefined#lat…
-
Hi @maryam_omranian , Welcome to the forum! :-) First of, it helps when you give your discussions a meaningful title. That keeps the forum more clean. (So I changed it.) Regarding your question, I think you should: Append a keyboard_response item …
-
PS: the most simple way to advance to the next trial only when all questions are answered, is to place an inline_script item after your form_base item and place the following code in its Run phase tab: # Make a list of all the response values: resp…
-
Hi @pacobenko , Did you already have a look at this post? https://forum.cogsci.nl/discussion/1437/solved-custom-forms-how-to-activate-a-next-button-only-when-a-checkbox-is-chosen Perhaps that helps. If not, feel free to get back to us. Cheers, L…
-
Hi @saosa Again, there's too little information for us to give you a detailed response, but it sounds like you want to: Append a keyboard_response item after the sketchpad item that you use to show your stimulus Set the duration of the sketchpad …
-
Hi @saosa , Without seeing the experimental file I can't give you a detailed response, but in any case I believe you should put quotation marks around the value "yes", like so: [count_trial_sequence] > 1 and [practice] = "yes"…
-
Perfect!
-
Hi Saosa, It sounds like you could use Run-if or Show-if statements, depending on when and how you exactly want to vary the font style: https://osdoc.cogsci.nl/3.3/manual/variables/#using-conditional-if-statements If you want us to have a look at…
-
Hi @Liliann_L , Thanks for your interest in OpenSesame. :) Yes, it sounds like it is possible to program both parts of your experiment in OpenSesame. It will probably not be doable by using the graphical interface only, though. You will need quite …
-
You're most welcome @Sarah_
-
Hi Jonah, My guess is that you could leave everything as is, but perhaps @sebastiaan could confirm. Good luck! Lotje
-
Ahh, great to hear @agmitchell !
-
Hi Josh, Stopping a sound file is indeed tricky in OSWeb, so I don't see an easy solution for your issue. Sorry about that... Cheers, Lotje
-
Great to hear @mfp49
-
Hi @Sarah_ Oops, sorry about that. The logger item in the example was not logging the correct variables... If you tick "Log all variables" in the logger item all variables will be logged. If this makes your experiment too slow on OSWeb,…
-
Hi @VictorVarela Did you also try using the "resume after break" option? If you upload your experiment we can give a more targeted response. Cheers, Lotje
-
Hi @Sarah_ , I hope the following example script can help you further. I implemented only three rating scales, but you should be able to increase the number of questions per screen. If you need any more personalized help, we can refer you to our p…
-
Also, this discussion sounds useful: https://forum.cogsci.nl/discussion/3179/sampling-a-nested-loop-without-replacements
-
Hi @VictorVarela , Is it possible to upload your experiment, or at least the content of your block loop? Cheers, Lotje
-
Hi @agmitchell , It seems easier to evaluate the value of the built-in variable "response" in the break-if statement: Add one line to your inline_javascript item to give the variable "response" a starting value: vars.response =…
-
Hi @mfp49 , Herewith the JavaScript translation. Make sure to put this code in an inline_javascript item rather than the classical Python inline_script item. // Define the array with the possible ISI durations: var ISIArray = [1000, 1500, 2000, 25…
-
Hi @wyeird You were quite close, except that the self.experiment.set() function is outdated. It is easier to use the var object like so: import random var.my_duration = random.randint(0,10000) print(var.my_duration) Make sure to: Place your inlin…
-
Hi @Sarah_ , I'll try to make a template for how to do this. It won't be a slider though, just lines (e.g. ranging from "completely disagree" to "completely agree") that participants can click on. Cheers, Lotje