Skip to content

grebett/mc8-midi-settings

Repository files navigation

MIDI-Controller MC-8 CLI Updater

⚠️ Warning! This work is not brought to you nor endorse in any way by nakedboards. The following code is provided as is and I decline all responsibility concerning usage of any kind. If you prefer to use the officials tools, you could find them here: https://www.nakedboards.org/mc8.html

Thank you for your understanding! 🙇‍♂️

nakedboards MC-8, © https://www.nakedboards.org

About this project

The official tool for configurating the nakedboards MC-8 is cool, but somehow limited: you need to be online to set up your faders (or at least download the webpage and serve it locally) and there is no notion of some kind of CCs bank.

To solve this problem, first of all for my own usage, I coded a very simple Node.js client, whose code you'll find in the present repository.

Installation

You would of course need some Node.js. Mine was v14.15.4 when I wrote these lines, and I haven't tested the application with older versions.

First clone the repository, then use for favorite package manager to install the dependencies:

$ npm install

or

$ yarn install

Then populate the banks.json file with as many banks as you wish.

They must follow this format:

[
    [1, 11],
    [1, 1],
    [2, 11],
    [2, 1],
    [3, 11],
    [3, 1],
    [4, 11],
    [4, 1]
]

...where the first number of the first row is the MIDI channel and the MIDI CC number for the first fader, and so on...

Usage

The CLI offers the following command:

    -h				Prints this help
    -l	--list			List all banks
    -n	--next			Upload next bank
    -p	--prev			Upload previous bank
    --bank=[number]		Load a specific bank

So for instance :

$ node MC8-MIDI-settings --next

... would iterate through the banks in forward.

The settings are immediately uploaded to your nakedboard after a successful command otherwise some error message is displayed in the console.

And that's it!

Feel free to contact me if you have any question regarding this tool!

Licence

Copyright © 2021 grebett

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Some Node.js CLI to update your nakedboard's MC-8 MIDI settings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published