Unsupported Audio Parameters in PTB Sound Library

My thoughts.

  1. If all of your sound files are 44100 Hz then might there be a video file with a 48000 Hz bit rate that is causing the issue.

  2. If it works when the files are constant then there could be a bug that 48000 Hz is used as the default audio stream if no audio files are set. You could try setting one “demo” sound file as constant to get the audio stream right. If this works you could stop it playing by setting its volume to zero or setting its start time to after the end of the routine.