diff --git a/CHANGELOG.md b/CHANGELOG.md index 825eabbc..ec47b611 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ # Changelog -## 1.6.3 +## 1.7.0 + +**Important change** + +Prebuilt binaries are now supplied only for 64bit Linux/MacOs/Windows. Other platforms should use the `node` package. + +**MIDI support** + +As of this version, packages except the `node` package are bundled with a midi binary that will be used whenever midi's `path` option is not set. It is no longer necessary to install `python` and `python-rtmidi`. + +**Changelog** + - bug fixes - missing context menu (copy, paste) in inspector inputs @@ -15,6 +26,7 @@ - input: add `validation` property (allows defining a regular expression that the valud must match) - midi - accept sending sysex strings without spaces between the bytes + - load prebuilt midi binary on 64bit linux/windows/osx - misc - sessions converted from v0 will use the widget's html property to display the former label property diff --git a/resources/docs/docs/getting-started/introduction.md b/resources/docs/docs/getting-started/introduction.md index 8cf22a1a..314a3cec 100644 --- a/resources/docs/docs/getting-started/introduction.md +++ b/resources/docs/docs/getting-started/introduction.md @@ -28,11 +28,11 @@ iOS devices must be of version `10.3` or higher. ## Installation -??? example "Linux" +??? example "Linux 64bit" **Ubuntu / Debian** - - [Download](/download) `open-stage-control-VERSION-ARCH.deb` + - [Download](/download) `open-stage-control-VERSION-amd64.deb` - Install it by running this as root in a terminal: ```bash dpkg -i path/to/open-stage-control-VERSION-ARCH.deb @@ -40,18 +40,25 @@ iOS devices must be of version `10.3` or higher. **Other linux distributions** - - [Download](/download) `open-stage-control-VERSION-linux-ARCH.zip` + - [Download](/download) `open-stage-control-VERSION-linux-x64.zip` - Extract it in the location of your choice - The file inside it named `open-stage-control` is the app's main executable -??? example "Mac" +??? example "Mac 64bit" - [Download](/download) `open-stage-control-VERSION-osx.zip` - Extract it in the location of your choice - Drag `open-stage-control.app` in your `Application` folder -??? example "Windows" +??? example "Windows 64bit" - - [Download](/download) `open-stage-control-VERSION-win32-ARCH.zip` + - [Download](/download) `open-stage-control-VERSION-win32-x64.zip` - Extract it in the location of your choice - The file inside it named `open-stage-control.exe` is the app's main executable + +??? example "Other systems" + + - Install [Node.js](https://nodejs.org/en/download/package-manager/) + - Download `open-stage-control-VERSION-node.zip` + - Extract it in the location of your choice + - In a terminal, run `node /path/to/open-stage-control-VERSION-node --help` diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index e03558d6..a1eee906 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -1,46 +1,55 @@ ## Installation -Enabling MIDI support in Open Stage Control requires additional softwares to be installed on the server's system: -- [python 3](https://www.python.org/downloads/) -- python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html#from-pypi) +=== "Linux / Windows / OSX" -??? example "Linux" + Since version `1.7.0`, Open Stage Control comes bundled with built-in MIDI support if you're using the 64bit package for Linux, OSX or Windows. - - Install `python3` and `python3-pip` from your distribution's package repository - - Install `python-rtmidi` from a terminal by executing this command - ```bash - python3 -m pip install python-rtmidi --upgrade - ``` -??? example "Mac" +=== "Other systems" - - Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/) - - Open a terminal - - Install `pip` (package installer for python) by executing these commands - ``` - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py - python get-pip.py - ``` - - Install `python-rtmidi` by executing this command - ```bash - python -m pip install python-rtmidi --upgrade - ``` + Enabling MIDI support on other systems or when building Open Stage Control from sources requires additional softwares to be installed on the server's system: -??? example "Windows" + - [python 3](https://www.python.org/downloads/) + - python package [python-rtmidi](https://spotlightkid.github.io/python-rtmidi/installation.html#from-pypi) - - Download and install [Python 3 for Windows](https://www.python.org/downloads/windows/) - - **make sure to check the option** "Add Python 3.x to PATH" - - Open a terminal (++win+r++) - - Install `pip` (package installer for python) by executing these commands - ``` - curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py - python get-pip.py - ``` - - Install `python-rtmidi` by executing this command - ```bash - python -m pip install python-rtmidi --upgrade - ``` + + ??? example "Linux" + + - Install `python3` and `python3-pip` from your distribution's package repository + - Install `python-rtmidi` from a terminal by executing this command + ```bash + python3 -m pip install python-rtmidi --upgrade + ``` + + ??? example "Mac" + + - Download and install [Python 3 for Mac OS](https://www.python.org/downloads/mac-osx/) + - Open a terminal + - Install `pip` (package installer for python) by executing these commands + ``` + curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py + python get-pip.py + ``` + - Install `python-rtmidi` by executing this command + ```bash + python -m pip install python-rtmidi --upgrade + ``` + + ??? example "Windows" + + - Download and install [Python 3 for Windows](https://www.python.org/downloads/windows/) + - **make sure to check the option** "Add Python 3.x to PATH" + - Open a terminal (++win+r++) + - Install `pip` (package installer for python) by executing these commands + ``` + curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py + python get-pip.py + ``` + - Install `python-rtmidi` by executing this command + ```bash + python -m pip install python-rtmidi --upgrade + ``` ## Configuration @@ -73,17 +82,17 @@ Enable parsing of midi time code messages (disabled by default). These will be r Send program changes with a `-1` offset to match some software/hardware implementations -**`path=/path/to/python`** - -Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`). - - **`device_name:virtual`** (*Linux / Mac only*): creates a virtual midi device with one input port and one output port **`jack`** (*Linux only*): use JACK MIDI instead of ALSA. `python-rtmidi` must be compiled with [jack support](https://spotlightkid.github.io/python-rtmidi/installation.html#linux) for this to work. +**`path=/path/to/python`** + +Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`). *Only use this if you know what you are doing.* + + ## Widget setup In order to send MIDI messages, a widget must have at least one `target` formatted as follows: