URL of experiment:
Description of the problem: Trying to run experiment from builder on Pavlovia and this error occurs. It is in my Sound.JS constructor and I have no idea what is causing it. Here is what is in my builder and then in my browser. Any help would be appreciated!
I always use sound components for sounds, not code. Once the component has been created it can be played using code.
When I create the sound component in the builder, I get AttributeError: ‘SoundPTB’ object has no attribute ‘isFinished’ - I am not sure how to resolve this. Additionally, I am trying to have my sound file play across multiple routines.
Check whether the attribute.status ==FINISHED
Use. .play() to play a sound component in a later routine
Hi
I get the same error message as sophierc12345 and am also working with ptb and sounds. It is my first time converting a local psychopy experiment to psychojs for pavlovia. I would really appreciate your help on this issue. Could you maybe further explain where I have to chekc this attribute.status? And how does a code line like this would need to look like then?
file_headphone_check = sound.Sound(“Sounds/HugginsPitch_set1_1.flac”, stereo = True)
Thank you so much!