I have been trying to resolve this issue using a number of different tactics, and although I seem to be getting closer to a solution, I am still having major issues. It also seems that I did not provide much background before though:
I am using a Windows 7 32-bit computer, and have recently updated Psychopy to v1.85.2.
I’ve gone through and programmed my experiment sans sound to this point, and it’s basically an S1S2 task at this point. Everything works well and runs without error.
Now, to add sound in, I’ve started to run into problems. I tried to add sound in (as per Becca’s recommendation), and was quite unsuccessful. At this point I am not sure where each line of code goes into my code components/how many code components I need to make this run successfully. I have made a whitenoise.wav file using Audacity >> Thank you for the suggestion! @lpxrh6
Next, I have tried to implement this as a simple Sound component. Essentially, I need white noise for the duration of the task at 70db, and then for the S2 the sound should increase to 115db. I’ve inserted the S2 sound component, and my experiment runs without error. However, my visual stimuli are not presenting. After the onset of the first S2, the screen goes blank and no sound plays. This remains until the experiment is over and the final screen presents, “Thank you for completing the task. Please wait for the experimenter.”
Without changing anything, my experiment began crashing too. After terminating the program, my output reads “Fatal Python error: (pygame parachute) Segmentation Fault”.
If there are any ideas on what I might do to address these issues, input would be greatly appreciated!