# MIDI Chief: an ALSA C client with MIDI logic written in Lua

**URL:** <https://discourse.zynthian.org/t/midi-chief-an-alsa-c-client-with-midi-logic-written-in-lua/9363>\
**Category:** Related Projects\
**Tags:** raspberry-pi, diy-midi-control\
**Created:** [April 1, 2024, 12:47am UTC](https://discourse.zynthian.org/t/midi-chief-an-alsa-c-client-with-midi-logic-written-in-lua/9363 "2024-04-01T00:47:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![profgra](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/profgra/32/10585_2.png) [@profgra](https://discourse.zynthian.org/u/profgra)\
**Post date:** [April 1, 2024, 12:47am UTC](https://discourse.zynthian.org/t/midi-chief-an-alsa-c-client-with-midi-logic-written-in-lua/9363/1 "2024-04-01T00:47:19Z")

</div>

An ALSA C client with MIDI logic written in Lua:  
You can filter, route, split, anything you dream to do…  
[Github project](https://github.com/Grahack/midichief)

Latency isn’t noticeable to me with a RPi3 and PiSound.

I don’t know MidiHub from Blokas well but it seems similar but with no dedicated hardware: it could be any GNU/Linux box.

Any comments welcome!

---

<div class="post-metadata">

**Author:** ![tunagenes](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/tunagenes/32/7279_2.png) [@tunagenes](https://discourse.zynthian.org/u/tunagenes)\
**Post date:** [April 1, 2024, 3:15am UTC](https://discourse.zynthian.org/t/midi-chief-an-alsa-c-client-with-midi-logic-written-in-lua/9363/2 "2024-04-01T03:15:57Z")

</div>

Awesome - I’m sure time will tell how usefully this will integrate with Zynthian, and it’s immediately, potentially useful by itself. Thanks @profgra !

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [April 1, 2024, 7:05am UTC](https://discourse.zynthian.org/t/midi-chief-an-alsa-c-client-with-midi-logic-written-in-lua/9363/3 "2024-04-01T07:05:55Z")

</div>

How does this differ from [Moony](https://wiki.linuxaudio.org/apps/all/moony) (except maby that moony seems to have disappeared from the web)?

---

<div class="post-metadata">

**Author:** ![profgra](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/profgra/32/10585_2.png) [@profgra](https://discourse.zynthian.org/u/profgra)\
**Post date:** [April 1, 2024, 3:51pm UTC](https://discourse.zynthian.org/t/midi-chief-an-alsa-c-client-with-midi-logic-written-in-lua/9363/4 "2024-04-01T15:51:04Z")

</div>

Hi and thanks for your question. I didn’t know about Moony and it really seems similar except it works inside the LV2 ecosystem. MidiChief is standalone: only needs and works on ALSA.

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [April 1, 2024, 3:56pm UTC](https://discourse.zynthian.org/t/midi-chief-an-alsa-c-client-with-midi-logic-written-in-lua/9363/5 "2024-04-01T15:56:40Z")

</div>

Indeed! Moony is already integrated in Zynthian. MIDI Chief would require some coding to integrate.
