URL of experiment: https://gitlab.pavlovia.org/aherva/ssd_fpa/tree/master
Description of the problem:
I would like to play audio that I generate (please see description below) within an experiment.
I would like to use a staircase procedure to set the level of degradation of a speech stimulus at which participants respond ~50% correct (SRT50).
The output of our vocoder function is an array which we woudl like to use as a sound - this works when using the variable name of the array as the $sound for the relevant sound object made in builder in python, however, we do not know how to implement this in PsychJS and we receive the error:
Unfortunately we encountered the following error:
** when setting the sound value*
** could not find an appropriate player.*
Try to run the experiment again. If the error persists, contact the experiment designer.
Any viable solution would be appreciated to figure out why my experiment is not reading my 2D array as an audio file? or suggestions on how to implement it differently would be greatly appreciated.
Thank you in advance for your help!