« Mini-PulseAudio sound checklist | Home | New e-mail phishing alert – “It’s Easy, Secure and Free!” in big bold letters »
Virtual MIDI Keyboard in Ubuntu
By admin | October 4, 2009
On Windows, you could find many freeware virtual piano software. But on Linux, you have no such easy setup or such choice. There are two major pieces virtual piano software – they are Virtual Keyboard and Virtual MIDI Piano Keyboard.
You should be sure you have your sound card proper set before you start this – i.e. make sure you can play a file in Totem or something.
To install Virtual Keyboard:
sudo apt-get install vkeybd
To install Virtual MIDI Piano Keyboard (download vmpk.deb to /tmp first):
sudo dpkg --install /tmp/vmpk.deb
After you have chosen one (or both) of the above, install the remaining dependencies:
sudo apt-get install qjackctl zynaddsubfx
After you have installed everything, run the following and restart your computer:
sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf' sudo su -c 'echo @audio - memlock 250000 >> /etc/security/limits.conf' sudo su -c 'echo @audio - nice -10 >> /etc/security/limits.conf'
After restarting, open the JACK control center (Applications >> Sound & Video >> JACK Control), and start the JACK server. Once it is started, click the Connect button at the lower left corner. Start ZynAddSubFx and Virtual Keyboard/Virtual MIDI Piano Keyboard and go back to the JACK control center, select Connect, then the ALSA tab. Connect the Virtual Keyboard/VMPK on the left to your sound card and the ZynAddSubFx. Connect your sound card on the left to the right. The result should look something like this:
After that is complete, go back to Virtual Keyboard/Virtual MIDI Piano Keyboard and click on a few piano keys. Enjoy!
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: Linux | 8 Comments »
October 25th, 2009 at 19:10
Ubuntu package of latest VMPK is now available in the following ppa: https://launchpad.net/~motin/+archive/ppa
January 15th, 2010 at 18:00
hi i cant set up jack control
i have ubuntu 9.10 and i installed the audio package of ubuntu studio.
can you help me?
no email please
January 18th, 2010 at 05:24
To make it work under 9.10, in the setup of Jack control, unselect the Realtime option (unless you installed a realtime kernel). Also add yourself to the group audio if not already done.
Se6.
November 16th, 2024 at 03:59
… [Trackback]
[…] Here you can find 89551 more Information on that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
November 26th, 2024 at 02:21
… [Trackback]
[…] Find More Information here to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
December 3rd, 2024 at 23:31
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
December 18th, 2024 at 23:10
… [Trackback]
[…] Find More here to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
December 19th, 2024 at 19:37
… [Trackback]
[…] Information on that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]