LilyKDE

Audio Apps

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
5.0
Description:

LilyKDE is a Free Software project to make working with the LilyPond music typesetter within KDE very easy. If you are a LilyPond user and you have KDE, then LilyKDE is for you.

The main part of LilyKDE is a plugin for Kate, with the following features:

Run LilyPond on the current document with a keystroke.Show an embedded PDF preview. When you click on a note or another object, Kate jumps to the correct document and cursor position.A powerful Score Wizard to quickly set up a LilyPond document.Display LilyPond's messages in a log view. Error messages are also clickable.Direct MIDI input from a MIDI-keyboard or even your computer keyboard. This powerful function uses Rumor for the actual work, but it can automatically set the key and time signature according to the current document. You can adjust the metronome speed very easy by clicking on a "Tap" button. Many other settings are available.After LilyPond has run you can open, email or print PDF documents and play MIDI files with a mouseclick from within Kate.Automatic hyphenation of Lyric texts using dictionaries from e.g. OpenOffice.org or Scribus.

The other parts of LilyKDE are:

MIME type information and an icon for LilyPond filesA textedit:// service to make the clickable links work anywhere in KDEA Konqueror servicemenu and helper app to run LilyPond from within Konqueror on selected filesKatepart syntax highlighting for LilyPond documents (also part of KDE)

LilyKDE is translated into Dutch, French, Turkish, Spanish, Russian, Italian and German.
Last changelog:

12 years ago

Changes in 0.6.6 (since 0.6.5):
- Translations update
- Minor improvements

Changes in 0.6.5 (since 0.6.4):
- Improve adding articulation etc. to selection. Now also recognizes chords and skips commands like \ff which were previously recognized as pitches.
- New Rhythm tab in Quick Insert panel with some powerful functions manipulating the rhythm of the selected music.
- Handling of non-ascii characters in filenames has been fixed.


Changes in 0.6.4 (since 0.6.3):
- New Quick Insert Panel, with already one convenient tool to insert articulations and ornaments, one by one or to a group of notes at once.

Changes in 0.6.3 (since 0.6.2):
- ScoreWizard: Choir: use \center-column if LilyPond >= 2.11.57
- config option to always empty log when a LilyPond job is started
- All vocal part types have now a checkbox Ambitus that adds the Ambitus_engraver to the correct staff or voice, showing the pitch range of that vocal part
- Example x-lilypond.conf file for Expand plugin added

C

wbsoft

12 years ago

0.6.0 beta now has a score wizard :-)

Report

C

wbsoft

12 years ago

Well I have no real roadmap, but yes, there are some plans for a quick score setup wizard like LilyPondTool has, with some templates and even a preview, etc. It should also be able to parse an existing document and quickly adjust the score layout.

Another plan is to integrate rumor so you can play on a keyboard and have the notes appear in Kate. But I'll have to buy a keyboard first :-)

Some other functions I think of:
- import wizard (Midi, musicxml and other formats)
- generate PDF with ly-file embedded, and easily re-open such PDFs for further editing (using pdftk)
- splitting and merging notes and articulations/dynamics etc.
- playing the notes or melody at the cursor
- convert relative/absolute
- transpose music
- scheme tool (type some Lily input and it shows the output of \displayMusic)
- (auto)insert or remove barchecks (|)
- etc.

Report

C

wbsoft

12 years ago

Just fyi: on my system Kate quite so often crashed on exit if I had run a LilyPond job from within Kate.

That even got worse when I upgraded my Python to 2.5. What follows is technical but may be useful to other plugin devvers (I can imagine parts of LilyKDE are useful for other type of (PDF)document-building plugins).

When developing Python plugins with Pate there is a small problem you need to take care of: When you let some types of KDE or Qt resources (like a QCursor or a KConfig object) live in the global Python module space, they seem to be freed multiple times, leading to crashes, because Pate (the embedded Python interpreter) cleans up its objects, but Kate, KDE and Qt itself also clean up all the objects they track.

Using valgrind I discovered that a QCursor object (set as a default argument) got deallocated by QApplication as well as Python. Changing the function so that the QCursor object was only created in the local scope of the function made the crashes go away.

Anyway, revision 235[1] contains the fix and the next LilyKDE version (that will be 0.4.10) as well. So if you are suffering of Kate crashes, let me know or just use the svn version (that most times is quite stable).

I hope you enjoy LilyKDE as much as I do, in both using and developing it.

[1]http://code.google.com/p/lilykde/source/diff?r=235&format=side&path=/trunk/lilykde/util.py

Report

toastyvollyball

12 years ago

