Sound Playback Issue in builder: Works on One Computer, Not on Another

OS : Win10
PsychoPy version : 2024.2.0
Standard Standalone? (y/n) :y
What are you trying to achieve?: I’m conducting an experiment on word learning where two pictures are displayed simultaneously, followed by two sounds. I’m encountering an issue where no sound plays when I run the experiment on one computer. But the sound plays perfectly fine in other applications (e.g., Groove Music) and also works on another computer with the same version of PsychoPy. There doesn’t seem to be any error message in the Stdout, so I’m having trouble pinpointing the issue. I’ve attached the output below for reference.

What did you try to make it work?: I’ve gone through related posts and tried the following solutions:

  • Converted the sound rate to 44100 as suggested.
  • Adjusted the audio settings, such as switching the audio library and audio latency priority. Unfortunately, this didn’t fix the issue.
  • I’ve also noticed that the “use prefs” option has disappeared from the settings, I don’t know if it is unusual.

I’ve attached my experiment file ( named “exp2_version1.psyexp”) for further reference. you can get it at the following link:version1_forum.zip - Google Drive

Any insights into what might be causing the sound to not play would be greatly appreciated!

What specifically went wrong when you tried that?:

6.8282 WARNING Couldn’t connect to psychopy.org
Check internet settings (and proxy setting in PsychoPy Preferences.
Generating PsychoPy script…

Alert 4405: Editable textbox component textbox and keyboard component skip_key in the same routine may compete for keypresses
For more info see https://docs.psychopy.org/alerts/4405.html############ Running: F:\眼动\version1_forum\exp2_version1_lastrun.py ############
9.1700 EXP Imported practice\practice_loop.csv as conditions, 4 conditions, 6 params
9.1718 EXP Imported practice\practice_loop.csv as conditions, 4 conditions, 6 params
9.1730 EXP Imported chooseBlocks_01.csv as conditions, 4 conditions, 2 params
9.1732 WARNING duplicate variable names: sound2, ans1, ans2, sound1, image2, image1
9.1762 INFO Loaded monitor calibration from [‘2024_07_01 09:55’]
9.1981 EXP Imported practice\practice_loop.csv as conditions, 4 conditions, 6 params
9.1999 EXP Imported practice\practice_loop.csv as conditions, 4 conditions, 6 params
9.2011 EXP Imported chooseBlocks_01.csv as conditions, 4 conditions, 2 params
9.2013 WARNING duplicate variable names: sound2, ans1, ans2, sound1, image2, image1
9.2041 INFO Loaded monitor calibration from [‘2024_07_01 09:55’]
9.2358 EXP Imported practice\practice_loop.csv as conditions, 4 conditions, 6 params
9.2376 EXP Imported practice\practice_loop.csv as conditions, 4 conditions, 6 params
9.2387 EXP Imported chooseBlocks_01.csv as conditions, 4 conditions, 2 params
9.2390 WARNING duplicate variable names: sound2, ans1, ans2, sound1, image2, image1
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
Hello from the pygame community. Contribute - pygame wiki
1.3511 WARNING Monitor specification not found. Creating a temporary one…
ioHub Server Process Completed With Code: 0
################# Experiment ended with exit code 0 [pid:8796] #################

I just found the solution—make sure to adjust the speaker settings, especially if you’re using headphones :sweat_smile: :sweat_smile: