There is a beta version available for download under Branches\midiversion to use Mercury in combination with the MIDI.
Using MIDI, you are able to control (bind) every parameter of your Mercury particle engine to a MIDI Note or MIDI Control Change (CC).
This page describes the steps to get you up and running.
- Download the latest version from subversion.
- Build the Branches\midiversion particle engine.
- Before starting, attach a midi device to your computer and power it on.
- Start Mercury using the freshly compiled Effecteditor user interface.
If everything went ok, you should have an midi configuration panel as shown in:
Select the MIDI input event
- Press the add button to add a MIDI binding to the list.
- Press the edit source button to configure the MIDI input event.
- If your midi drivers were installed properly, you should see your input devices listed in the top left corner. You can troubleshoot your midi driver installation using MIDIOX http://www.midiox.com if you cannot see any devices.
- by rotating a knob or pressing a note, the corresponding midi event is shown in the list.
- Select an event from the list and press the ok button to select the midi event as source input event.
Select a mercury parameter.
- Press the edit target button to select a mercury target parameter.
- Go to Tab 2. A tree of selectable parameters is shown in a tree-view.
- Select a parameter from the tree view. Make sure you select a numeric parameter. Valid options are integers, floats, ... and also boolean values.
Configure the conversion between the MIDI signal and the Mercury parameter.
You now see in the list that a MDI CC 16 (value) is mapped to the TriggerOffset.X parameter.
- MIDI values are values between 0 and 127
- TriggerOffset.X can range between i.e. -100 and 100.
- To map these ranges, change the range values via the edit conversion configuration panel.
Checking the result.
- Click with your mouse in the middle of the black canvas.
- Rotate the midi knob. You will now see the particle emitter move.
- Save your patch: Exporting the particle effect will also save the midi mapping.
- Note On has 2 mappable parameters!
- Note pressed is a boolean value, converted to a numeric value. Off is 0 en On is 1.
- Velocity is a parameter between 0 and 127. (the harder you hit a note, the higher the velocity)