Ok I have been studying linux for about 6 to 7 months now/.. I am more than still confused on alot.... I have trouble with everything I do from partioning, mounting, installing programs and source codes from hell... What I need is a friend willing to help me figure this all out.. For starters I am trying to get Devede-3.6 to work/. I have Kubuntu and a crappy dell.... I need a serious baby walk-through on what to do. from command line to it working.... So please someone out there have pity on me and help me get over this overwhelming lack of knowledge and at least into the know of walking around in the basics....

Report

C

wbsoft

12 years ago

Please try a newbie forum or buy a nice Linux book. Try to keep discussions on this page on the topic of LilyKDE. All the best!

Report

sisko78

12 years ago

It's not related to this software, but perhaps someone can help me.

Would like to try LilyKDE.

I get following error messages when I try to acticate the pate plugin in kate:

sys:1: RuntimeWarning: Python C API version mismatch for module pate: This Python has API version 1012, module pate has version 1013.
sys:1: RuntimeWarning: Python C API version mismatch for module kateinterface: This Python has API version 1012, module kateinterface has version 1013.
sys:1: RuntimeWarning: Python C API version mismatch for module ktexteditor: This Python has API version 1012, module ktexteditor has version 1013.
KCrash: Application 'kate' crashing...


I have a debian based distribution (Kubuntu 7.10), which pakage is too old here? (and why did no one else have this problem, kubuntu 7.10 is not that old)

Thanks

Report

C

wbsoft

12 years ago

Did you try
http://blog.stochasticbytes.com/2007/11/installing-pate-for-kate.html

Which versions do you use (python and Pâté)?

Report

sisko78

12 years ago

Yes I used 0.51 from that page.
Python related packages:

http://ubuntuusers.de/paste/96580/

I will try it again, perhaps something went wrong when I compiled pate.

Report

C

wbsoft

12 years ago

My system (Gentoo) had Python 2.3 and 2.4. Pate somehow linked to 2.3 (even though 2.4 was the default Python), and only when I removed 2.3 it linked correctly against 2.4. That could be the issue...

Report

sisko78

12 years ago

Thanks, this brought me a step further. I removed all Python2.4 related pakages, now I can activate pate and have some python plugins.
It cant load the lilyKDE plugin. I get following errors:

kate: disabled plugins: autobookmark
Traceback (most recent call last):
File "/usr/share/apps/kate/pyplugins/lilypond.py", line 13, in <module>
from lilykde.about import *
ImportError: No module named about
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport_python_hook.py", line 42, in apport_excepthook
binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
AttributeError: 'module' object has no attribute 'argv'

Original exception was:
Traceback (most recent call last):
File "/usr/share/apps/kate/pyplugins/lilypond.py", line 13, in <module>
from lilykde.about import *
ImportError: No module named about
*** Could not load plugin '/usr/share/apps/kate/pyplugins' ***
Traceback (most recent call last):
File "/home/sisko78/.kde/share/apps/kate/pyplugins/lilypond.py", line 13, in <module>
from lilykde.about import *
ImportError: No module named about
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport_python_hook.py", line 42, in apport_excepthook
binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
AttributeError: 'module' object has no attribute 'argv'

Original exception was:
Traceback (most recent call last):
File "/home/sisko78/.kde/share/apps/kate/pyplugins/lilypond.py", line 13, in <module>
from lilykde.about import *
ImportError: No module named about
*** Could not load plugin '/home/sisko78/.kde/share/apps/kate/pyplugins' ***

Report

C

wbsoft

12 years ago

the 'make install' command indeed did not create about.py. That is fixed now in SVN and 0.4.6.

Report

C

wbsoft

12 years ago

btw, really thanks for any help regarding Python 2.5, as I test LilyKDE currently only with Python 2.4, because that is still the default in Gentoo...

So currently Python 2.4 may be your best bet, but it is my intention to fully support Python 2.4, 2.5 and 2.6 as it comes out.

Report

C

wbsoft

12 years ago

Thanks for your report.

Strange! Do you have ~/.kde/share/apps/lilykde/lilykde/about.py ?
Did you make && make install in the most recent LilyKDE version?

What gives this at a python prompt:
$ python
>>> from kdecore import KStandardDirs
>>> map(unicode, KStandardDirs().findDirs("data", "lilykde"))

Report

sisko78

12 years ago

Sorry, this is embarrasing to me.
I think I did only "make install" as user.
I think this was mentioned in the Readme?

Now it works, thanks!

Report

dovidhalevi

12 years ago

so no Lily. I would really love to try this thing.

