# Adding a mic response generates an error

**URL:** <https://discourse.psychopy.org/t/adding-a-mic-response-generates-an-error/7763>\
**Category:** Builder\
**Created:** [May 14, 2019, 7:53pm UTC](https://discourse.psychopy.org/t/adding-a-mic-response-generates-an-error/7763 "2019-05-14T19:53:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JessicaSanchezBeisel](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jessicasanchezbeisel/32/4772_2.png) [@JessicaSanchezBeisel](https://discourse.psychopy.org/u/JessicaSanchezBeisel)\
**Post date:** [May 14, 2019, 7:53pm UTC](https://discourse.psychopy.org/t/adding-a-mic-response-generates-an-error/7763/1 "2019-05-14T19:53:17Z")

</div>

Hi everyone! I had my experiment working well but when I tried adding a microphone response (mic\_1), the program crushes when it gets to that step of the experiment. Anyone has any idea why this could be happening?  
It would be really useful for the data that I am collecting to have that response recorded.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/3/b/3bf7ae7edf3622106a9d7b5981dae3af3c6b4e12.jpeg)

Thank you very much!

Jessica.

---

<div class="post-metadata">

**Author:** ![tan\_1190](https://avatars.discourse-cdn.com/v4/letter/t/cc9497/32.png) [@tan\_1190](https://discourse.psychopy.org/u/tan_1190)\
**Post date:** [June 17, 2019, 11:15am UTC](https://discourse.psychopy.org/t/adding-a-mic-response-generates-an-error/7763/2 "2019-06-17T11:15:05Z")

</div>

Hi Jessica, have you managed to solve this? I don’t have a solution but have a similar problem with the experiment crashing after one or two trials and there is no error message. If you have solved it could you post the solution please?

Cheers,  
Tanya

---

<div class="post-metadata">

**Author:** ![rosem09](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/rosem09/32/11349_2.png) [@rosem09](https://discourse.psychopy.org/u/rosem09)\
**Post date:** [July 14, 2019, 6:03pm UTC](https://discourse.psychopy.org/t/adding-a-mic-response-generates-an-error/7763/3 "2019-07-14T18:03:10Z")

</div>

Hi Tanya. Have you managed to solve your problem? I am having the same exact issue with the mic component (with a stop duration specified in seconds). Psychopy crashes after the 3rd or 4th trial and there is no error message.

---

<div class="post-metadata">

**Author:** ![JessicaSanchezBeisel](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jessicasanchezbeisel/32/4772_2.png) [@JessicaSanchezBeisel](https://discourse.psychopy.org/u/JessicaSanchezBeisel)\
**Post date:** [July 17, 2019, 7:32pm UTC](https://discourse.psychopy.org/t/adding-a-mic-response-generates-an-error/7763/4 "2019-07-17T19:32:42Z")

</div>

Unfortunately I could not solve this problem. For a couple of weeks the experiment worked but then it started crushing again.

---

<div class="post-metadata">

**Author:** ![rosem09](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/rosem09/32/11349_2.png) [@rosem09](https://discourse.psychopy.org/u/rosem09)\
**Post date:** [July 17, 2019, 7:49pm UTC](https://discourse.psychopy.org/t/adding-a-mic-response-generates-an-error/7763/5 "2019-07-17T19:49:56Z")

</div>

No luck for me either. I went ahead and created a new posting specifying my problem ([Specifying stop duration value with mic component causes Psychopy to crash with no error message](https://discourse.psychopy.org/t/specifying-stop-duration-value-with-mic-component-causes-psychopy-to-crash-with-no-error-message/8524)) but i have had no responses yet.

---

<div class="post-metadata">

**Author:** ![JessicaSanchezBeisel](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jessicasanchezbeisel/32/4772_2.png) [@JessicaSanchezBeisel](https://discourse.psychopy.org/u/JessicaSanchezBeisel)\
**Post date:** [July 17, 2019, 8:26pm UTC](https://discourse.psychopy.org/t/adding-a-mic-response-generates-an-error/7763/6 "2019-07-17T20:26:05Z")

</div>

Rose, at first I tried clicking the “stereo” option inside the mic response configuration box and I think it worked for a couple of weeks with that. Have you tried that? Maybe your trouble will be solved. But now I have a new error and I have also made a new topic

> [@Microphone response generates an error (Unicode warning)](https://discourse.psychopy.org/t/microphone-response-generates-an-error-unicode-warning/8558/1):
>
> Hi everyone! I’m using the Psychopy Version 1.82.01 The problem with my experiment started when I added a microphone response. At first, I had an error that said " ‘None type’ object is not callable" and I changed the order of the stimulus and I clicked on the “stereo” option inside the mic response configuration box and I thought I could solved it. The experiment ran without any trouble for a couple of times and then it started crushing again. However, now I got different errors. At first, wh…

---

<div class="post-metadata">

**Author:** ![Maria\_Heath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/maria_heath/32/5416_2.png) [@Maria\_Heath](https://discourse.psychopy.org/u/Maria_Heath)\
**Post date:** [July 18, 2019, 8:02pm UTC](https://discourse.psychopy.org/t/adding-a-mic-response-generates-an-error/7763/7 "2019-07-18T20:02:53Z")

</div>

Have you tried updating to the latest version of PsychoPy? I believe v3.1.3 addresses some of the mic problems from earlier versions. Updating stopped my experiment from crashing.
