Skip to content

Decentralized MIDI over Zyre

License

MPL-2.0, Unknown licenses found

Licenses found

MPL-2.0
LICENSE
Unknown
license.xml
Notifications You must be signed in to change notification settings

ZyreApps/DeMidi

Repository files navigation

DeMidi

Goals

This project aims to build decentralized MIDI over Zyre. The goal is that you can bring MIDI devices, sequencers, and synths together over WiFi without any cables and without any configuration.

Policies

The contributors are listed in AUTHORS. This project uses the MPL v2 license, see LICENSE.

This project uses the C4.1 (Collective Code Construction Contract) process for contributions.

This project uses the CLASS (C Language Style for Scalabilty) guide for code style.

Dependencies

Before compiling, you will need to install the alsa dev libraries, on ubuntu it is "libasound2-dev".

Installation

Build using either autotools:

$ ./autogen.sh
$ ./configure
$ make
$ make install

Or With cmake:

$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install

Currently provides two tools:

  • midicast - broadcasts MIDI events from a local MIDI device to the Zyre ether
  • midigrab - grabs MIDI events off the Zyre ether and forwards them to a local MIDI port

Run these as follows:

midicast hw:1,0,0

and

midigrab hw:2,0

Sound Configuration on Linux

Here is a good tutorial on setting up MIDI synthesis on Linux.

On the receiving box you will want to use a virtual MIDI device. Load the kernel module thus:

sudo modprobe snd-virmidi snd_index=1

To check the MIDI devices you have, use these commands to taste:

amidi -l
cat /proc/asound/cards
cat /proc/asound/devices

Links