2.3 KiB
EZdrummer to GM
A Linux VST3 MIDI effect that maps the standard EZdrummer 3 drum layout to General MIDI percussion. It produces no audio: place it before a GM drum instrument in a host that supports MIDI output from VST3 effects. Set the instrument to a GM drum kit (typically MIDI channel 10); the plugin preserves the incoming channel rather than forcing it.
The mapping is for EZdrummer 3's standard layout, not every EZX or customized mapping. Note numbers are MIDI numbers 0-127; octave labels vary between DAWs. For example, 21 (hi-hat pedal) becomes 44, 25 (open hi-hat) becomes 46, 61 (closed hi-hat) becomes 42, and 86 (crash) becomes 49. The mapping is fixed and is not configurable.
GM has fewer articulations than EZdrummer: similar snare, tom, hi-hat and cymbal articulations are merged. Cymbal mute/choke notes are dropped because GM has no equivalent; they will not choke a ringing cymbal. CC-controlled hi-hat trigger notes are approximated as closed hi-hat regardless of CC4. Unassigned source notes 0, 4 and 5 pass through unchanged and may not sound on a GM kit. Note velocity, channel and timing are preserved. Other events are passed through when made available by the host; VST3 hosts differ in their handling of MIDI controllers and MIDI output.
Source layout reference: EZdrummer 3 note assignments. The chosen GM approximations are not an official Toontrack mapping.
Build and install
Requires Linux, a C++17 compiler, CMake 3.22+, Git, and the development packages for ALSA, FreeType, X11, Xext, Xinerama, Xrandr and Xcursor. Fontconfig and OpenGL development packages are also required. The first configure downloads the pinned JUCE dependency from GitHub. JUCE is available under GPL and commercial terms; check its licensing requirements before distributing a build.
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel 2
ctest --test-dir build --output-on-failure
mkdir -p ~/.vst3
cp -r "build/ToontrackMapper_artefacts/Release/VST3/EZdrummer to GM.vst3" ~/.vst3/
Rescan plugins in your DAW. Route EZdrummer MIDI (for example, MIDI dragged from EZdrummer onto a track) through the effect and then to a GM drum plugin. Some hosts do not route VST3 MIDI effects or VST3 MIDI output; in those hosts the plugin cannot perform the conversion.