Timing and Stability Differences Between Python and Javascripts in OpenSesame
Hi everyone,
I couldn't find an answer to my question and wanted to ask on the forum: I designed an experiment on OSWeb, however, we decided to use OpenSesame. The problem is, I used quite a lot java inline scripts and my experiment includes a very time-sensitive audio and visual stimuli presentation (actually that was the reason why we changed our mind and decided to use OpenSesame, rather than OSWeb). I was wondering, if there is any timing or stability differences between the Java and Python inline scripts - should I convert all Java scripts to the Python ones, or I would be fine if I leave them as Java scripts?
Thank you all for your contribution.
Best,
Jonah
Comments
Hi Jonah,
My guess is that you could leave everything as is, but perhaps @sebastiaan could confirm.
Good luck!
Lotje
Did you like my answer? Feel free to

Hi Jonah,
Personally, I can't add much to your question, but I recently came across this study:
Maybe it is useful to you.
Good luck,
Eduard
Hi @wishiknewprogramming ,
I was wondering, if there is any timing or stability differences between the Java and Python inline scripts - should I convert all Java scripts to the Python ones, or I would be fine if I leave them as Java scripts?
In terms of timing, using Python v JavaScript doesn't make a difference, provided (and this is an important caveat!) that time-critical are performed in the Prepare phase.
— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thank you so much @lvanderlinden , @eduard and @sebastiaan!
@eduard , thanks for the study as well. They used OpenSesame 3.2.8 at the time and if I am not mistaken, OpenSesame was updated to 3.3 later on and now it supports new sound backend - in the instructions it is stated that the timing should be better. Therefore I hope that it works even better now :)
@sebastiaan , I almost forgot the prepere-run difference in inline scripts - thanks a lot for reminding that important point!
Best,
Jonah