Skip to main content

A Midi to OSC gateway

Project description

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>.

Handle live 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 '

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quatorzeheures-0.1.1.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

quatorzeheures-0.1.1-py2.py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page