OS (e.g. Win10): Win10 64bit
PsychoPy version (e.g. 1.84.x): 2021.2.2
Standard Standalone? (y/n) If not then what?: yes
Hi everyone,
I’ve been using PsychoPy for a couple of days only (+ a total beginner with Python) and I’m facing an issue that I can’t seem to be able to resolve despite having spent quite a lot of time on forums. I’m trying to build a fairly simple reading task in which a few sentences are randomly presented to subjects. Subjects are asked to read the sentences once they are presented to them. Everything seems to be working fine until I add the microphone component. I’ve tried to play with a bunch of different hardware and audio preferences*, based on what I could read on forums and warning messages, but no success until now. I would really appreciate if anyone could give me some insights as to what the problem is and/or what I could do to fix it. Here’s the error I get :
Traceback (most recent call last):
File “C:\Users\lburin\Desktop\TEST\test_lastrun.py”, line 457, in
mic.stop()
File “C:\Users\lburin\AppData\Local\PsychoPy\lib\site-packages\psychopy\sound\microphone.py”, line 803, in stop
“Cannot stop a stream that has not been started.”)
psychopy.sound.exceptions.AudioStreamError: Cannot stop a stream that has not been started.
Experiment ended. #####
*I’ve moved PTB first in the Audiolib after I got some warning message, but also because if I get rid of it I can’t seem to be playing any soundfile (I need that for an another task, a repetition one, and for which I seem to have the same problem with the microphone component).
Best,
Léa