I have some questions regarding generating sound using Psychopy Standalone. I’ve got a fair amount of experience generating visual stimuli, and using some very basic code in code components, but I have zero experience working with sound, so I have a couple questions!
I’m working on developing an acoustic startle fear learning task, using some basic visual stimuli. This is all set up in Psychopy, aside from the important part: sound. I’m trying to have a white noise ongoing throughout the task, and when a certain visual stimulus is presented, the white noise should simultaneously increase in volume.
My understanding is that Psychopy can generate white noise, though I have not had luck in finding out how. Does anyone know how to do this?
My follow-up question is would it be best to generate this in a Code Component in order to play it throughout the task, or would it be better to use a Sound Component?
Finally, how do I adjust the sound?
Apologies, for not having more substance about what I have tried, but I am very unsure of how to proceed. Any assistance would be much appreciated!