# Picroft + rpi4 + Respeaker Mic Array v2.0 - Audio issues

**URL:** https://community.openconversational.ai/t/picroft-rpi4-respeaker-mic-array-v2-0-audio-issues/7585
**Category:** Picroft
**Created:** [November 24, 2019, 2:26pm UTC](https://community.openconversational.ai/t/picroft-rpi4-respeaker-mic-array-v2-0-audio-issues/7585 "2019-11-24T14:26:58Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![j1nx](https://community.openconversational.ai/user_avatar/community.openconversational.ai/j1nx/32/1260_2.png) [@j1nx](https://community.openconversational.ai/u/j1nx)
#### Post date: [November 25, 2019, 12:22pm UTC](https://community.openconversational.ai/t/picroft-rpi4-respeaker-mic-array-v2-0-audio-issues/7585/4 "2019-11-25T12:22:21Z")

</div>

Looks like you are going to use this RPI4 only for this purpose so this is what I should do;

First, make sure that you use PulseAudio for audio playback. Edit your “/etc/mycroft/mycroft.conf” or “~/.mycroft/mycroft.conf” to add/change to these two lines;

```
"play_wav_cmdline": "paplay %1"
"play_mp3_cmdline": "mpg123 %1"

```

Pay good attention on the proper json format, using the comma’s where you should etc.

Then we can also force ALSA userspace to use PulseAudio as well by editting the “/etc/asound.conf” with the following content;

```
# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

```

Now all sound setting are pushed towards PulseAudio. Now it is matter to setup PusleAudio properly similar as the Mark-2 enclosure;

Edit “/etc/pulse/daemon.conf” and at the bottom add the following content;

```
resample-method = ffmpeg
default-sample-format = s24le
default-sample-rate = 48000
alternate-sample-rate = 44100

```

Edit “/etc/pulse/default.pa” and at the bottom add the following content;

```
unload-module module-suspend-on-idle
unload-module module-role-cork
load-module module-role-ducking

```

That last file is most likely not needed for your issues, but if all works after this, we can easily enable ducking of audio later on.

Give it a go and let us know.

---

_[View the full topic](https://community.openconversational.ai/t/picroft-rpi4-respeaker-mic-array-v2-0-audio-issues/7585)._
