Welcome! Log In Create A New Profile

Advanced

Sounds won't play anymore when task is running

Posted by mdobrazz 
Sounds won't play anymore when task is running
October 25, 2021 03:44AM
Hello,

We have 3 identical setups working with MonkeyLogic for more than 6 months now and we're having an issue with one of the machines when playing sounds (note that everything was working well until now and the other two machines are still working well with the same scripts).
The issue: snd() taskobjects do not produce any sound when running the task. Sound playback is working well in windows, also in Matlab with the sound() function, AND sounds are also played well when pressing the "Test" button in MonkeyLogic. It's only when running the task that it is not working, no errors or warnings are displayed.

Any clue?

Our setup:
Windows 10 (10.0.18363)
Matlab R2019b
MonkeyLogic Feb 10, 2020 build 206 (we cannot update it because we use a modified version by a hardware provider)

Best,
RĂ©gis
Re: Sounds won't play anymore when task is running
October 27, 2021 08:20AM
Testing sound playback in Windows or in MATLAB with the sound() function is not relevant. Please check your audio engine settings.
https://monkeylogic.nimh.nih.gov/docs_AudioEngine.html
Re: Sounds won't play anymore when task is running
October 29, 2021 03:40AM
Thanks Jaewon!

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.