lvanderlinden
About
- Username
- lvanderlinden
- Joined
- Visits
- 1,617
- Last Active
- Roles
- Administrator
Comments
-
Hi @MarkNieuwenstein , Unless you are using a very old browser, the ArrowFunction should not yield a " not supported by ECMA" message. So perhaps some other part of the script is causing the error? Could you either post the exact error me…
-
Hi @reichardtr , Could it be that you placed your JS code in the Prepare tab of your `inline_javascript` item? It should be in the Run phase. Cheers, Lotje
-
Hi @Dylann916 , The simplest solution seems to be the following: On your PC, configure your two displays as an extended desktop In OpenSesame, in the General options tab, set the resolution of the experiment to the full size of the window, that is…
-
PS: For all combinations to appear equally often, you should run (a multiplication of) 24 participants, and increment the subject number with 1 for every subsequent participant.
-
Hi @dbh , I think something like the attached script should work. Is that what you had in mind? Cheers, Lotje https://forum.cogsci.nl/uploads/352/QX37P8SBZSWX.osexp
-
Hi @Pikachu , Is it possible that there is an invisible character after the colon on line 1? Or that you are using a type of quotation marks that is not the regular one? Cheers, Lotje
-
Hi @Slobodanp , Did you try running the experiment in the browser? Some JavaScript code does not run on your desktop but only in the browser. (Click the play button with the green circle around it to do so.) Also, the hierarchy of your experiment …
-
Hi @bbTokyobb , Unless I'm missing something, I think you can do the following: Define the properties of the four to-be-displayed profiles in the `Prepare tab` of an inline_script item (in the trial sequence) like so: # Get variable names for eac…
-
Hi @Cognitionguy , Sorry for the late reply. Are you running your study online or locally? Cheers, Lotje
-
Great! And thanks for letting us know! That helps other forum users too!
-
Hi @troth , There are several ways to implement this. If you are a beginner, perhaps the following is the easiest, by using a combination of `movie_player_mpy` items (https://osdoc.cogsci.nl/3.3/manual/stimuli/video/) and run-if statements (https…
-
Hi @bbTokyobb , Could you share the png files via WeTransfer or something like that? That would be way easier. Cheers, Lotje
-
Hi @ranim98 , In addition to Marta's post: Did you search the forum for similar questions? This thread, for example, might be helpful? https://forum.cogsci.nl/discussion/8166/randome-metronome-in-os-timing-task#latest If you still encounter probl…
-
Hi @rania_tac , In addition to @Fab 's response: Perhaps I'm missing something, but wouldn't it be easier to First determine (x,y) coordinates in an inline_script item... and only then use these coordinates in a sketchpad item... instead of the …
-
Hi @Slobodanp , The first thing that comes to mind is that your experiment does not contain a sampler item or that you are not referring to the correct name of the sampler item. In my example, the sampler is called "new_sampler". Make …
-
Hi Lars, I think the above script (and hopefully the other one too) works fine if you change the backend from Legacy to PsychoPy or Expyriment. Could you try that? Cheers, Lotje
-
Hi @stephanieandersen , Is this thread perhaps helpful to you? https://forum.cogsci.nl/discussion/5965/voice-key-recording Cheers, Lotje
-
Hi @m.vel , If you are not running your experiment online you could consider using custom forms with base_form items: https://osdoc.cogsci.nl/3.3/manual/forms/custom/ In the browser, custom HTML forms might be of help: https://osdoc.cogsci.nl/3…
-
https://forum.cogsci.nl/uploads/464/KV6YSIYSWIUB.osexp Hi @Slobodanp , You could make a `sampler` item stop playing in JavaScript like so: const sample = runner._experiment.items._items['new_sampler']._sampler.sample sample.pause() See also the …
-
Hi @neuropsy , The "Python seems to have crashed" message probably indicates an unlucky interaction between your experiment and the system it is running on. In doesn't mean, in any case, that there's an error in your experiment (which make…
-
Hi @sarah_alexandra , You can do this by using *style_args and setting the font_size keyword argument: # Create a canvas with two text elements my_canvas = Canvas() my_canvas['string1'] = Text("I like", x=0, y=0, font_size=30) my_canvas…
-
Hi @tong , Perhaps the people from the JASP part of our forum can help you out as well: https://forum.cogsci.nl/categories/jasp-bayesfactor Cheers, Lotje
-
Hi @Lars , Just a quick response to your question as formulated in the title of this post: Yes, you can delete elements from a canvas object, but (I think) only if you named them: https://osdoc.cogsci.nl/3.3/manual/python/canvas/#naming-accessing…
-
Hi @neuropsy , Could you please upload the experiment here? Then I'm sure we can work it out. Cheers, Lotje
-
Hi @Gio38000 , Welcome to the forum! As you probably noticed, something like the following won't work, because the content of both text_input items ("first_question" and "follow_up_question") are prepared in the prepare phase …
-
Hi @Uros and @eduard , I think text input is blocked from full screen mode for security reasons. (Is this correct, @sebastiaan ?) So I don't think you're doing anything wrong. Cheers, Lotje
-
Hi @Vasileia_chr , Did you get your experiment to work following @Fab's suggestions? To avoid any confusion, I just want to point out that @sebastiaan's video is about counterbalancing the order of loops, and not about randomizing it (as the topic …
-
Hi @DahmSF , Stephan, The value of the variable fill should be set to1 instead of the name of the color. Does that solve the issue? draw circle color=black fill=1 penwidth=1 r=30 show_if=always x=0 y=0 z_index=0 Cheers, Lotje
-
Hi @Aurélien , Welcome back to the forum! :) It sounds like you defined my_list_subset as a list of lists, rather than a single list, for example like so: my_list_subset = [["word1"], ["word2"], ["word3"]] # list of …
-
Hi Benoît, @Litobig , There might be a tag creating somewhere. Spot on! To escape from this automatic HTML-formatting, you can use the following notation: Replace < with < Replace > with > Hope this helps! Cheers, Lotje