I am converting a psychopy experiment into psychoJS to make it into an online experiment.
The existing psychopy experiment is using a sound stimulus which uses the sampleRate attribute (https://www.psychopy.org/api/sound.html) .
The code for initialisation is
audio_sound = sound.Sound(audio_signal,sampleRate=48000)
However, the psychoJS counterpart does not seem to have this particular attribute (Sound - PsychoJS API).
Is there a way around this ?