Compdigitec Labs

« | Home | »

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.

Virtual Keyboard

Virtual Keyboard

Virtual MIDI Piano Keyboard

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:

JACK audio connecitons

JACK audio connecitons

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 | 14 Comments »

14 Responses to “Virtual MIDI Keyboard in Ubuntu”

  1. Motin Says:
    October 25th, 2009 at 19:10

    Ubuntu package of latest VMPK is now available in the following ppa:

  2. someone Says:
    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

  3. Se6 Says:
    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.


  4. hot tiktok ladies Says:
    February 7th, 2022 at 06:23

    … [Trackback]

    […] There you can find 39838 more Info to that Topic: […]

  5. swiss exact popular the latest santos dumont watch from tw factory kardu santos Says:
    March 13th, 2022 at 14:00

    … [Trackback]

    […] Read More on to that Topic: […]

  6. buy dumps Says:
    March 15th, 2022 at 04:37

    … [Trackback]

    […] Find More Information here to that Topic: […]

  7. best uniccv 2022 Says:
    April 29th, 2022 at 19:36

    … [Trackback]

    […] Read More to that Topic: […]

  8. Says:
    May 6th, 2022 at 19:15

    … [Trackback]

    […] Here you will find 50814 more Info to that Topic: […]

  9. Chillwell Portable AC Says:
    June 18th, 2022 at 21:09

    … [Trackback]

    […] Here you will find 79736 more Information on that Topic: […]

  10. nova88 Says:
    June 26th, 2022 at 18:29

    … [Trackback]

    […] Info to that Topic: […]

  11. sell Says:
    July 15th, 2022 at 04:27

    … [Trackback]

    […] Information to that Topic: […]

  12. Watch Bhool Bhulaiyaa 2 Says:
    July 31st, 2022 at 15:39

    … [Trackback]

    […] Read More to that Topic: […]

  13. flores indonesia Says:
    September 8th, 2022 at 12:50

    … [Trackback]

    […] Information on that Topic: […]

  14. บาคาร่า ขั้นต่ำ 5 บาท Says:
    September 24th, 2022 at 04:44

    … [Trackback]

    […] Info on that Topic: […]