Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

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 Buy Me A Coffee :)

  • 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

    Buy Me A Coffee

  • 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

  • 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

Sign In or Register to comment.