« 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 | 20 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.
February 7th, 2022 at 06:23
… [Trackback]
[…] There you can find 39838 more Info to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
March 13th, 2022 at 14:00
… [Trackback]
[…] Read More on to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
March 15th, 2022 at 04:37
… [Trackback]
[…] Find More Information here to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
April 29th, 2022 at 19:36
… [Trackback]
[…] Read More to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
May 6th, 2022 at 19:15
… [Trackback]
[…] Here you will find 50814 more Info to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
June 18th, 2022 at 21:09
… [Trackback]
[…] Here you will find 79736 more Information on that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
June 26th, 2022 at 18:29
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
July 15th, 2022 at 04:27
… [Trackback]
[…] Information to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
July 31st, 2022 at 15:39
… [Trackback]
[…] Read More to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
September 8th, 2022 at 12:50
… [Trackback]
[…] Information on that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
September 24th, 2022 at 04:44
… [Trackback]
[…] Info on that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
October 2nd, 2022 at 13:52
… [Trackback]
[…] Find More Information here to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
October 7th, 2022 at 11:35
… [Trackback]
[…] Here you will find 85732 more Info on that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
December 13th, 2022 at 22:46
… [Trackback]
[…] Information on that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
December 22nd, 2022 at 05:37
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
January 30th, 2023 at 05:36
… [Trackback]
[…] Find More here on that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]
February 3rd, 2023 at 18:52
… [Trackback]
[…] Read More Information here to that Topic: compdigitec.com/labs/2009/10/04/virtual-midi-keyboard-in-ubuntu/ […]