Image 01


Pedro Lopez-Cabanillas
Music Production
Audio Apps
Qt Widgets

Music Production 3 comments

by plcl
Rating: 5.8
Sep 27 2016
I hate this site. No external download links. No way to add a link to the downloads site, or to other relevant places. My account here doesn't allow to post to the forums. - Sep 27 2016
As you can see in the error message text, this happens when the build system tries to execute an utility named 'xsltproc'. This program creates the man pages in the doc/ directory.

The problem is that your xsltproc requires a libgcrypt library which is not installed in your system. You can try installing the correct library version required by xsltproc, or upgrade xsltproc to match the library version installed by your distribution. There is a third option: remove xsltproc from your system and the man pages won't be created anymore, nor installed (run cmake again, ignore the warning message). - Aug 21 2015
Virtual MIDI Piano Keyboard

Music Production 17 comments

by plcl
Rating: 6.3
Apr 03 2018
This is a blog post explaing this question among others about VMPK:
- Aug 21 2015
Good question, but wrong place to ask it. VMPK development is done at, where you may find a web forum and a mailing list. You are welcome to participate and talk there about VMPK development, design, bugs and features.

Thanks for your interest. - Sep 10 2014
You are using a qmake utility version that is not supported. You probably have qmake from qt3 instead of qt4, or some conflict among different Qt versions.

The official way to build and install VMPK on Linux is using the CMake based build system.
- Oct 05 2010

I don't have a win7/64 to test, but the program builds and runs just fine in 64bit Linux and MacOSX machines.

A suggestion: download a fresh source tarball from SourceForge, and build a new fresh tree. Are you using qmake or cmake build systems?

If you need more help, please use the forums at SourceForge, thanks. - Aug 25 2010

Yes, if you are using Qt 4.6 in Mac OSX, please add to both and the following line:

LIBS += -framework Carbon

- Jan 05 2010
I don't know anything about checkinstall. Sorry.

If you want to create a RPM package for Mandriva, please take a look to the .spec file from Cooker:

To create the RPM package, use rpmbuild.
- Dec 20 2009
The failure happened trying to generate the manpage from the xml docbook document.

The build system has detected that the program xsltproc is installed, but either the stylesheets for docbook or the XSLT catalogs are missing.

There are two possible solutions:
a) Uninstall xsltproc and restart from the beginning
b) Install the docbook stylesheets, and run make again, it will finish the started process.

I don't know the exact name of the packages for Mandriva, sorry.
- Dec 19 2009
Drumstick Metronome

Music Production 6 comments

by plcl
Rating: 6.3
Oct 12 2014
try this Bash script:

$ cat
kmetronome &
sleep 1s
SERVICE="net.sourceforge.kmetronome-$(pidof kmetronome)"
qdbus $SERVICE / play
- Aug 11 2012
Your request has been implemented, and included in the release 0.9.1

- Dec 12 2009

Music Production 54 comments

by plcl
Rating: 5.8
Aug 15 2010
The jumpy syllable issue is just a bug. Will be fixed ASAP.
- Oct 29 2010
I've added KMid to my build service project, here:

It has compiled successfully in all opensuse 11.3 variants, 32 and 64 bits, with KDE 4.4 and KDE 4.5, and with KDE:Release:45 and KDE:Distro:Factory repositories.

Maybe some of the resulting RPM packages is useful for you. - Oct 28 2010
I've successfully compiled KMid 2.4.0 in open suse 11.3, so there may be a problem in your machine. I don't provide binary packages anymore, but you should request it to your distro. Maybe they don't provide it because they believe that it is not important for any user. If they don't want to listen, you can change your distribution; KMid is currently available in Mandriva and Fedora official repositories, among others.
- Oct 27 2010
The next version shall include specific error messages in the soft-synth settings dialog page. - Sep 11 2010
The next KMid release (2.4.0) scheduled for mid-August will contain a KPart allowing the player to be embedded in other applications.

Comments and feedback are welcome, in this report:

Details about this feature, in my blog: - Jul 26 2010

Thanks to you for Frescobaldi!

I've thought about creating a Kpart, allowing to embed a minimal kmid-based player in other applications. I don't know when it's going to be done, though. Can you please open an enhancement request at the KDE tracker?

- Jun 07 2010
It may be possible to launch LS from KMid, as a third soft-synth option? yes, it is, with some work. But is it worth? That is the important question for me.

The configuration page providing TiMidity and FluidSynth options is only to make easier the program usage for users not knowing too much about MIDI and ALSA sequencer in Linux. I've included both programs, because for some distros it is easier to get one program installed and running than the other one. Free soundfonts can also be distributed by some distros, like FluidR3, GeneralUser or FreePats, making it even easier to integrate everything as a whole, with little trouble for the final users. That is the job of the Linux distros.

Anybody being already a LinuxSampler user will be able to use KMid2 with Qsampler with little or no trouble at all.

One of the problems with LinuxSampler is that it may be much more difficult to integrate, and there is not a freely available GIG library providing the required 128 General MIDI instruments. You can buy such a library, and then you need to integrate the samples with LinuxSampler, which is not a trivial task. As far as I know, there is not a single Linux distro providing this service. On the other hand, you can say that commercial and expensive GIG libraries provide much more quality than free (gratis) sound fonts collections like the ones from, and you may be right. But you could also buy commercial soundfonts in SF2 format for FluidSynth providing high quality sounds.
- Feb 11 2010
World domination! :-) - Feb 10 2010
It is already supported, like any other soft-synth that works with the ALSA sequencer. You can also use external MIDI synthesizers, and sound cards with hardware MIDI synths. The only condition is ALSA sequencer MIDI support.

