Skip to main content
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.

/examples/pd.png?raw=true

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

Metadata

Release files for quatorzeheures 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quatorzeheures 0.1.2
File Size Uploaded
quatorzeheures-0.1.2.tar.gz 18.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quatorzeheures 0.1.2
File Interpreter ABI Platform
quatorzeheures-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 26.3 kB

Release files / quatorzeheures-0.1.2.tar.gz

Download URL quatorzeheures-0.1.2.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5b16ccd6d23e6c997a78f8563cc74bbfe90cf4f203dfbab2f41cabf6e0dbcaae
BLAKE2b-256 checksum
How to use checksums
68f4f1637d8ad4eff7f0aee7032c4e5c366410aa1059b288d47b1fd0a759532e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / quatorzeheures-0.1.2-py2.py3-none-any.whl

Download URL quatorzeheures-0.1.2-py2.py3-none-any.whl
Size 7.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
84db1eaf1c84eef6103f763c087fbf61106ed40ea6fd6861a4172c5c31efa5fd
BLAKE2b-256 checksum
How to use checksums
c896e4fbe2414f057e2f2c0b5f04394d9ae690a631208d0f5263d98062d00a33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page