alisdt
About
- Username
- alisdt
- Joined
- Visits
- 18
- Last Active
- Roles
- Member
Comments
-
This may be of use: https://forum.cogsci.nl/discussion/7680/playing-video-in-osweb/
-
This may be of use: https://forum.cogsci.nl/discussion/7680/playing-video-in-osweb/
-
Many thanks @sebastiaan , good to know!
-
p.s. just checked and this does work with an external file URL for the sound using JS audio: const beep_url = "http://myserver.example.com/static/beep.ogg"; const audio = new Audio(beep_url); audio.addEventListener( "canplaythroug…
-
It's not very elegant, but I solved this with two inline_javascript items, one to add a new style tag and one to remove. So before the items where you want the different cursor, an inline_javascript with: const style = document.createElement("s…
-
Hi, I am working with @moreno, and managed to get this working. Here are the steps I used, in case they are of use to others. This has been tested on Windows 7 and Windows 10. Uninstall OpenSesame, and reinstall the latest version (at the moment, …
-
Sebastiaan, many thanks for the speedy fix! I have already applied this in isolation to our teaching lab (running 3.0.6 + a fixed sampler.pyc for this bug). It seems to work well -- this is great as I'll be teaching a session to beginners which focu…
-
This doesn't seem to occur if a fixed duration is given (rather than just "sound", which admittedly is probably the most common case). So if your sounds are all the same duration, this would also serve as a workaround. I suspect this may …
-
I've experienced something similar (with two consecutive sounds playing simultaneously), which I just reported in a separate post: http://forum.cogsci.nl/index.php?p=/discussion/1882/sounds-in-consecutive-samplers-play-simultaneously-on-first-time-…
-
p.s. I should have said, for this fix to work the code above should be in an inline code item right at the start of the experiment (before any use of pygaze_init).
-
It's not ideal, but for now this can be fixed with a monkeypatch to the pytribe.calibration class. This simply aborts any current calibration and retries, if necessary. import pygaze._eyetracker.pytribedef start_new(self, pointcount=9): "&q…
-
# Replace run() for loop object with our own methodsimport randomimport openexpimport types# Modified copy of original run() methoddef new_MyLoop_run(self): self.set_item_onset() # generate cycle numbers (custom) # come up with an order of …