Giter Site home page Giter Site logo

trigger2midi's Introduction

Trigger2MIDI

Convert electronic drum trigger signals to MIDI events.

Compile and Install

$ mkdir build && cd build
$ cmake .. -D CMAKE_BUILD_TYPE=Release
$ cmake --build .

To install, copy the bundle trigger2midi.lv2 manually to the standard locations or run

$ sudo cmake --install .

to install it in $PREFIX/lib/lv2/. You could change the $PREFIX by running

$ cmake -D CMAKE_INSTALL_PREFIX=/your/path ..

Usage

You need a piezo contact microphon on a drum head, a DI-box and a sound card with analog amplified inputs. On the software side you need a LV2-plug-in host.

Connect the piezo to the DI-box and connect the DI-box to the input. Adjust the gain of the input so the signal does not clip. Run the Trigger2MIDI Plug-in, for example with the jalv host:

$ jalv https://github.com/jkbd/trigger2midi
> dyn = 42
dyn = 42.000000
> mask = 17
mask = 17.000000

Connect ports in JACK if needed.

First adjust the "Dynamic Range" parameter (in decibel), so other noises do not trigger events. Then adjust the "Mask Retrigger" parameter, so single hits do not trigger multiple Note On events. Rubber pads are likely to need a small value. Undampened mesh heads may need a large value. Last set the MIDI note number to your requirements.

Notes

  • The control voltage output is meant for debugging

  • Right now the plug-in only sends MIDI Note On events, not Note Off.

trigger2midi's People

Stargazers

 avatar

Watchers

 avatar  avatar

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.