Skip to content

philpep/quatorzeheures

Repository files navigation

Quatorze Heures

Build status

A mono-directional MIDI to OSC gateway.

Dump all midi sources using amidi (require the alsa-utils package) send MIDI bytes as an OSC udp stream /midi/<device> <midi bytes>.

Features:

  • Generate a single OSC stream from multiple MIDI sources
  • Handle live new connections and disconnections of MIDI sources

Example:

$ quatorzeheures 192.168.1.42:1214
2016-08-12 02:47:44,653 stream OSC to udp://192.168.1.42:1214
2016-08-12 02:47:44,662 connect Akai MPD18 MIDI 1 on port hw:2
2016-08-12 02:47:49,223 Akai MPD18 MIDI 1 [176, 7, 37] --> '/midi/Akai_MPD18_MIDI_1\x00,iii\x00\x00\x00\x00\x00\xb0\x00\x00\x00\x07\x00\x00\x00%'
2016-08-12 02:47:49,223 Akai MPD18 MIDI 1 [144, 10, 32] --> '/midi/Akai_MPD18_MIDI_1\x00,iii\x00\x00\x00\x00\x00\x90\x00\x00\x00\n\x00\x00\x00 '

Use with puredata

Download patch.

image

Installation

Debian jessie package

Debian packaging is done in the debian/unstable branch and available in my jessie-backports repository (for i386, amd64 and armhf architectures):

wget -q -O - https://apt.philpep.org/951808A4.asc | sudo apt-key add -
echo "deb http://apt.philpep.org jessie-backports main" | sudo tee /etc/apt/sources.list.d/philpep.list
sudo apt-get update

sudo apt-get install quatorzeheures

The package come with a systemd service quatorzeheures enabled, target host can be customized in /etc/default/quatorzeheures.

pip

pip install quatorzeheures

About

A MIDI to OSC gateway

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages