From 67f5be4a05ef13a3df8662479cd128766ca1eff2 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 4 Apr 2019 16:33:40 +0200 Subject: [PATCH] docs: midi update --- CHANGELOG.md | 13 +++++++++++++ resources/docs/docs/midi.md | 7 +++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ad461b5..12fb2766 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ ## 0.44.0 +:warning: **breaking change (midi)** :warning: + +The python dependency for MIDI support has changed, it works the same way but provides more ready-to-run binaries and should be easier to install for windows users. + +``` +pip uninstall rtmidi +pip install python-rtmidi +``` + +Sysex messages are now discarded by default, they can be enabled by adding `sysex` to the midi options. + +---- + - bug fixes - ios: clone widget not displaying properly - keys: error when leaving the window with the cursor while holding a key-combbo pressed diff --git a/resources/docs/docs/midi.md b/resources/docs/docs/midi.md index 422ba7a6..24e43737 100644 --- a/resources/docs/docs/midi.md +++ b/resources/docs/docs/midi.md @@ -2,8 +2,10 @@ MIDI support requires additional software to be installed on the server's system: -- python (2 / 3) -- python package [rtmidi](https://pypi.python.org/pypi/rtmidi) (version 2.3.2) +- python (2 or 3) +- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html) (version 1.2.1) + +To install `python-rtmidi`, run `pip install python-rtmidi` in a terminal. !!! note "Why an additionnal dependency ?" Providing cross-platform MIDI support is not trivial, as it requires OS-specific compilation that cannot be automated within Open Stage Control's current packaging workflow. Using a python addon seems to be the best compromise so far : the core app remains easy to build, and the extra dependency is easy to install. @@ -14,6 +16,7 @@ When running the app, the `-m / --midi` switch must be set; it accepts the follo - `list`: prints the available MIDI ports to the console; numbers in the first column may be used for `input`/`output` definition below - `device_name:input,output`: connect to midi ports `input` and `output`; osc messages sent to target `midi:device_name` will be processed as midi events; Multiple devices can be declared +- `sysex`: parse incomming system exclusive messages (disabled by default) *Linux only:*