How to Use Virtual Drumline with Musescore
This tutorial will show you how to use the Virtual Drumline sound library along side Musescore. This tutorial will will include the installation of all necessary software, usage of the library with examples, and the limitations / known issues.
I have only been able to get this working on Windows 10 64-bit. The only other OS I've tried is Ubuntu 16.04, and after much trial and error, I did not get the software working. This tutorial will cover installation and use on Windows 10 64-bit, with VDL 2.5.5, and Kontakt Player 5.
Virtual Drumline is a VST (Virtual Studio Technology) sound library, that uses Kontakt Player to play the samples. There are two methods of connecting Musescore to Kontakt Player: JACK, and MIDI. This tutorial will outline the process, and limitations, of both methods.
Connecting via JACK (recommended)
Connecting with JACK is suitable for users who will be using more than one 'drumset' or unpitched percussion instrument in their score.
Connecting with JACK will not allow you to use any Mod Wheel functionality without a work around
Required Downloads
- Musescore 2.x --- https://musescore.org/en/download
- JACK Audio Connection Kit --- http://www.jackaudio.org/downloads/
- Carla --- http://kxstudio.linuxaudio.org/Downloads
- Notepad++ --- https://notepad-plus-plus.org/download/v7.5.6.html
- VDL_Instruments.xml --- VDL_Instruments_1.1.0.xml
- Virtual Drumline --- https://www.tapspace.com/software/virtual-drumline-2.5-direct-download
Installation and Setup
I'm going to assume that you have already downloaded and installed both Virtual Drumline and Musescore.
Setup JACK
- Download and install the JACK Audio Connection Kit
- Navigate to the folder where JACK was installed (most likely C:\Program Files (x86)\Jack)
- Drag the Program Jack Control onto the desktop, or make a shortcut
- Now go back to the folder where JACK is installed, and find the "64 Bits" folder C:\Program Files (x86)\Jack\64 Bits
- Open an administrator command prompt from file explorer:
- Then enter the following regsvr32 JackRouter.dll
- Exit the command prompt and file explorer, open Jack Control, and click on settings
- Under the parameters tab, make sure the sample rate matches that of your sound card
- Under the advanced tab, change the Server Prefix to jackd -R -S -X winmme this allows JACK to communicate with Musescore
Setup Musescore
- Next download the VDL_Instruments_1.1.0.xml file, and copy the file path of wherever you decide to put it.
- Open Musescore, and go to Edit > Preferences > Score. Then under "Instruments List 2" paste the file
path of the xml file. - Then go to Edit > Preferences > I/O then select the box for JACK Audio Server
Setup Carla
- Download and install Carla
- Open Carla and click Configure Carla
- Under the Engine tab, make sure the Audio Driver is set to JACK and the Process Mode is set to Multiple Clients
- Under the Paths tab, click on the drop-down menu and select "VST", then click "+ Add.." and navigate to wherever you installed Virtual Drumline (Most likely C:\Program Files\Native Instruments\VSTPlugins 64 bit).
- Under the Paths tab, click on the drop-down menu and select "VST", then click "+ Add.." and navigate to wherever you installed Virtual Drumline (Most likely C:\Program Files\Native Instruments\VSTPlugins 64 bit).
Using JACK, Carla, and Musescore
- Close Carla and Musescore if they're open, in JACK, press the 'Start' button, this will open the JACK Audio server
- Next open Carla
- To add instruments, click "Add Plugin" on Carla's main page, then scroll down the list and find the plugins labeled "Kontakt 5", select the one with 8 Audio Outs
- Open Musescore, and open the score you want to use
You must always open JACK first, Carla second, then Musescore
Musescore and MIDI Assignments
- Musescore assigns instruments starting at Channel 1 - Port 1 with the first instrument
- Channel 10 in any port is reserved for a Unpitched Percussion / Drumset instrument
- There are 16 channels per port. So the 17th instrument in your score will be assigned to Channel 1 - Port 2
- If there are multiple Unpitched Percussion / Drumset Instruments, they will be assigned to Channel 10 - Port 1, Channel 10 - Port 2, etc. etc.
How to Add Plugins
On the Carla main page, you should see the new plugin added to the 'Rack' , click the cog icon in the top left corner of the plugin, this will open a Kontakt 5 window, here is where you would add any instruments in your score.
When you add instruments in the Kontakt 5 window, they show up on the right side of the window. In each instrument's box, you will see an option titled Midi Ch: [A] #
If you have added an Unpitched Percussion / Drumset Instrument, you will have to change this to [A] 10
If you have more than one Percussion Instrument, you will have to add another Kontakt Plugin for that instrument. I've named them for the sake of clarity.
Connect Plugins to Musescore
Click on the "Patchbay" tab in Carla, then connect any Plugins you have like so:
Note If you are using sounds from the Musescore Synthesizer (e.g. Brass / WW sounds), you must connect the blue Musescore "Left" and "Right" to your system's output. They should be connected by default.
Mod Wheel Work Around
If you wish to use the Mod Wheel functionality available to some instruments in VDL, you must use this method.
I'm going to demonstrate using a marimba, lets say I want to start the piece with normal strokes, then go to rolls for a few measures, then back to normal strokes.
First you will have to add an "Instrument Change" at each point you want to change the Mod Wheel, Like So:
The pull up Carla, and open the Kontakt plugin. Add 3 copies of the instrument you are changing the mod wheel on, and the middle one will have the mod wheel changed, like so:
If you want to do this with an unpitched percussion / drumset instrument, you will have to separate Kontakt Plugins for each change.
Connecting via MIDI Out
Required Downloads
- Musescore 2.x --- https://musescore.org/en/download
- Loop MIDI --- https://www.tobias-erichsen.de/software/loopmidi.html
*ASIO4ALL --- http://www.asio4all.org/ - Notepad++ --- https://notepad-plus-plus.org/download/v7.5.6.html
- VDL_Instruments.xml --- VDL_Instruments_1.1.0.xml
- Virtual Drumline --- https://www.tapspace.com/software/virtual-drumline-2.5-direct-download
Installation and Setup
I'm going to assume that you have already downloaded and installed both Virtual Drumline and Musescore.
Start By installing ASIO4ALL.
Setup Loop MIDI
- Download and install Loop MIDI
- Open Loop MIDI, and create two MIDI Ports by clicking the plus in the bottom left. Rename one "Musescore Out" and the other something like "Temp"
Setup Musescore
- Open Musescore and go to Edit > Preferences > I/O
- Under Port Audio, change the MIDI Input to "MMSystem, Temp" and change the MIDI Output to "MMSystem, Musescore Out"
- Change the "MIDI Output Latency" to 100ms
- Change the API to ASIO
- Next download the VDL_Instruments_1.1.0.xml file, and copy the file path of wherever you decide to put it.
- Open Musescore, and go to Edit > Preferences > Score. Then under "Instruments List 2" paste the file
path of the xml file.
Your settings should look like this:
Setup Kontakt 5
- Open up the Standalone Kontakt 5 Player
- Go to Options > Audio, and change the driver to ASIO
- Go to Options > MIDI and under Inputs, click on the "off" next to Musescore Out, and change it to "Port A"
Limitations
- Because there is only one MIDI Out in Musescore, you can only use 16 intruments per score
- Because you are outputting the midi signals to Kontakt, you will be limited to the VST Sounds you have available in Kontakt Player (i.e. not Musescore Soundfont)
Using the Mod Wheel
For any instrument that has MW in the name
How to change the Mod Wheel Value
- At the beginning of the score, insert a measure, then add staff text to any instrument that will be using mod wheel changes
- Right click on the staff text, and select Staff Text Properties
- Under the Midi Action tab, click on the action titled "10% (10)", (or another value if you wish for the instrument to start with a different value) and click okay.
Tips & Notes
- If you click somewhere else in the MIDI Action window, the selection will no longer be highlighted in blue, but instead, a very very faint grey.
- You must add this extra measure as a way to "zero out" the mod wheel, Musescore's MIDI Action works by changing the Mod Wheel, as your score is playing. So the mod wheel is only changed when it encounters a new staff text, so by zeroing out the Mod Wheel at the beginning of your score, you can ensure that playback of your score starts on the right setting.
- Any mod wheel change will take effect after the note which the Staff Text is attached to:
The highlighted note will have the new Mod Wheel value - See Musescore and MIDI Assignments
Example and Final Notes
*Here is a video of mine showcasing Virtual Drumline sounds and Musescore:
https://www.youtube.com/watch?v=lxdvga93qu8
When adding pitched percussion instruments, you only have to use instruments from the VDL Keyboards (MW) section if you are using MIDI and you plan to use the Mod Wheel, otherwise you use the normal Musescore instruments. Except for the Xylophone and Glockenspiel
Notepad++ is just a handy program to edit xml files, so if you have any desire to change something, you will be able to :) .
Please let me know if you have any questions!
Attachment | Size |
---|---|
VDL_Instruments_1.1.0.xml | 795.77 KB |