You just start LinuxSampler, or Qsampler, load your favorite GIGs, and setup the channel(s) with ALSA MIDI input, and your prefered audio output. Then start KMid2, and open the config dialog. In the MIDI page, select one LinuxSampler output port from the list, and press OK. You can now play songs thru LinuxSampler. - Feb 10 2010
Hi Valerio,

Thanks for your message. The original author of KMid is Antonio Larrosa. I'm the current maintainer.

The feature you are requesting is already implemented. Please locate a docking panel named "Volume and Pitch" that may be placed at the left or the right side of the main window. If you have closed it, then go to the menu View->Volume and Pitch to open it. The slider control labeled as "pitch" allows to transpose the notes between -12 and +12 semitones. - Feb 10 2010
At this moment, ALSA is the only supported backend.

There are three additional backends planned. Two native backends for Windows and Mac OSX. And a third one based on libFluidSynth, that will be enabled in all platforms where FluidSynth can run.
- Feb 09 2010
That is correct. KMid2 requires the ALSA sequencer for MIDI functionality. KMid2 doesn't use Phonon.

The old version of KMid (for KDE3) was compatible with OSSv3, using the OSS MIDI sequencer (/dev/sequencer) device. The new OSSv4 version has dropped the MIDI sequencer, though. I'm sorry.
- Feb 09 2010
KMid belongs to Extragear, so it is not going to be bundled in KDE SC. Also, it does not depend on the latest KDE libraries. You can compile and use KMid2 with any KDE version >= 4.2

Thanks for packaging KMid2 for Mandriva!
- Feb 09 2010

Thanks for your comments. KMid2 is very new, and I'm sure that many features will be added in the future, with the help of the community.

I need more details about the problem of text encodings: file(s) that you are playing, are the files available on Internet? Can you please contact me privately?

I know that some mac-osx encodings are detected, but unavailable in Qt4 yet.
- Feb 09 2010
KMid belongs to Extragear, so it is not bundled in KDE SC. Also, it does not depend on the latest KDE libraries. You can compile and use KMid2 with any KDE version >= 4.2

This KMid2 incarnation is very young, so very few distros include the program in the official repositories. You can help asking to your distro packagers to distribute the program.
- Feb 08 2010
Thanks, I've updated the wiki page. - Jan 28 2010

Does the new version solve the former crash at app exit?
- Dec 30 2009

I will add it to the web page.

- Dec 25 2009
Thanks for your screenshot. I suspect that the problem may be related to TiMidity, so perhaps you could try FluidSynth/QSynth, and maybe you can test the synth with other programs, for instance "aplaymidi", that is included in alsa-utils.

The synthesizer should be started before kmid2 or any other player.
- Dec 25 2009
The configuration looks OK, but you should confirm the contents of the $KDEDIRS environment variable, with:

$ echo $KDEDIRS

If it is not set (empty), you can do this:

$ export KDEDIRS=`kde4-config --prefix`

and run cmake again. Finally, run make & make install. After installing, run kmid2 from the terminal, and look for more error messages.

- Dec 14 2009
The configuration looks OK, but you should confirm the contents of the $KDEDIRS environment variable, with:

$ echo $KDEDIRS

If it is not set (empty), you can do this:

$ export KDEDIRS=`kde4-config --prefix`

and run cmake again. Finally, run make & make install. After installing, run kmid2 from the terminal, and look for more error messages.

- Dec 14 2009
This error message means that KMid2's ALSA backend ( was not found at runtime, or does not work. Probably it was not built because the ALSA library development files weren't installed before compiling. In Debian, the required package is libasound2-dev.
- Dec 14 2009
Thanks to you, too.
Link added to the wiki page.
- Dec 03 2009
Virtual Piano Keyboard

Qt Widgets 5 comments

by plcl
Rating: 6.3
Sep 25 2010

If you are trying to compile the widget sources in Mac OSX with Qt 4.6, please add the following lines to both and


macx {
LIBS += -framework Carbon

This is not needed with Qt 4.5 or older.
- Jan 05 2010

Thanks, I'm glad you like it!

I'm using openSUSE here. The link command generated by qmake/make in my system looks like this:

g++ -Wl,-O1 -shared -o pianoscene.o pianokey.o pianokeybd.o plugin.o keylabel.o rawkeybdapp.o moc_pianoscene.o moc_pianokeybd.o moc_plugin.o qrc_pianokeybd.o -L/usr/lib -lQtScript -L/usr/lib -pthread -pthread -lQtSvg -L/usr/X11R6/lib -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -lQtXml -pthread -pthread -lQtGui -pthread -lpng -lfreetype -lSM -lICE -pthread -pthread -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfontconfig -lXext -lX11 -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lQtDesigner -lpthread

As you can see, "-lX11" has been automatically added. I guess that Ubuntu's Qt4 or something in your environment is broken.
- Dec 20 2009

Yes, it is easy. Use the rotate() method inherited from QGraphicsView. For instance, change the demo program in the VPiano class constructor, adding one line:

m_piano = new PianoKeybd(4, 3, this);
m_piano->rotate(270); // sets it vertical

You can use any transformation allowed by QGraphicsView like transform(), rotate(), scale(), shear(), and translate().

Pedro - Jul 20 2008

Music Production 7 comments

by plcl
Rating: 5.0
Sep 17 2010

Is there a greek translation available? If so, I would be glad to include it in the source repository. Please see:

(it is the site of both KMetronome and KMidimon)

- Dec 25 2009
Thanks. And sorry for the delay.

I've added a link in the web side.
- Mar 24 2008
Hi Christoph,

Thank you very much, too.

Pedro - Apr 26 2005

Audio Apps
by wbsoft

Rating: 6.6
Sep 11 2010

Audio Extractors/Converters
by sokoloff

Rating: 8.2
3   Sep 07 2014

by SebAmar

Rating: 7.7
3   Sep 07 2014