Coder Social home page Coder Social logo

romsom / midiutil Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 70 KB

A framework based on mididings for SysEx/CC control of hardware synths using generic MIDI hardware controllers.

License: GNU Affero General Public License v3.0

Python 100.00%
midi synthesizers mididings sysex

midiutil's Introduction

Utils for MIDI Devices

A framework based on mididings for control of hardware synths using generic MIDI hardware controllers.

Usage

There are three pieces of data/code for each mapping:

  • Control surface messages are mapped to identifiers
  • Synth/Sampler/Device parameter changes are also mapped to identifiers
  • By mapping identifiers of control surface elements to identifiers of parameter changes, those elements can now be used to control the respective parameter of the device

All these pieces are python scripts. The latter is the script to be executed to control the synth via the control surface. At the moment those scripts have the naming scheme <control surface model>_<synth model>_map.py (_ and - are both used atm). The former two are provided in files which have the naming scheme <manufacturer>_<model>.py.

When you want to run a mapping script you can change the regular expressions at the beginning of the script to match the Jack MIDI ports to which you have your controller, keyboard and synth connected to have them automatically connected to the script on startup. My setup uses these ports for the midimix-tx7-map e.g.,:

synth_port_pattern = r'(a2j:USB MIDI Interface.*MIDI 1)|(a2j:Ploytec GM5.*: \[0\].*)'
keys_port_pattern = r'(a2j:Axiom.*MIDI 1)|(a2j:RtMidi.*ebus_bridge)|(a2j:MIDIboxKB.*MIDI 1)'
control_port_pattern = r'a2j:MIDI Mix.*MIDI 1'

Or you can run the script as-is and manually connect the ports each time you execute the script.

In the future I plan to have a user-wide config file, which assigns ports to devices, so they don’t have to be hard coded into the scripts.

Supported Devices

CategoryDeviceStatus
SynthYamaha DX7/TX7Control of all parameters via SysEx, PatchDump working
SynthYamaha TX81z/YS200Control of all parameters via SysEx
SynthRoland Alpha Juno 1/2Control of all parameters via SysEx
Sampler/SynthYamaha A3000Control of front panel encoders via SysEx
Control SurfaceAkai MidimixCCs for all faders and buttons mapped
Control SurfaceArturia Beatstep ProCCs for encoders in Mackie mode mapped

Device Mapping Matrix

The following table shows between which devices a mapping is implemented.

Yamaha DX7/TX7Yamaha TX81z/YS200Roland Alpha JunoYamaha A3000
Akai MidimixXXX
Arturia Beatstep Pro(Front panel encoders only)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.