psychojs icon indicating copy to clipboard operation
psychojs copied to clipboard

Tone volumes not on same scale as PsychoPy

Open RebeccaHirst opened this issue 3 years ago • 1 comments

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

RebeccaHirst avatar Jul 12 '21 13:07 RebeccaHirst

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/)

RebeccaHirst avatar Jul 15 '21 10:07 RebeccaHirst