sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,062
- Last Active
- Roles
- Administrator
Comments
-
So just to clarify for me: when inside the same experiment you collect a key press using an inline_script it works, but if you try to collect a key press using a keyboard_response item it doesn't? If that's the case, I really have no clue what mig…
-
Ok, that's odd. Let's try to understand what kind of keys the powermate returns exactly. What do you see if you collect a number of button with a simple test script that prints out both the key and the type of the key variable? kb = Keyboard() key, …
-
Hi @SMD1990 , As a first step, let's try to understand what you are doing now. I suspect you copied this script from someone else and inserted it into your own experiment without fully understanding it, right? In the Prepare phase of the script, you…
-
Hi @rania_tach , There is some room for improvement, notably by filtering out the None responses that you get when there's a timeout. But other than that this looks ok. I suspect that this issue lies elsewhere, not in the experiment or in the trans…
-
Hi @lucaseme , Ah, I see. This seems to be a backwards incompatibility where the conversion from string to number isn't done automatically. (I'm not sure why this behavior has changed to be honest.) You can work around this by using the new-style if…
-
Hi @Fab @SpacePenguins @Silk , Just as a little background to this. Indeed, as of OSWeb 2.1, the (newer) WebAudio API is used instead of the (classic) <audio> tags. The reason for this is that <audio> tags didn't work reliably on Safar…
-
Hi @Silk , If you update OSWeb through the automatic updater, the issue should be resolved! — Sebastiaan
-
Hi @lucaseme , Based on your description it sounds like you're doing everything correctly. Can you attach the experiment, or a simplified version of the experiment that illustrates the issue? — Sebastiaan
-
Hi @Mikefiels , Is using a duration variable in the script of the mpy object the appropriate approach for handling randomly picked durations for video objects? Do I understand correctly that you're specifying the duration by entering {video_duration…
-
Hi @sotake24 , If I understand correctly you want to show a form that shows an image, presumably defined by a variable, and that also collects a text-input response from the participant. And you want to do that in OSWeb. Is that correct? If so, you …
-
Hi @rania_tach , If my understanding is correct, the Griffin PowerMate 2.0 simulates a keyboard or mouse, which means that you do not have to do anything specific to make it work with OpenSesame (any version). If your experiment used to work in Open…
-
Hi @_nina_ , There is no fundamental difference between writing classes in inline_scripts or in regular Python scripts: it is possible, but whether it makes depends on what you need to implement, and your preferred coding style. Personally, I tend …
-
Hi @Luigi96 , The function is now simply available as copy_sketchpad() , so without the self. prefix. See also: https://osdoc.cogsci.nl/4.0/manual/python/common/#copy_sketchpadname Hope this helps! — Sebastiaan
-
Hi @Ornella , Ok, I see. The Circle() class in OpenSesame is not the same as the psycho.visual.Circle() class, hence the confusion. (The first is to draw on an OpenSesame Canvas object, the second to draw on a PsychoPy window object. They are conc…
-
Hi @Ornella , Is your question about what kind of units psychopy (by default and in the context of OpenSesame) uses for color specifications? These are on a -1 (black) to 1 (white) scale, so if you have values on a 0 (black) to 255 (white) scale you…
-
Hi @jens_s20 , Yes, absolutely! In that case, you would use the lmer_crossvalidation_test() purely as a non-circular way to localize the interaction in the time series and then use your own test to actually test for significance. — Sebastiaan
-
Hi @Jakob_ , I don't have access to an SMI Red 500 myself, so this reply is based on my general understanding and not on direct experience. But tentatively I'd say that, no, using the SMI Red 500 without the iView X SDK isn't possible. Your descript…
-
Hi @MM@mmalikovic , You're free to ask questions about any kind of software here! As it happens, the lab.js developer @mezzopiano is also on this forum, so maybe he can help out. — Sebastiaan
-
Hi @Xin , It sounds like you have (possibly by accident) changed the runner (under Preferences → Common settings → Running experiments) to 'Run experiment in opensesamerun (external)'. This is a somewhat technical options that means that the experim…
-
Hi @Jonas_S , This error is unrelated to pillow and comes from the tobii-research package. Beyond that, it's difficult for me to say anything about it, because the error message isn't very descriptive and I don't have a Tobii tracker myself. Mayb…
-
Hi @gerhono , I misunderstood your initial question, but I see now that you are trying to update conda itself (rather than use conda to update other packages as suggested by the automatic updater). I'm not sure why this gives the error that you see,…
-
Hi @Varsoviaa , The tobii-research package is only available for Python 3.10. Presumably, your Python environment is based on a different version of Python, such as 3.11, which OpenSesame uses by default. Is that it? — Sebastiaan
-
Hi @gerhono , Anaconda (with the command line tool conda ) is a package management system for Python that OpenSesame uses. It has some advantages but it can also be fragile such that, for no obvious reason, the packages end up in a state where you c…
-
Thanks @janedeboer ! I'm very excited about this! To give a sense of what Sigmund is good at, here is a screenshot of a pretty challenging question: https://forum.cogsci.nl/uploads/389/Z5HH4Z3WB05O.png
-
Hi @labsupport , This is very odd, but almost certainly unrelated to this update. It seems like some kind of corruption of the user interface, specifically the web-browser component that is used for some things. Does simply restarting the program or…
-
Hi @Silk , Thanks for pointing this out. I have to look into what causes this. Can you confirm that this happens on Windows only? For now, you can use HTML character codes instead. For example, é corresponds to 'é'. For a full list, see…
-
Hi @robbertmijn , Thanks for looking into this! but it has not started actually updating after 45 minutes. So you just to clarify: when the update notification appeared, you opened it and clicked on the 'Run update script' button. And then the conda…
-
Hi @labsupport , Unfortunately, the cleanup does not behave as you described. When code execution fails because of (for example) a non-existing variable, or when we abort the experiment by pressing Escape, the clean up function is not executed. Than…
-
Hi @labsupport / Iris, In the OpenSesame 3 version of the plugin I saved several variables in var (self.experiment.var), so that the extension could access them. However, in OpenSesame 4 it seems that I can only save 'simple' variable types in var, …
-
Hi @m.vel , What happens if you try to update with pip instead of conda ? %pip instal opensesame-extension-osweb --upgrade — Sebastiaan