sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Hi @Hobbes , You can upload OpenSesame experiment files to Pavlovia. However, you cannot run them online there, so it's purely for sharing the files. To run OpenSesame experiment online, you currently need to use JATOS (which is pretty sweet, actual…
-
Hi @saitawa , The problem appears to be with the blink-detection algorithm, which seems to be implemented in a custom Python libary called based_noise_blinks_detection() . I don't know how this library works exactly, but based on its behavior, I thi…
-
Hi Stephan, Thanks for pointing this out. Of course, log.open() should also update var.logfile , so that's a minor bug. (To be fixed for 3.3.5, because 3.3.4 was already tagged just now.) For now, this is easily worked around though: var.logfile = …
-
Hi @wishiknewprogramming , In OSWeb, rotation is currently not supported. A workaround might be to create separate bitmaps for the various rotations and include the rotation value as part of the filename, like object_1_45.jpg for a 45° rotation of …
-
Hi @FKaraca , The run-if statement only applies to the run phase of items. Many things (such as loading files) happen in the prepare phase, which is a strategy to improve temporal precision. In your case, this means that the prepare phase for all it…
-
Hi @m.vel , The sketchpad doesn't support this option, so that's why it's stripped from the script. For the mouse_response , one thing that strikes me is that you have set the timeout to 0. This means that no response will be collected at all, and …
-
Hi @Galit , Exactly! First start the playblack of the sound with a sampler . Next, move on to the coroutines item for the visual stimuli. Cheers! Sebastiaan
-
Hi @ChartTom , You can use window.open() in an inline_javascript item to open a website in a new browser tab. If your online questionnaire has a URL, then this might work. Important: This is for OSWeb experiments! The discussion above refers to la…
-
Hi @m.vel , The 'Visible mouse cursor' option applies only to the moment during which the mouse response is being collected. If you want to show the cursor all the time, then you can use the following code in an inline_script : Mouse().show_cursor()…
-
Hi @hulya , The conversion used to be very slow, but in recent versions that has improved to just being slow. Are you running the latest version of OpenSesame / the OSWeb extension? Cheers! Sebastiaan
-
Hi @Galit , The sampler is able to play sound in the background anyway, even without coroutines . You simply need to set the duration to 0. Would that be a solution for your case? Cheers! Sebastiaan
-
Good to hear!
-
Hi @hulya , Reading back your original question, I think the most obvious answer is probably the most likely: The participants simply didn't enter any information. Could that be it? If so, and if that's a problem, then you could add some form of inp…
-
Hi @Alex_M , Thanks for reporting this. If you go to the OpenSesame program folder (probably c:\Program Files (x86)\OpenSesame), you'll see a file called opensesame.bat . That's the script (batch file) that's being launched when you try to open an e…
-
@ethanweed The best way to see what goes wrong is probably by launching OpenSesame through a terminal (so you can see the error message, if any), but I don't have a Mac myself to give you detailed instructions on how to do this. @Daniel How does tha…
-
@Alex_M Could you open a new discussion for this, and then explain in more detail what you are doing, and in what sense it goes wrong?
-
@PaulinePamal In that case, can you attach your experiment here?
-
@eduard Smart variable typing can result in these kinds of things, that's true. But in this case it's a bug in OSWeb that has already been resolved. @PaulinePamal Could you try updating to OpenSesame 3.3.3, which comes with OSWeb 1.3.8? (You can als…
-
however, upon exporting the experiment to OSWeb, the gabors fail to be shown. @albertyang Your script simply doesn't contain any code to draw a gabor patch. In draw_gabor_script_1 you're setting two experimental variables, gabor_ori and gabor_sf . …
-
Please help us keep the forum clean, and don't post the same question twice to attract attention! Sometimes it takes a while, but doing that only increases the load on the forum moderators. Closed as duplicate of this discussion.
-
That's a clever solution! You could even simplify it a bit to: if var.cursor_roi == 'Pause' : items['sequence_2'].prepare() items['sequence_2'].run()
-
I attached a simple demonstration experiment that accepts email addresses. It's a modified version of the multiple-character input script. Actually the only thing that needed to be changed is the list of allowed keys in the keyboard_response item! …
-
Hi @AliW , Do you know of a way to make the processing simultaneous so that all letters input show as capitals immediately? Yes, by putting the line at the end of the script, as I suggested 😉 Do you know of a way to make the processing simultaneous …
-
Hi @Sana_2 , I suspect that the issue is simply that the keys have slightly different names from the ones that you're assuming in the if statement. After every key press, var.response is printed out to the browser console, so you can go there and …
-
Closed as duplicate of this discussion.
-
Closed as duplicate of this discussion.
-
Hi @Kloe , The serial module expects byte strings (bytes ), which you are indeed sending by first creating a str (unicode) object and then calling .encode() to turn in into a bytes objects. So far so good. However, the ASCII character '0' does is…
-
Hi @Iliano , Yes, say that your sampler is called my_sampler, then you can use the following code in a Python inline_script to stop playback. So in your case, you would add this code after the keyboard_response in the run phase of the script. item…
-
Hi @Sana_2 , (As you probably noticed, something weird happened with this post. I fixed it by copy-pasting your question in my previous comment.) I changed the script so in the ' if statement' the 'vars.response' matrix included other keys (letters,…
-
Hello! I am designing an online experiment and I need to record the participants email address in order to include them in a draw for winning a prize. I tried to modify an already existing loop with an inline java script that was designed to record …