psychojs
psychojs copied to clipboard
Tone volumes not on same scale as PsychoPy
In PsychoPy the minimum volume of a tone is 0 and the maximum is 1 (e.g. https://www.psychopy.org/api/sound.html#ptb-sound) . In PsychoJS a tone still continues to decrease in volume below 0 - suggesting they are not on the same scale.
Demo here https://run.pavlovia.org/Consultancy/tonevolumebug/ Files here: https://gitlab.pavlovia.org/Consultancy/tonevolumebug
To expand on this - the issue does not occur is an audio file is used rather than an internally generated tone. (updated demo here https://run.pavlovia.org/Consultancy/tonevolumebug/)