Avatar

Howdy, Stranger!

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

Supported by

Slobodanp

About

Username
Slobodanp
Joined
Visits
50
Last Active
Roles
Member

Comments

  • Hi everyone, old post but I'm coming back to this design and I have encountered a new issue. When I run the experiment, it all works fine until it's time to execute the inline js to stop the sampler: const sample = runner._experiment.items._items['n…
  • Hi @Fab , I'm not sure why this is the case, but for me, the sound does not stop until the audio file ends (this is likely the reason that you experience the stop before the end of trials). There's no difference in terms of what browser I use. I'll…
  • Hi @Fab, thanks for the explanation regarding handlers. The sampler should start running at the defined time and stop after the 32 trials are over - to put it plainly, the brakes should be silent. As it is now, at least when I test it, the sound d…
  • Hello Fabrice, and thank you very much, this does seem to get us really close to the finish line. Your work-around seems to work, as the sound does start on specific trials, which is great, but the stopper does not seem to work when I run it. The sa…
  • Hi Eduard, Thank you for the response, although there is no solution as of yet. I hope that someone else will be able to help as well :) Cheers! Slobodan
  • Hi Eduard, The difference is that I don't need the sampler to play at the beginning of each trial, but instead at the number of trial that I've defined in the sequence in the loop in which the stimuli are. It plays it when the sequence loops for th…
  • Hi, See, that's the thing. The point of the experiment is for the sound to go off at a pseudo-random (fixed time-points, random order throughout the experiment) point in time and then continue going until the main_loop finishes looping (until the …
  • Hi @lvanderlinden, thanks for the quick answer, sorry for not getting back to you earlier. The sampler is named 'new_sampler', so that shouldn't be the issue. I seem to be failing to upload the experiment directly here, so here's a gdrive link to i…
  • Hi Lotje, thank you for your answer! Sadly, it did not resolve my issue. I get the following error message: Stopped The experiment did not finish normally for the following reason: Error while executing inline script Details item: new_inline_javasc…