# Mic doesn't work on startup - only after running mycroft-mic-test

**URL:** https://community.openconversational.ai/t/mic-doesnt-work-on-startup-only-after-running-mycroft-mic-test/5236
**Category:** Picroft
**Created:** [November 27, 2018, 5:36pm UTC](https://community.openconversational.ai/t/mic-doesnt-work-on-startup-only-after-running-mycroft-mic-test/5236 "2018-11-27T17:36:41Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![dodrian](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/d/e495f1/32.png) [@dodrian](https://community.openconversational.ai/u/dodrian)
#### Post date: [November 27, 2018, 10:42pm UTC](https://community.openconversational.ai/t/mic-doesnt-work-on-startup-only-after-running-mycroft-mic-test/5236/2 "2018-11-27T22:42:55Z")

</div>

OK, I’ve figured out how to get audio to work properly:

First I edited /etc/mycroft/mycroft.conf:

```
   "play_wav_cmdline": "aplay -Dhw:1 %1",
   "play_mp3_cmdline": "mpg123 -a hw:1 %1",
   "enclosure": {
      "platform": "picroft"
   },
   "tts": {
      "mimic": {
         "path": "/home/pi/mycroft-core/mimic/bin/mimic"
      }
   },
   "ipc_path": "/ramdisk/mycroft/ipc/"

```

For some reason thing fixed the “sing me a song” skill, but not regular talking. Then I followed the instructions from the ALSA Project [here](https://www.alsa-project.org/main/index.php/Setting_the_default_device) to add these lines to `/etc/asound.conf` set my default sound card:

```
defaults.pcm.card 1
defaults.ctl.card 1

```

That has fixed my audio output by setting the default soundcard system-wide, which is fine for my purposes, but I wonder if there’s a way to set it just for Mycroft?

I am still having the issue where I need to run `mycroft-mic-test` before the Picroft starts listening for my voice.

---

_[View the full topic](https://community.openconversational.ai/t/mic-doesnt-work-on-startup-only-after-running-mycroft-mic-test/5236)._
