Thank you, @wakecarter r and @Nathan_zhang
Unfortunately, I have encountered another issue where some audio files are not playing randomly during the experiment. I have tried using both PsychoPy 2023 and PsychoPy 2024.1.4, but the problem persists. I have also attempted deleting and reinstalling the software and changing the library to PTB and sound device, but the issue remains. Do you have any suggestions on how to resolve this?