# Zynthian Box with Audio-input (Audioinjector soundcard)

**URL:** <https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618>\
**Category:** Building Zynthian\
**Created:** [April 7, 2017, 6:02pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618 "2017-04-07T18:02:05Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [October 22, 2017, 10:06am UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/41 "2017-10-22T10:06:08Z")

</div>

I haven’t seen the magic cookie before. If I would be in your situation I would build it up from scratch. Only soundcard with external hdmi. Etc.  
And of course using a fresh image.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [October 23, 2017, 2:17pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/42 "2017-10-23T14:17:10Z")

</div>

Hi @Hampelschwein!

I don’t understand why did you change the “[zynthian.sh](http://zynthian.sh)” …it’s not needed at all, and it will be overwriten by the next update.

You can configure the audioinjector from the webconf tool very easily. And after that, you only need to adjust the alsamixer levels from the command line:

```
# alsamixer

```

And that’s all 😉

But be warned that audioinjector soundcards are quite problematic. IMHO, the 40 pin header is not very reliable …

Regards,

---

<div class="post-metadata">

**Author:** ![Hampelschwein](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/h/eb8c5e/32.png) [@Hampelschwein](https://discourse.zynthian.org/u/Hampelschwein)\
**Post date:** [October 27, 2017, 12:17pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/43 "2017-10-27T12:17:33Z")

</div>

because it was mentioned here

> Enable output and input with alsamixer, as explained by @rod_amaral here [Zynthian Box with Audio-input (Audioinjector soundcard)](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618)

hm okay I will try to do this when I’m back at home, travelling right now.

could the audioinjector also be the reason why my zynthian still crashed from time to time?

---

<div class="post-metadata">

**Author:** ![Hampelschwein](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/h/eb8c5e/32.png) [@Hampelschwein](https://discourse.zynthian.org/u/Hampelschwein)\
**Post date:** [October 29, 2017, 4:16pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/44 "2017-10-29T16:16:42Z")

</div>

sorry, how exactly do you do this with the command line and the alsamixer?

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [October 29, 2017, 6:12pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/45 "2017-10-29T18:12:51Z")

</div>

Easy:

1. Login into your Zynthian Box
2. Run alsamixer:  
`# alsamixer`
3. Adjust the levels, enable the right input channel, etc
4. Quit and reboot. It should maintain your adjustments after booting.

Regards

---

<div class="post-metadata">

**Author:** ![Hampelschwein](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/h/eb8c5e/32.png) [@Hampelschwein](https://discourse.zynthian.org/u/Hampelschwein)\
**Post date:** [October 29, 2017, 6:34pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/46 "2017-10-29T18:34:52Z")

</div>

uh shit, I think now I really messed something up. After I put a new image on the sd card I could boot again, then I dropped my backed up “zynthian-my-data” back into the sd card. Then the sound was extremely quiet and distorted and suddenly I couldnt access the zynthian via my computer anymore, then I put a new image on the sd again and now I cant even boot anymore, it gets stuck on the white Zynthian error screen, no access with the terminal possible (“operation timed out”). also the leds at the network cable plug are not blinking anymore. Is my raspberry somehow broken? The soundcard? I’m stuck… I dont want to randomly buy something new

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [October 29, 2017, 7:08pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/47 "2017-10-29T19:08:34Z")

</div>

I have bad experiences with AudioInjector soundcards, so i would try to run your zynthian without it. It will show you the Error Screen, but you should be capable of login in.  
If it works, try to reconnect the soundcard, and cross your fingers … it’s all i can say 😉

BTW, I suspect that the 40-pin header included in the AudioInjector is not very reliable and it gives random errors and conflicts. Anyway, a deeper research should be done to being sure of what the problem it is.

Regards

---

<div class="post-metadata">

**Author:** ![Hampelschwein](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/h/eb8c5e/32.png) [@Hampelschwein](https://discourse.zynthian.org/u/Hampelschwein)\
**Post date:** [October 29, 2017, 7:15pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/48 "2017-10-29T19:15:17Z")

</div>

ok thank you so far! I suppose the hifiberry is the soundcard you would recommend most?

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [October 29, 2017, 7:42pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/49 "2017-10-29T19:42:52Z")

</div>

It works quite well, although there are others that also works fine. I’ve only tested 2 or 3, being the AudioInjector the more problematic, although is the only one having audio input. In fact, currently i have a Zynthian with AudioInjector that works perfectly.

Regards,

---

<div class="post-metadata">

**Author:** ![Hampelschwein](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/h/eb8c5e/32.png) [@Hampelschwein](https://discourse.zynthian.org/u/Hampelschwein)\
**Post date:** [October 29, 2017, 8:55pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/50 "2017-10-29T20:55:12Z")

</div>

ok, booting again and sound coming out (sometimes), but a lot of weird crashes all the time, I’ll have a look in this…

Meanwhile, the alsamixer. sorry I dont get it what you explained above. Where am writing “# alsamixer”? In the terminal or somewhere in the webconf? Because in the terminal nothing happens

---

<div class="post-metadata">

**Author:** ![gmeader](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/gmeader/32/607_2.png) [@gmeader](https://discourse.zynthian.org/u/gmeader)\
**Post date:** [October 30, 2017, 5:51pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/51 "2017-10-30T17:51:19Z")

</div>

**alsamixer** is a Linux command. You just type:

`alsamixer`

followed by the Enter key in the terminal _(the # is not to be typed by you, it is just the command-line prompt)._

Here’s a tutorial on how to work with sound on a Raspberry Pi (including aslamixer):

> **[Sound configuration on Raspberry Pi with ALSA](http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/)**
>
> While setting up a Raspberry Pi to play streamed music using
> UPnP,
> I have had quite a bit of trouble understanding how to configure the
> sound on my Raspberry Pi. This is partly because I am running it

---

<div class="post-metadata">

**Author:** ![Hampelschwein](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/h/eb8c5e/32.png) [@Hampelschwein](https://discourse.zynthian.org/u/Hampelschwein)\
**Post date:** [November 1, 2017, 10:20pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/52 "2017-11-01T22:20:08Z")

</div>

ok thanks!  
Zynthian is now running halfways stable again! 🙂

the only thing is now, I cant turn the mic off completely, I can make it louder with the mic boost, but at the lowest setting its still on. Is there a setting I’m missing?

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [November 2, 2017, 3:31pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/53 "2017-11-02T15:31:16Z")

</div>

It should be possible from the alsamixer. Try to play with the different switches and levels …

Regards,

---

<div class="post-metadata">

**Author:** ![Hampelschwein](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/h/eb8c5e/32.png) [@Hampelschwein](https://discourse.zynthian.org/u/Hampelschwein)\
**Post date:** [November 7, 2017, 3:35pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/54 "2017-11-07T15:35:14Z")

</div>

hm, I played around with it again. the only level/switch that had an effect on the mic was the mic boost, which as I said could only make it louder and not quiet it. I also turned down every level and still it was on (master, sidetone, mix boost and capture. The other ones: line, mic, master Playback zc, playback deemphasis, adc high pass filter, Output Mixer hifi, Output Mixer Line Bypass, Output Mixer Mic Sidetone and Store DC Offset are all disabled

---

<div class="post-metadata">

**Author:** ![Aleksi](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/a/ecc23a/32.png) [@Aleksi](https://discourse.zynthian.org/u/Aleksi)\
**Post date:** [November 28, 2017, 9:25am UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/55 "2017-11-28T09:25:51Z")

</div>

Could someone tell me dimensions of Audioinjector soundcard? I need them so that I can make sure that electronics fit inside body I have designed as I dont have one yet and it will take some time before I get one. For some reason there seems to be no dimensions of it in internet.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [November 28, 2017, 10:43am UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/56 "2017-11-28T10:43:11Z")

</div>

Hi @Aleksi!

Dimensions are the almost the same of HifiBerry. It’s a RBPi hat. Of course you can use the PiZero version, that it’s much smaller, with the same features.

Regarding the connector’s positioning, you would have to order one and measure by yourself. I haven’t found a publicly available specification.

Regards,

---

<div class="post-metadata">

**Author:** ![Aleksi](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/a/ecc23a/32.png) [@Aleksi](https://discourse.zynthian.org/u/Aleksi)\
**Post date:** [November 28, 2017, 12:39pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/57 "2017-11-28T12:39:04Z")

</div>

@jofemodo

Thanks for reply.

It is good to hear that PiZero verison works as I was wondering that but forgot to ask. I will get one of those instead of stereo soundcard.

---

<div class="post-metadata">

**Author:** ![Axeman](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/axeman/32/278_2.png) [@Axeman](https://discourse.zynthian.org/u/Axeman)\
**Post date:** [November 28, 2017, 1:15pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/58 "2017-11-28T13:15:35Z")

</div>

I’ll measure mine and tell you sizes tonight. I’m at work at the moment…

---

<div class="post-metadata">

**Author:** ![Aleksi](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/a/ecc23a/32.png) [@Aleksi](https://discourse.zynthian.org/u/Aleksi)\
**Post date:** [November 28, 2017, 2:32pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/59 "2017-11-28T14:32:14Z")

</div>

Pls dont use your energy unless it is PiZero card.

Edit. It seems that PiZero soundcard is same size as PiZero so there is realy no need for measurements.

---

<div class="post-metadata">

**Author:** ![mrlsk](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrlsk/32/450_2.png) [@mrlsk](https://discourse.zynthian.org/u/mrlsk)\
**Post date:** [December 14, 2017, 3:44pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/60 "2017-12-14T15:44:56Z")

</div>

Hi ! A little question about the audio to midi function, anybody tried to use it with this audio card ?

[Previous page](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618.md?page=2)

[Next page](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618.md?page=4)
