Re: Newbie LilyPondTool installation help?
Try first reverting the console plugin to an older version, that did the trick for me (I think I have something like 4.1.3..)On 7/14/06, Stephen Corey [EMAIL PROTECTED] wrote:On Wed, 12 Jul 2006 13:43:09 +0100, Joseph Anderson wrote: Hello All, I'm looking for a bit of help getting LilyPondTool up and running on MacOS X (10.4.7). I've downloaded jEdit 4.2, and have the following plugins installed: Console 4.2.6.3 ErrorList 1.4 Jakarta Commons 0.4.4 Latest Version Check 1.5 LilyPondTool 0.2.9 Mac Os Plugin 3.0 QuickNotepad 4.2 SideKick 0.3.4 Templates 3.3.0 I believe I'm running java 1.5, as from the terminal window, java -version reports back: java version 1.5.0_06. I have LilyPond 2.9.10 installed--and it can be run from the command line, along with things like convert-ly. The toolbar for LilyPondTool does appear in jEdit, however I'm having problems running LilyPond from within jEdit/LilyPondTool. With a simple test file, clicking the Convert to newer version button produces the following in BeanShell error: java.lang.NoSuchMethodError: console.Console.setShell(Ljava/lang/String;)V at lilytool.LilyToolPlugin.runCommand(LilyToolPlugin.java:409) at lilytool.LilyToolPlugin.runCommandOnBuffer (LilyToolPlugin.java:438) at lilytool.LilyToolPlugin.runCommandOnBuffer(LilyToolPlugin.java:430) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at bsh.Reflect.invokeOnMethod(Reflect.java:149) at bsh.Reflect.invokeStaticMethod(Reflect.java:100) at bsh.Name.invokeMethod(Name.java:872) at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java :72) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.BSHAssignment.eval(BSHAssignment.java:77) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BSHBlock.eval(BSHBlock.java:46) at bsh.BSHIfStatement.eval(BSHIfStatement.java :48) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BSHBlock.eval(BSHBlock.java:46) at bsh.BSHIfStatement.eval(BSHIfStatement.java :48) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BshMethod.invokeImpl(BshMethod.java:349) at bsh.BshMethod.invoke(BshMethod.java :246) at bsh.BshMethod.invoke(BshMethod.java:171) at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523) at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76) at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229) at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2910) at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed (EditAction.java:216) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java:234) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5554) at javax.swing.JComponent.processMouseEvent(JComponent.java :3126) at java.awt.Component.processEvent(Component.java:5319) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4021) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3869) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java :4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl (Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3869) at java.awt.EventQueue.dispatchEvent(EventQueue.java :463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java :110) There's a similar error for the Run LilyPond button. Any clues as to what I need to do to get things working properly? Thanks for the help! J Anderson
Problems with melismata
Hello, I tried the following code in Lilypong 2.9.10 to typeset some organ music (just a snippet): -- \version 2.9.10 \header { title = Erde singe composer = Satz: Max Eham 1975 } #(set-default-paper-size a4 'landscape) #(set-global-staff-size 20) global = { \time 4/4 \key f \major } text = \lyricmode { Er2 -- de4 sin -- ge,2 daß2 __ es4 klin -- ge,2 } sopran = { f'4( a') c'' d'' c'' s4 f'4( g') a' bes'4 a' s4 } alt = { c'4 f' f' f'8 g' a'4 \once \override Rest #'extra-offset = #'(0 . 2) r4 f'4 e' f' d'8 e' f'4 \once \override Rest #'extra-offset = #'(0 . 2) r4 } tenor = { a4 c' a bes4 c'4 s4 c'2 c'4 bes4 c'4 s4 } bass = { f,4 f4. f8 bes,4 f4 \once \override Rest #'extra-offset = #'(0 . 2) r4 a,4 c f g4 f \once \override Rest #'extra-offset = #'(0 . 2) r4 } \score { \new Lyrics = lyrics {s1} \new Staff = righthand \clef treble \global \new Voice = one {\voiceOne \sopran} \new Voice = two {\voiceTwo \alt} \new Staff = lefthand \clef bass \global \new Voice = three {\voiceOne \tenor} \new Voice = four {\voiceTwo \bass} \context Lyrics = lyrics \lyricsto one \text } -- The problem is here, that I get no melisma on the daß, second bar, 3rd and 4th note. If I comment out the statement \new Lyrics = lyrics {s1} in the \score, I get the melisma, but the text is not above, but below the staves. Unfortunately I do not have a webpage, where I coud post the output... Now, I'd like to have the text above the staves AND the melisma. Did I do something wrong, or is this a bug? I tried to search the archive, but could not find a solution... Best regards Armin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Newbie LilyPondTool installation help?
Hello Stephen, Thanks for the suggestions and the .zip of .jars you forwarded of ErrorList, Console and SideKick. This has seemed to get me further towards having a working set-up, unfortunately LilyPondTool still isn't quite happy. Now I think the problem has to do with Console not having to correct path to run lilypond. Activity Log lists this error: [error] AWT-EventQueue-0: java.io.IOException: convert-ly: not found I do believe that it is now a path problem, as when I query $PATH from Console's System page, the path doesn't include the directory lilypond is installed in. Both my .bash_profile and my .profile do include my lilypond path, so I'm confused as to why Console isn't catching it. Lilypond does throw up the help/flags list if I try to run lilypond from the console using the complete path name, so that is good news. So what I'm wondering, is there another place to set $PATH for the Console plugin? Thanks again for the help. J Anderson -Original Message- From: [EMAIL PROTECTED] on behalf of Stephen Corey Sent: Fri 07/14/2006 2:21 AM To: lilypond-user@gnu.org Cc: Subject:Re: Newbie LilyPondTool installation help? On Wed, 12 Jul 2006 13:43:09 +0100, Joseph Anderson wrote: Hello All, I'm looking for a bit of help getting LilyPondTool up and running on MacOS X (10.4.7). I've downloaded jEdit 4.2, and have the following plugins installed: Console 4.2.6.3 ErrorList 1.4 Jakarta Commons 0.4.4 Latest Version Check 1.5 LilyPondTool 0.2.9 Mac Os Plugin 3.0 QuickNotepad 4.2 SideKick 0.3.4 Templates 3.3.0 I believe I'm running java 1.5, as from the terminal window, java -version reports back: java version 1.5.0_06. I have LilyPond 2.9.10 installed--and it can be run from the command line, along with things like convert-ly. The toolbar for LilyPondTool does appear in jEdit, however I'm having problems running LilyPond from within jEdit/LilyPondTool. With a simple test file, clicking the Convert to newer version button produces the following in BeanShell error: java.lang.NoSuchMethodError: console.Console.setShell(Ljava/lang/String;)V at lilytool.LilyToolPlugin.runCommand(LilyToolPlugin.java:409) at lilytool.LilyToolPlugin.runCommandOnBuffer(LilyToolPlugin.java:438) at lilytool.LilyToolPlugin.runCommandOnBuffer(LilyToolPlugin.java:430) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at bsh.Reflect.invokeOnMethod(Reflect.java:149) at bsh.Reflect.invokeStaticMethod(Reflect.java:100) at bsh.Name.invokeMethod(Name.java:872) at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.BSHAssignment.eval(BSHAssignment.java:77) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BSHBlock.eval(BSHBlock.java:46) at bsh.BSHIfStatement.eval(BSHIfStatement.java:48) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BSHBlock.eval(BSHBlock.java:46) at bsh.BSHIfStatement.eval(BSHIfStatement.java:48) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BshMethod.invokeImpl(BshMethod.java:349) at bsh.BshMethod.invoke(BshMethod.java:246) at bsh.BshMethod.invoke(BshMethod.java:171) at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:523) at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76) at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229) at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2910) at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5554) at
Re: TextSpanner length?
Hi, Stewart: Ahh, cunning. A negative amount of shortening didn't occur to me. I'm definitely an out-of-the-box thinker! =) Might I recommend that the documentation be changed Indeed. The lengths to shorten a text-spanner on both sides, for example a pedal bracket, negative values lengthening the text-spanner. To be totally explicit, how about something like The amount to adjust the length of a text-spanner (e.g., a pedal bracket) at both ends. Positive values will shorten the spanner, whereas negative values will lengthen it. Best wishes, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Can't set next-padding - it's ignoring me
Well it was ... then I copied the example in the manual and it blows up on me ... I'm trying to globally over-ride the next-padding property to squeeze more systems on a page (ie get the entire piece on one page and not have an orphan system on page 2). There's an example in the manual about using \outputProperty which I've copied but it refuses to work. \outputProperty #Score.NonMusicalPaperColumn #'line-break-system-details #'((next-padding . 5)) I've tried it in the \score context, the \paper and the \layout context. It blows up every time with unrecognized escaped string outputProperty. What am I doing wrong? Cheers, Wol * * This transmission is intended for the named recipient only. It may contain private and confidential information. If this has come to you in error you must not act on anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, or show it to anyone. Please e-mail the sender to inform us of the transmission error or telephone ECA International immediately and delete the e-mail from your information system. Telephone numbers for ECA International offices are: Sydney +61 (0)2 8272 5300, Hong Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333. * * ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: segno, coda, etc. below rehearsal mark
I was inspired by this thread to research this topic a little further, regarding the remaining rehearsal mark styles (letters, numbers and alhpabet). The results are here: http://lsr.dsi.unimi.it/LSR/Item?id=202 Markus P.S. I put the musical symbols on top of the rehearsal marks, IMHO they can faster be spotted during performance! :) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Can't set next-padding - it's ignoring me
Anthony Youngman [EMAIL PROTECTED] writes: Well it was ... then I copied the example in the manual and it blows up on me ... I'm trying to globally over-ride the next-padding property to squeeze more systems on a page (ie get the entire piece on one page and not have an orphan system on page 2). There's an example in the manual about using \outputProperty which I've copied but it refuses to work. \outputProperty #Score.NonMusicalPaperColumn #'line-break-system-details #'((next-padding . 5)) I've tried it in the \score context, the \paper and the \layout context. It blows up every time with unrecognized escaped string outputProperty. What am I doing wrong? You're trying to set a padding property for the whole book, with an operator which aims at tweaking a single system padding. Have you read carefuly chapter 11 Spacing issues in the manual before asking here? More precisely: 11.3.3 Vertical spacing between systems (does this title rings a bell?) http://lilypond.org/doc/v2.9/Documentation/user/lilypond/Vertical-spacing-between-systems.html The paper property to tune are between-system-padding and between-system-space. \paper { between-system-padding = 5 between-system-space = 0.1 annotate-spacing = ##t ragged-bottom=##t } \repeat unfold 4 \new Staff { g'1 \break } \new Staff c' ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problems with melismata
Hi! I think this message can help you: http://lists.gnu.org/archive/html/lilypond-user/2006-03/msg00514.html - Original Message - From: Armin Lambacher [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Friday, July 14, 2006 6:20 AM Subject: Problems with melismata Hello, I tried the following code in Lilypong 2.9.10 to typeset some organ music (just a snippet): -- \version 2.9.10 \header { title = Erde singe composer = Satz: Max Eham 1975 } #(set-default-paper-size a4 'landscape) #(set-global-staff-size 20) global = { \time 4/4 \key f \major } text = \lyricmode { Er2 -- de4 sin -- ge,2 daß2 __ es4 klin -- ge,2 } sopran = { f'4( a') c'' d'' c'' s4 f'4( g') a' bes'4 a' s4 } alt = { c'4 f' f' f'8 g' a'4 \once \override Rest #'extra-offset = #'(0 . 2) r4 f'4 e' f' d'8 e' f'4 \once \override Rest #'extra-offset = #'(0 . 2) r4 } tenor = { a4 c' a bes4 c'4 s4 c'2 c'4 bes4 c'4 s4 } bass = { f,4 f4. f8 bes,4 f4 \once \override Rest #'extra-offset = #'(0 . 2) r4 a,4 c f g4 f \once \override Rest #'extra-offset = #'(0 . 2) r4 } \score { \new Lyrics = lyrics {s1} \new Staff = righthand \clef treble \global \new Voice = one {\voiceOne \sopran} \new Voice = two {\voiceTwo \alt} \new Staff = lefthand \clef bass \global \new Voice = three {\voiceOne \tenor} \new Voice = four {\voiceTwo \bass} \context Lyrics = lyrics \lyricsto one \text } -- The problem is here, that I get no melisma on the daß, second bar, 3rd and 4th note. If I comment out the statement \new Lyrics = lyrics {s1} in the \score, I get the melisma, but the text is not above, but below the staves. Unfortunately I do not have a webpage, where I coud post the output... Now, I'd like to have the text above the staves AND the melisma. Did I do something wrong, or is this a bug? I tried to search the archive, but could not find a solution... Best regards Armin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Changing fonts in headers
Michael J Millett wrote: I am sorry to report that I have still not been successful in changing the font of the headers, and request some suggestions. I now wonder if LP contains a vehicle for changing the header fonts. Does anyone know? There's probably an better way than this, but the only way I've been able to get Lily to do what I want in this area is: staffSize = #18 % or 16 #(set-global-staff-size staffSize) \header { title= \markup { \override #'(font-family . sans) { \fontsize #3.5 The Best Song Ever! } } composer = \markup { \override #'(font-family . sans) Traditional } } ... music/layout stuff goes here ... \paper { #(define fonts (make-pango-font-tree Times New Roman DomCasual BT Luxi Mono (/ staffSize 20))) } Basically, it's setting up a custom font tree with the font I want in my header (DomCasual BT) in the sans serif slot. I then override the font family in the header to use the sans serif font (I also bump up the font size, since to me the title font is too small). I'm sure there's a better way to do it, but I haven't been smart enough to figure it out yet. :-/ -- Shamus ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Problem with midi2ly
I'm trying to use midi2ly with a very simple midi file. When I run midi2ly I get the following error. I am using 2.9.11 on Windows. Any ideas?: C:\Program Files\LilyPond\usr\binpython midi2ly.py Fur_Elise.mid Traceback (most recent call last): File midi2ly.py, line 1003, in ? main() File midi2ly.py, line 1001, in main convert_midi (f, o) File midi2ly.py, line 841, in convert_midi for (dur, num, den) in global_options.allowed_tuplets: SystemError: /Users/lilytest/testing/gub-devel/target/mingw/src/Python-2.4.2/Obj ects/listobject.c:243: bad argument to internal function -- View this message in context: http://www.nabble.com/Problem-with-midi2ly-tf1946458.html#a5337392 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Problem with midi2ly
ok. Never mind I guess. I needed to quantize the midi file. Which enabled it to run successfully. Seems like an un-intuitive error message, for whatever its worth...but at least it works. that being said, the duration values it created are mind boggingly complicated. stuff like: b4*237/480 Which I assume its because its trying to retain all the midi durations and ticks per beat, etc.. I am wondering if there is a way to just generate simple ly from mid files. -- View this message in context: http://www.nabble.com/Problem-with-midi2ly-tf1946458.html#a5337912 Sent from the Gnu - Lilypond - User forum at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user