(The fltk editor exists, does not support UTF8--I compiled fltk for UTF8 could presumably get that working with an appropriate font on his editor pane.)

The main dependency for LilyKDE is the python bindings. Somehow, KDE bindings take so much resources to build up that they crash the compiler.

Report

C

wbsoft

12 years ago

What distribution do you use? PyKDE is included with every major distribution, so it would not be necessary to build from source (I did however, by using Gentoo :-)

Report

dovidhalevi

12 years ago

Debian does indeed have python-kde3. My problem is that my kde3.5 is "konstruct"ed so I must compile bindings as well. These compiles inevitably bog down and fail.

Report

helmerj

12 years ago

Hi!

I am trying to install on kde 2.5.9 on OpenSuse 10.3 but the installation fails. a "make install" results in this:

Installing LilyPond icon and mimetype:
cp ly.png ly.svg /home/helmerj/.kde/share/icons/
cp x-lilypond.desktop /home/helmerj/.kde/share/mimelnk/text/
Installing LilyPond syntax highlighting:
cp lilypond.xml /home/helmerj/.kde/share/apps/katepart/syntax/
Installing textedit integration:
cp textedit.protocol /home/helmerj/.kde/share/services/
cp ktexteditservice.py /home/helmerj/.kde/share/apps/lilykde/
cp: cannot create regular file `/home/helmerj/.kde/share/apps/lilykde/': Is a directory
make: *** [install-textedit] Error 1


Cheers
Juergen

Report

C

wbsoft

12 years ago

Thanks for your report! This is fixed in 0.4.2. It only occured if you did not have run earlier version, that's why I didn't notice...

Report

C

wbsoft

12 years ago

Yes, LilyKDE is currently only compatible with KDE 3.5.x. As soon as I change my production box to KDE4, it certainly will be updated :-)

Report

stuartquimby

12 years ago

Hi

Thanks for working on this, it looks great! I love lilypond, and have been using kate as my main editor for awhile, so your app seems perfect.

I've gotten as far as installing cmake (kubuntu 7.10 in a kde4 session). When trying to configure pate (the only missing dependency), i get:
"configure: Cannot find the Kate plugin directory at the specified prefix (searched for /usr/share/apps/kate/plugins). Pate must be installed in the same prefix as KDE applications"

which i have no idea how to deal with. Any clues you could offer?


Stuart

Report

m0nk

12 years ago

Hi,
you should start a KDE3 session first to avoid trouble with paths and variables. Then start with
[i]./configure --prefix=`kde-config --prefix`. This should do the thing.
Remember, that KDE4 is not complete yet.

Greetings
m0nk

Report

m0nk

12 years ago

Or you don't have the kdeaddons package installed.

Report

C

wbsoft

12 years ago

You could ask the Pate author, but if your KDE resides in e.g. /usr/kde/3.5/ then you would configure pate using ./configure --prefix=/usr/kde/3.5/ . It's worth the effort, Pate as also a few very nice plugins of its own :-)

Report

stuartquimby

12 years ago

Hi

Thanks for working on this, it looks great! I love lilypond, and have been using kate as my main editor for awhile, so your app seems perfect.

I've gotten as far as installing cmake (kubuntu 7.10 in a kde4 session). When trying to configure pate (the only missing dependency), i get:
"configure: Cannot find the Kate plugin directory at the specified prefix (searched for /usr/share/apps/kate/plugins). Pate must be installed in the same prefix as KDE applications"

which i have no idea how to deal with. Any clues you could offer?


Stuart

Report

12 years ago

Changes in 0.6.6 (since 0.6.5):
- Translations update
- Minor improvements

Changes in 0.6.5 (since 0.6.4):
- Improve adding articulation etc. to selection. Now also recognizes chords and skips commands like \ff which were previously recognized as pitches.
- New Rhythm tab in Quick Insert panel with some powerful functions manipulating the rhythm of the selected music.
- Handling of non-ascii characters in filenames has been fixed.


Changes in 0.6.4 (since 0.6.3):
- New Quick Insert Panel, with already one convenient tool to insert articulations and ornaments, one by one or to a group of notes at once.

Changes in 0.6.3 (since 0.6.2):
- ScoreWizard: Choir: use \center-column if LilyPond >= 2.11.57
- config option to always empty log when a LilyPond job is started
- All vocal part types have now a checkbox Ambitus that adds the Ambitus_engraver to the correct staff or voice, showing the pitch range of that vocal part
- Example x-lilypond.conf file for Expand plugin added

12345678910
Be the first to comment
ngrocott
Dec 09 2009
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.6.6
updated Nov 21 2008
added Feb 13 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0