Re: RUMOR

2008-06-06 Thread Wilbert Berendsen
Op donderdag 29 mei 2008, schreef Stefan Thomas:
 Yes, I'am using (also) Linux on my machine, but I couldn't install RUMOR.

What exactly are the problems you encounter?

I always do just this:
$ curl http://www.volny.cz/smilauer/rumor/src/rumor-1.0.3b.tar.bz2 | tar xj
$ cd rumor-1.0.3b/
$ ./configure
$ make
$ su -c 'make install'


best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Best Text Editor

2008-06-05 Thread Wilbert Berendsen
Op donderdag 5 juni 2008, schreef stefanozanobini:
 I'm looking for the best text editor in Linux for Lilypond usage.
 I suppose Kwrite is quite good, it gives me clearly the structure of a .ly
 file (with colors and bolds), but not always.
 Is there a text editor with a specific and complete extensive lilypond
 hilighter?

A recent KWrite or Kate (from KDE 3.5.8 or 3.5.9) should have quite good 
syntax highlighting. For older Kate versions, you can download the updated 
syntax definitions for LilyPond from 
http://www.kate-editor.org/syntax/2.5/lilypond.xml .  Put the file in 
~/.kde/share/apps/katepart/syntax/ (create the directory if it does not 
exist) and restart Kate.

There is also a special LilyPond plugin for Kate named LilyKDE (I wrote it 
myself :-) with features such as a quick score wizard and live note entry 
using Rumor and a MIDI keyboard (or your computer keyboard). It runs in Kate 
(not KWrite) and it can be found at http://lilykde.googlecode.com/ . LilyKDE 
also contains even more up-to-date syntax highlighting.

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyKDE 0.6.0 beta has been released

2008-06-04 Thread Wilbert Berendsen
Op woensdag 4 juni 2008, schreef Stefan Thomas:
 Hi evverybody,
 are there plans to make a debian-package of this tool?
 I don't like installing from source, I tried it several times, but without
 success!

Unfortunately I don't know how to create debian packages.
What problems do you encounter? You should install KDE, sip, PyKDE and PyQt 
from recent distro packages. Pate might need to be compiled from source.

You can email me off-list or send mail to 
http://groups.google.com/group/lilykde .

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyKDE 0.6.0 beta has been released

2008-06-04 Thread Wilbert Berendsen
Op woensdag 4 juni 2008, schreef Valentin Villenave:
 2008/6/4 Wilbert Berendsen [EMAIL PROTECTED]:
  Unfortunately I don't know how to create debian packages.
  What problems do you encounter? You should install KDE, sip, PyKDE and
  PyQt from recent distro packages. Pate might need to be compiled from
  source.

 Silly question:

 any plans for KDE 4.1?

Yes, sure! as soon as either Pate gets ported to KDE 4.1 or there exists 
another way to run python code in Kate ;-)

best regards!
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyKDE 0.6.0 beta has been released

2008-06-04 Thread Wilbert Berendsen
Op woensdag 4 juni 2008, schreef Bertalan Fodor (LilyPondTool):
 In what format are the templates? I mean could they be easily converted
 to LilyPondTool's Velocity templates?

The templates (or part types) are currently just a class hierarchy in Python 
code, living in lilykde/parts.py[1] As this is python code, converting them 
to a more general format may be difficult. Some instruments are very simple, 
inheriting a basic base class, but other ones have specialized settings, like 
Choir and the Tablature instruments.

[1] http://lilykde.googlecode.com/svn/trunk/lilykde/parts.py

With best regards!
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


LilyKDE 0.6.0 beta has been released

2008-06-03 Thread Wilbert Berendsen
Hi all,

LilyKDE 0.6.0beta has been released. This is a beta release, featuring a 
powerful new score wizard (ctrl+shift+n). In three tabs, it allows you to 
setup titles and headers, parts, and other score settings like key and time 
signature. For some instruments, individual parts can be configured as well.

When you click OK, the wizards creates a LilyPond template document where you 
can easily add music and lyrics, etc. and generate a nice-looking score.

The wizard knows many instruments and can handles special things like figured 
bass, choir with different lyric setups, lead sheet. tablature instruments 
etc.

Special attention has been given to the LilyPond output of the score wizard: 
it is quite human-like, using short but descriptive identifier names and 
simple LilyPond constructs where possible. Under the hood the score wizard 
uses LilyDOM, a python module also written by me (and still in development) 
to construct a LilyPond document using a DOM-like object tree.

Please give the score wizard a try and report bugs, wishes, missing and/or 
incorrect parts/instruments in the bug tracker. Translations are also very 
welcome!

http://lilykde.googlecode.com/files/lilykde-0.6.0beta.tar.gz

Thanks and enjoy!
best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyKDE 0.6.0 beta has been released

2008-06-03 Thread Wilbert Berendsen
hello,

op dinsdag 3 juni 2008, schreef je:
 Wow, that is great.  Does any of this stuff run on OSX?

I think yes, if you install the relevant KDE parts via Fink 
(http://pdb.finkproject.org/pdb/) or MacPorts (http://www.macports.org/).

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics, vertical position

2008-04-17 Thread Wilbert Berendsen
Op donderdag 17 april 2008, schreef Francisco Vila:
 Hello all,
 With recent releases of LilyPond I can not fit in one page some choral
 scores that used to fit well with older versions. The culprit seems to
 be the increased amount of space between lyrics and music. I still
 have to investigate which version introduced this, but in the meantime
 I'd like to raise the lyrics baseline manually, if it is possible. Is
 it? thank you.

Yes, put something like
\context { 
\Lyrics
\override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 0)
}
in your \layout { } section. Experiment with different values. Docs:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Vertical-spacing-inside-a-system
best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics, vertical position

2008-04-17 Thread Wilbert Berendsen
Op vrijdag 18 april 2008, schreef Wilbert Berendsen:
 \context {
 \Lyrics
 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 0)
 }

You can also change the minimum-Y-extent of the staff above the lyrics...

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: In octaves

2008-04-14 Thread Wilbert Berendsen
Op zondag 13 april 2008, schreef Jay Anderson:
 I tried  {c d e f} {c' d e f}  but it didn't look right so I
 resorted to a function. Is there an easier way to do this?

Possibly:

bassnotes = { c16 d e f g c bes a g es fis a g es r8 }

\new Voice 
  \clef bass
  \relative c,, \bassnotes
  \relative c, \bassnotes



best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: barlines not shown

2008-04-14 Thread Wilbert Berendsen
Op zondag 13 april 2008, schreef Stefan Thomas:
 I see an invisible barline.

Cool :-)

but seriously, you'd write \bar |. (without the spaces inside the quotes)

best regards, :-)
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


[ANN]: LilyKDE 0.5.1 released

2008-04-14 Thread Wilbert Berendsen
Hi all,
LilyKDE 0.5.1 has been released, fixing the menu actions that did not work on 
some setups. Also added a new French translation by Valentin Villenave (many 
thanks!) and an updated Turkisch translation by Server Acim (thanks as well!)

LilyKDE is for you if you use LilyPond and have KDE. LilyKDE consists of:
- Kate plugin: run LilyPond, preview, hyphenate lyrics, input MIDI with Rumor
- Konqueror service menu and textedit service to make point-and-click work.

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


[ANN] LilyKDE 0.5.0 released

2008-04-11 Thread Wilbert Berendsen
Hi all,

LilyKDE 0.5.0 has been released[1]. A major new feature is support for 
Rumor[2], to enter music by playing on a MIDI keyboard or your computer 
keyboard. Many adjustments are possible including automatic detection of 
lilypond language, time and key signature of the current document. There is 
support for loading Guile scripts into Rumor. LilyKDE has a Turkish 
translation courtesy or Server ACIM (Thanks!)

[1] http://lilykde.googlecode.com/files/lilykde-0.5.0.tar.gz
[2] http://www.volny.cz/smilauer/rumor/

Current features:
* Kate plugin to run LilyPond,
  - preview embedded into Kate with clickable notes etc.
  - quickly enter music by playing it using Rumor
  - log view with clickable error messages
  - run convert-ly on old .ly files
  - automagically hyphenate lyrics text
  - expand often used LilyPond constructs using the Pate Expand plugin
  - settings dialog
* textedit:// service so clickable links in LilyPond-generated PDFs work
* Konqueror servicemenu with little helper app. Select some .ly files in
  Konqueror and choose Convert to PDF to use it. It shows a nice log
  with clickable error messages that open Kate with the cursor right on
  the spot.
* Icon and MIME-Type for LilyPond files
* Powerful LilyPond syntax highlighting (already part of KDE)

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: braces in the lyrics

2008-04-10 Thread Wilbert Berendsen
Op dinsdag 8 april 2008, schreef Timothy C Litwiller:
 How would I go about laying this out. I have the notes and a lyrics line
 defined for each line of lyrics liuke they are six verses  but every
 other line doesn't have a set stanza with a number in it.

Try putting the brace in the stanza number, and move the (big) brace down 
somewhat using some markup commands (fontsize, raise, or translate, etc.)
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Overview-of-text-markup-commands

 and second question how do I make the midi it creates play the verse
 twice and then the chorus when it is laid out this way.

http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Repeats-and-MIDI


best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


(mostly solved) Re: Lyrics spacing from LeftEdge?

2008-04-01 Thread Wilbert Berendsen
Op dinsdag 1 april 2008, schreef Mats Bengtsson:
 Isn't a better solution to make the first syllable left aligned
 with the note? This should automatically result in left aligned
 lyrics and aligned notes.

Unfortunately that does not look nice: with long words the spacing of both 
notes and words looks irregular. However: that could be an approach when 
there are more stanzas with lyrics. But in that case I think I would drop the 
requirement that lyric texts are aligned.

I am now using an approach to have one transparent bar line at the beginning 
of a line (in fact at the end, just before the \break), and have the barline 
also drawn in the lyrics context. That works perfectly! but I have only some 
trouble with the first line (because of the stanza number, that also wants to 
be within the barline). But it's no problem to align that line by hand.

How I did it:

\layout {
  ragged-right = ##t
  \context {
\Score
\override LeftEdge #'space-alist #'key-signature = #'(extra-space . 1)
% this one I set manually (on the eye)
\override TimeSignature #'space-alist #'first-note = #'(extra-space . 4.6)
% this is the distance from the keysig to the first (transparent) barline:
\override KeySignature #'space-alist #'staff-bar = #'(extra-space . 9.0)
  }
  \context {
\Staff
% although ragged-right, lengthen the staff lines
\override StaffSymbol #'width = #'60
% clef only on first line
\override Clef #'break-visibility = #all-invisible
% no space from the first (transparent) barline to the note
\override BarLine #'space-alist #'first-note = #'(fixed-space . 0.0)
  }
  \context {
\Lyrics
\consists Bar_engraver
\override BarLine #'transparent = ##t
  }
}

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


computing staff line lenght in case of ragged-right

2008-04-01 Thread Wilbert Berendsen
Hi,

Still typesetting my hymn, I use ragged-right = ##t to make the lines not too 
long.

But I want the stafflines to be the full line-width. But how do I convert from 
staffspaces to milimeters?

Currently I use:

\version 2.11.43
#(set-global-staff-size 18)

\paper {
  line-width = 10 \cm
}

\layout {
  ragged-right = ##t
  \context {
\Staff
\override StaffSymbol #'width = #'60
  }
}

But that's just a guess. I tried:
\override StaffSymbol #'width = #(* 10 cm)

but that didn't work, the lines became very long... What would be the correct 
computation? TIA!
best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


merging simultaneous rests from two voices

2008-03-31 Thread Wilbert Berendsen
Hi,

in choir music with two voices on a staff, I want to merge rests if both 
voices have the same rest-value at the same time.

I know that I can use \oneVoice r r \voiceOne in the upper voice and skips in 
the other voice, but I want to use the same voice data also on separate 
staffs. I could manage that with tags, but that clutters the voices.

So I'm trying to write a scheme macro that:
- just inserts a rest if the voice is in \oneVoice mode,
- inserts '\oneVoice r \voiceOne' if the voice is in \voiceOne mode,
- or inserts 's' if the voice is in \voiceTwo mode

My question: how do I determine from within scheme which mode the voice is in? 
I guess that I should read the 'direction property from some object, but from 
which?

Related question: isn't there a simpler way to just merge rests if they occur 
in both voices? Something like:
\override Staff.NoteColumn #'merge-rests = ##t
That should merge rests on the Staff level if all voices have rests of the 
same duration. I would be willing to write code for such a function, but I 
would not know where to start in the C++ code...

best regards,
Wilbert Berendsen


-- 
LilyKDE 0.4.11 is out: http://lilykde.googlecode.com/ Run LilyPond from Kate, 
or Konqueror, point and click, indenting, lyric hyphenation, convert etc.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: merging simultaneous rests from two voices

2008-03-31 Thread Wilbert Berendsen
Op maandag 31 maart 2008, schreef Reinhold Kainhofer:
 Am Montag, 31. März 2008 schrieb Wilbert Berendsen:
  Related question: isn't there a simpler way to just merge rests if they
  occur in both voices? Something like:
  \override Staff.NoteColumn #'merge-rests = ##t

 You know, the LSR contains lots of gems:
 http://lsr.dsi.unimi.it/LSR/Item?id=336

O, SHAME on ME for not perusing the LSR.!
Thanks Trevor and Reinhold!
best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lyrics spacing from LeftEdge?

2008-03-31 Thread Wilbert Berendsen
Hi,

I try to write a hymn (one voice with lyrics below), and I want to align the 
first lyric of each line vertically.

I know i can use the space-alist properties of KeySignature and TimeSignature 
to determine the spacing to the first note, but I want the lyrics to start at 
an exact distance from the left, so the exact place of the first note varies 
with the length of the first lyric syllabe (because the lyrics are centered). 

I could manually tweak the place of first note of every line (because I know 
where the linebreaks occur) but I would rather an automatic way.

This time LSR gave me no luck. The Wilhelmus example[1] looks quite like what 
I want, but it aligns the first notes, not the lyrics. In my case the length 
of the words varies quite wildly...

[1]
http://lilypond.org/doc/v2.11/input/wilhelmus.ly
http://lilypond.org/doc/v2.11/input/wilhelmus.pdf

thanks for any help,
best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vim compiles always in root directory

2008-03-26 Thread Wilbert Berendsen
Op woensdag 26 maart 2008, schreef Wolfgang Mechsner:
 uups, it doesn't help me really, I am sorry -  or I'm understanding
 something wrong .

 My problem:

 1. In Gvim I compile a *.ly file somewhere in a directory. I use F5 to
 compile it.
 2. The output files (*.ps an *pdf) are always in root directory

I think this is because gvim does not change directory to the directory the 
*.ly file is in.

if you are in /home and call 'lilypond --pdf /home/bach/organ/prelude-1.ly' 
then lilypond puts the output files in /home instead of /home/bach/organ/ .

I once sent a patch to -devel to correct this, but a problem is that some 
other tools are possibly dependent on this behaviour...

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: use the \tweak command (was Re: Coloring ornaments)

2008-03-13 Thread Wilbert Berendsen
I wrote:
 try e.g.
 {
   c4-\tweak #'color #red -\prall
 }


but this works as well, of course :-)

{
  \once \override Script #'color = #red
  c4\prall
}

best regards,
Wilbert Berendsen

-- 
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/
New in LilyKDE-0.4.5: Hyphenation and settings GUI


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


use the \tweak command (was Re: Coloring ornaments)

2008-03-11 Thread Wilbert Berendsen
Op dinsdag 11 maart 2008, schreef David Fedoruk:
 Hello:

 I am trying to color ornaments based on which of the composer or
 editors suggested them. Setting a variable for each color and
 articulation seems like it should be almost the same as for a simple
 NoteHead. Since the articulation is a property of the note, the
 override should be a simple extension of the ones in the manual. So
 far my best guess based on what I've found in the manual and the list
 archives is this:

 % articulation-type (string)
 color = \override NoteHead.articulation-type mordent = #darkred

 Lilypond complains about the -type  and also complains about
 -mordent, so that is not right, but I do not know where to go from
 here.

 Help on this would be appreciated,

http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Objects-connected-to-the-input

try e.g.
{
  c4-\tweak #'color #red -\prall
}



best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
LilyKDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: markup in one line

2008-03-10 Thread Wilbert Berendsen
Op maandag 10 maart 2008, schreef Wolfgang Mechsner:
 \new Score \with {
        \override TimeSignature #'transparent = ##t
     defaultBarType = #
     \remove Bar_number_engraver
     } 
      \context Staff
     {\override TextScript #'padding  #2
         \time 4/4
         c' e' g'1_I c' es' g'_Im \bar||
     des' f' as'1_\markup{ \flatII}
 cis' e' gis'1_\markup{\flatIIm} \bar ||
     d' fis' a'1_\markup{II}
 d' f' a'1_\markup{IIm} \bar ||

I fixed your example a bit (without changing):

\new Score \with {
  \override TimeSignature #'transparent = ##t
  defaultBarType = #
  \remove Bar_number_engraver
} 
  \context Staff {
\override TextScript #'padding = #2
\time 4/4
c' e' g'1_I c' es' g'_Im \bar||
des' f' as'1_\markup{ \flatII}
cis' e' gis'1_\markup{\flatIIm} \bar ||
d' fis' a'1_\markup{II}
d' f' a'1_\markup{IIm} \bar ||
  }


I would use:
\override TextScript #'staff-padding = #5

but the texts are still not perfectly aligned (because of their up-extents 
differing).

there should be a way to have them aligned on the text baseline. But I don't 
know it (yet).

another solution would be (ab)using lyrics:
\new Score \with {
  \override TimeSignature #'transparent = ##t
  defaultBarType = #
  \remove Bar_number_engraver
} 
  \context Staff {
\time 4/4
c' e' g'1 c' es' g' \bar||
des' f' as' cis' e' gis' \bar ||
d' fis' a' d' f' a' \bar ||
  } \addlyrics {
\markup I \markup Im
\markup{\flat II} \markup{\flat IIm}
\markup II \markup IIm
  }


best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
LilyKDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: crescendo beginning in middle of note duration

2008-03-08 Thread Wilbert Berendsen
Op zaterdag 8 maart 2008, schreef Peter Kaplan:
 Occasionally a crescendo or decrescendo needs to begin not at the
 commencement of a note's duration, but rather halfway through the note. 
 Can such a situation be properly typeset using lilypond?  If so, how?

Yes, one way I know of is by instantiating a temporary polyphony, and 
attaching the dynamic to a 'space':

  \new Staff \relative c' {
 g1\pp {s2 s\ a1 b\ff}
  }

best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
LilyKDE: http://lilykde.googlecode.com/
vb.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Introducing OrchestralLily: A package to easily create complex orchestral scores in lilypond

2008-03-02 Thread Wilbert Berendsen
Op zondag 2 maart 2008, schreef Reinhold Kainhofer:
 http://wiki.kainhofer.com/lilypond/orchestallily
The link did not work, it should be: 
http://wiki.kainhofer.com/lilypond/orchestrallily
:-)
best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
LilyKDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: shifting whole measure rest

2008-02-28 Thread Wilbert Berendsen
Op donderdag 28 februari 2008, schreef David Bobroff:
 I want to shift a full measure rest downwards below the staff.  This is
 to keep it from overlapping cue notes in the staff.  I *can* use
 #'extra-offset to move it but it doesn't have a ledger line above it to
 indicate that it is a whole rest.  It's just a floating box.  How can
 I get a centered whole measure rest below the staff?

\once \override MultiMeasureRest #'staff-position = #1

for 1 substitute staff line you want.

See
http://www.mail-archive.com/lilypond-user%40gnu.org/msg31550.html

best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
LilyKDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: error?

2008-02-27 Thread Wilbert Berendsen
Op woensdag 27 februari 2008, schreef James E. Bailey:
 I've got a minor problem. It's incredibly difficult to reproduce
 because of how it occurs, but I've got a little screenshot to show it.
 http://img3.freeimagehosting.net/uploads/569c91276e.jpg
 Basically, the double-sharp is a bit too close to the time signature
 for my tastes, and I'm wondering how I should start trying to change
 this.

Which LilyPond version are you using?

best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
LilyKDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyKDE, tool to work with LilyPond in KDE - problems with kpdf

2008-02-16 Thread Wilbert Berendsen
Op zaterdag 16 februari 2008, schreef Reinhold Kainhofer:
 Have you reported that bug at bugs.kde.org? Either for kpdf or for the
 kdirwatcher...

Yes, for KPDF. It should listen to the delete() and create() signals as well 
as dirty() :)

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ANN: LilyKDE, tool to work with LilyPond in KDE

2008-02-16 Thread Wilbert Berendsen
Op vrijdag 15 februari 2008, schreef Andrew Black:
 On Wed, Feb 13, 2008 at 08:39:11AM +0100, Wilbert Berendsen wrote:
  Hi,
 
  I just released version 0.3 of my shiny new lil' pet project: LilyKDE.
  It combines the power of KDE, Kate and KPDF to make editing LilyPond
  files in KDE easier. If you use KDE you might like it:
  http://lilykde.googlecode.com/

 Does this work with Gnome (Kate does).

Yes, I think so. It works with Kate and KPDF, and those can certainly be run 
from within GNOME.

best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
LilyKDE: http://lilykde.googlecode.com/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ANN: LilyKDE, tool to work with LilyPond in KDE

2008-02-13 Thread Wilbert Berendsen
Op donderdag 14 februari 2008, schreef Larry Kent:
 The site says if you want to preview pdf files, you need KPDF, but there's
 no button (that I can see) for downloading that.  What am I missing? -LK

KPDF is part of KDE (kdegraphics). When you have KDE you almost sure also have 
KPDF ;-)

best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond include scripts

2008-02-13 Thread Wilbert Berendsen
Op donderdag 14 februari 2008, schreef David Fedoruk:
 I don't think I can put the ovrrides and change Staff commands into a
 variable.

You can! I often use:

bakg = \override Beam #'auto-knee-gap = #6
rh = \change Staff = rh
lh = \change Staff = lh

etc. Fot stem direction LilyPond already knows \stemUp and \stemDown (and 
\stemNeutral to let LilyPond decide).

So your example would become:

\bakg r2 r4\mf d''16[ d' \lh \bakg \stemUp c' bf] | %bar 11
fs16[ \rh \stemDown ef' \lh \stemUp c' a] fs16[ \rh \stemDown c' \lh \stemUp 
bf g]

etc.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


ANN: LilyKDE, tool to work with LilyPond in KDE

2008-02-12 Thread Wilbert Berendsen
Hi,

I just released version 0.3 of my shiny new lil' pet project: LilyKDE.
It combines the power of KDE, Kate and KPDF to make editing LilyPond files in 
KDE easier. If you use KDE you might like it: http://lilykde.googlecode.com/

Best regards for all,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Point and click for Lilypond in KDE (was: Re: patch for scm/editor.scm to add KDE (Kate) support.)

2008-01-30 Thread Wilbert Berendsen
Because of the differences in Kate line numbering between KDE 3 and 4 I think 
it's better to handle the invocation of the editor inside KDE, bypassing 
lilypond-invoke-editor. So the patch I sent to lily-devel is not necessary.

I created two very small files that do the job. Both are attached, with a 
README. Hopefully this will once become a simple LilyPond/KDE package, with a 
nice helper plugin for Kate I'm trying to create.

with best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


ktexteditservice
Description: application/shellscript
[Protocol]
exec=ktexteditservice %u
protocol=textedit
input=none
output=none
helper=true
listing=
reading=false
writing=false
makedir=false
deleting=false
Icon=txt
Class=:local

Lilypond Point and Click for KDE (3.x and 4.x)
==

Nederlandse uitleg (English see below):

1. Plaats textedit.protocol in de KDE-services map, bijvoorbeeld
   ~/.kde/share/services/ of /usr/share/services/.

2. Plaats ktexteditservice ergens in het systeempad, bijvoorbeeld
   ~/bin/ of /usr/local/bin/ en maakt het uitvoerbaar:
   chmod +x ktexteditservice

Maak nu een Lilypond-bestand aan in Kate. Laat Lilypond een PDF
aanmaken, open deze in KPDF en klik in de PDF op een muzieknoot. Voilá!


English:

1. Put textedit.protocol somewhere in the KDE services directory, for
   example in ~/.kde/share/services/ or /usr/share/services/.

2. Put ktexteditservice somewhere in the system PATH, for example in
   ~/bin/ of /usr/local/bin/ and make it executable:
   chmod +x ktexteditservice

Now create a .ly file with Kate. Run Lilypond and open the resulting
PDF with KPDF. Click on music notes and see the cursor jump to the
correct location!


Note: Kate from KDE3 uses a different line numbering scheme than Kate
from KDE4. Please (un)comment the corresponding lines in ktexteditservice.

Contact: Wilbert Berendsen [EMAIL PROTECTED]
http://www.wilbertberendsen.nl/
Wed Jan 30 15:35:23 CET 2008
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \partial at the end of a piece and accidentals

2008-01-29 Thread Wilbert Berendsen
Op dinsdag 29 januari 2008, schreef Risto Vääräniemi:
 Dear All,

 I know it is not recommended to use \partial anywhere but at the
 beginning of a piece. There are situations, though, when a piece ends
 with an incomplete measure, perhaps to begin an another verse with an
 upbeat. How should this be done properly? I've been using \partial for
 that, too.

I think just put \bar|. at the end, without filling the measure totally, is 
no problem. If the other verse starts with an upbeat, but is in the same 
\score, you don't have to write partial in the next verse. If the \score ends 
at the \bar|. then there it is no problem that the bar is not filled 
totally.

 However, I stumbled across a weird accidental behaviour if I use
 \partial. If there's an accidental in the second last measure that
 isn't returned to a natural pitch before the bar line and the natural
 voice is used in the last measure the pitch has a natural sign. It's
 hard to explain – please, see the example. If the last measure is a
 full one there's no natural sign. Do you think if it is the same issue
 as in:
 http://lists.gnu.org/archive/html/lilypond-devel/2006-07/msg00062.html

Not sure, but I think this is a simpler issue.

I think this is because \partial puts back the time counter. So, you remain in 
the same measure and that's why (I think...) that the accidental is printed.

If I change your example to:

\relative c'
{
  \partial 4 c4 |
  cis2 d |
  c2. \bar |.
}

the accidental disappears.

w best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: time-signature with notes like (3/quarter symbol) [not solved]

2008-01-26 Thread Wilbert Berendsen
Op zaterdag 26 januari 2008, schreef padovani:
 Hi, I'm trying to write time signatures with note symbols instead of
 whole fractions...
 I'm trying to do that with markups but it doesn't like it...

 that is the code I tried:

 tsMarkup =\markup {\note #4. #1.0}

 {
   \override Staff.TimeSignature #'stencil = #ly:text-interface::print
   \override Staff.TimeSignature #'text = #tsMarkup
   \time 3/2
   c'2
 }

I think your markup should print the whole time signature, not just the note. 
After some experimenting, I came up with:

\paper{ ragged-right = ##t }

tsMarkup =\markup {
  \override #'(baseline-skip . 0.8)
  \column { \number 3 \fontsize #-3 \note #4 #-1.0 }}

{
  \override Staff.TimeSignature #'stencil = #ly:text-interface::print
  \override Staff.TimeSignature #'text = #tsMarkup
  \time 3/2
  c'2
}

But it does not work here (newest LilyPond from the git repository as of 
today), because somehow, the note is printed infinitely small, and I get 
these error messages:
programming error: Improbable offset for stencil: -inf staff space
and warning: infinity or NaN found in output, replacing by 0.0)

I would expect it to work, because when I print the \tsMarkup elsewhere, it 
prints nicely. Why doesn't it?

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi set instrument problem

2008-01-26 Thread Wilbert Berendsen
Op zaterdag 26 januari 2008, schreef Thomas Spuhler:
 Lilypond doesn't like my midi section:

Try:
\midi {
  \context {
\Score
tempoWholesPerMinute = #(ly:make-moment 90 4)
  }
  \context {
\Staff
midiInstrument = recorder
  }
}

The \set Staff.midiInstrument command shows that midiInstrument is to be set 
in the Staff context. I guess it will work when you place it in the \Staff 
context section. The '\set' and the 'Staff.' are not necessary then.

Alternatively, you can use
\set Staff.midiInstrument = recorder
just in the music.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Altering font

2008-01-21 Thread Wilbert Berendsen
Op maandag 21 januari 2008, schreef Thies Albrecht:
 Hi everybody!

 Currently I'm dealing with extending/altering lily's music font
 according to my needs. Now I'm stuck with the following:

 I want to alter a symbol, e.g. the notehead noteheads.s2. To do so I
 open feta20.pfa from /usr/share/lilypond/2.10.5/fonts/type1 in FontForge
 (v20061220), choose symbol noteheads.s2 by double-clicking on it, alter
 it, close the window and then by choosing File - Generate Fonts... -
 PS Type 1 (Ascii) save it again to .../type1/feta20.pfa. When I process
 a file containing for example

 \relative c'' {c4 d e f}

 I still get the old notehead symbol.

 Why doesn't the altered symbol appear? Can anyone give me a hint/link?
 Are there any other steps I have to do? Is it somehow not that easy as I
 think it is to alter/extend the existing font?

From what I understand the *pfa files are generated files, and depending on 
desired font size, a symbol is taken from one *pfa or another.

If I'm correct, to alter a symbol the best way is to alter the *.mf files in 
mf/ (mf=metafont).

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Partcombine and Lyrics [not solved]

2008-01-15 Thread Wilbert Berendsen
Op woensdag 19 september 2007, schreef Johan Vromans:
   
     \new Staff = smed 
       \new Voice = med  {
 \set Staff.printPartCombineTexts = ##f
 \partcombine \medMusic \lowMusic
       }
     
     \new Lyrics = med { s1 }
     \context Lyrics = med \lyricsto med \medWords
   

 However, now Lilypond complains cannot find Voice 'med'.

 How can I add lyrics to combined parts?

I tried \context Lyrics = med \lyricsto one \medWords .
Partcombine creates two voices, named one and two.
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Automatic-part-combining

Creating a Voice is not necessary as well, I thought, but I tried getting this 
to work:


\new Staff \partcombine {g' c''} {c' e'}
\new Lyrics \lyricsto two { Hey -- Hoo! }


But it didn't. Is it possible to use \partcombine with lyrics? I'm looking for 
a solution to this as well...

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Partcombine and Lyrics [not solved]

2008-01-15 Thread Wilbert Berendsen
Op woensdag 16 januari 2008, schreef Wilbert Berendsen:
  I'm looking for a solution to this as well...
Hmmm, just read http://osdir.com/ml/gnu.lilypond.devel/2004-07/msg00066.html

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


same lyrics to multiple voices at once

2008-01-14 Thread Wilbert Berendsen
I want to set a simple homophonic choir piece, with 4 voices on two staffs and 
the lyrics in between. When any of the voices has a melisma, I want the text 
to align correctly (not just when the soprano has a melisma), and also 
extender lines to be drawn correctly.

To achieve this (without changing associatedVoice each and every time another 
voice has a melisma) I try to plant all voices onto each other in one voice 
and have the lyrics attach to that voice. Of course, I don't want that voice 
to print.

\version2.11

sop = {a'2 b'4( a')}
alt = {g'4( f') g'2}

lyr = \lyricmode { One __ Two __ }

\score { 
  \new Staff  \sop \\ \alt 
  \new Devnull \new Voice = devnull  \sop \alt 
  \new Lyrics \lyricsto devnull \lyr
 }

But alas, this does not work, because the Devnull does not want to swallow 
other contexts. But \lyricsto doesn't want to attach to a Devnull directly. 
Is there a way to print the stacked voice in a normal staff, but remove that 
staff from view?

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fitting more bars in a line

2008-01-13 Thread Wilbert Berendsen
Op zaterdag 12 januari 2008, schreef Keith Dunsire:
 Please can anyone suggest what I can do to fit 8 or 9 bars per line rather
 than 7 or 8.

I get the best results with the system-count variable, try putting
\layout { system-count = 11 } in the score section of the first part and 
\layout { system-count = 10 } in the score section of the second part.

best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Git ebuild

2008-01-10 Thread Wilbert Berendsen
Op woensdag 9 januari 2008, schreef milarepa7:
 Hello,
 I'd like to know if one of you use the git sources with portage?
 I didn't find any ebuild and I've to admit that it's not easy for me to
 write one.
 It's sure there's gentoo users working with these versions how do you do
 that?

I use Gentoo, but install my lily manually from git to /usr/local/ ...

w best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: position whole measure rest

2008-01-09 Thread Wilbert Berendsen
Op woensdag 9 januari 2008, schreef Wilbert Berendsen:
 Hello, I know that I can position a rest vertically using e.g. d'1\rest .

 But how can I alter the vertical position of a whole-measure rest (R1)? I
 want it to move outside the staff, so it should also get a ledger line.

 \relative c' 
   { e2 e4 a } \\
   { R1 }


 The R1 is drawn too close to the notes.

Two people replied with 
\once \override MultiMeasureRest #'staff-position =#-7

it works! Thanks!

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


position whole measure rest

2008-01-08 Thread Wilbert Berendsen
Hello, I know that I can position a rest vertically using e.g. d'1\rest .

But how can I alter the vertical position of a whole-measure rest (R1)? I want 
it to move outside the staff, so it should also get a ledger line.

\relative c' 
{ e2 e4 a } \\
{ R1 }


The R1 is drawn too close to the notes.

TIA,
with best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi
attachment: whole-rest.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: font and staff size

2008-01-08 Thread Wilbert Berendsen
Op maandag 7 januari 2008, schreef Werner:
 I want to use a less heavy font (smaller notes or wider staff) - less
 black on paper. So maybe I should combine the font feta18 with staff-sice
 20 or 21. But how to set the font size?

Try \set Staff.fontSize = #-1

http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Size-of-objects

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Filling the page

2008-01-05 Thread Wilbert Berendsen
Op zondag 6 januari 2008, schreef Reilly:
 I want to increase the vertical
 spacing to fill out two pages evenly.

Try:
\paper {
 ragged-last-bottom = ##f
}

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: caesura usage

2008-01-01 Thread Wilbert Berendsen
Op dinsdag 1 januari 2008, schreef Paul Scott:

\version 2.11.36

caesuraOn = \override BreathingSign #'text = 
  #(make-musicglyph-markup scripts.caesura.straight) 

caesuraOff = \override BreathingSign #'text = 
  #(make-musicglyph-markup scripts.rcomma) 

{ 
  c'4 
  \caesuraOn \breathe 
  d' 
  \caesuraOff \breathe 
  e' 
  \caesuraOn \breathe % \caesuraOff
  d' 
}

I think you should only use \caesuraOff after the next note, not directly 
after the \breathe.

caesuraOff could be changed to:

caesuraOff = \revert BreathingSign #'text

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: tupletspanner duration

2008-01-01 Thread Wilbert Berendsen
Op dinsdag 1 januari 2008, schreef Stefan Thomas:
 in the below qoted file I have a problem with the tuplet spanner,
 wich is to short in the 5th measure.
 I think it has to Do with the
  \set tupletSpannerDuration = #(ly:make-moment 1 4) . Is there a
 possibility to revert this?

Put
\set tupletSpannerDuration = #(ly:make-moment 1 2)
or maybe better
\unset tupletSpannerDuration

just before the last \times .

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: A spacing issue - moving a single note

2008-01-01 Thread Wilbert Berendsen
Op dinsdag 1 januari 2008, schreef Alasdair McAndrew:
 I have a situation like

 f8.[ \clef alto c'16]

 where the alto clef and the extra beam on the 16th note overlap.  I want to
 keep the beam, as I want my typeset score to reflect as much as possible
 the original 17th century manuscript from which I'm working.  So what I
 want to do is to move the c'16 to the right a little bit.  Alternatively,
 add some hard space (such as can be done in TeX/LaTeX).  What is the best
 way of doing this?

On my 2.11.36 the extra beam does not collide with the clef, but you could 
look at \shiftOn, \shiftOnn etc. to move a note column:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Collision-resolution

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: caesura usage

2007-12-31 Thread Wilbert Berendsen
Op zondag 30 december 2007, schreef Paul Scott:
 I used to be able to replace the breath mark with something like the
 following which I have corrected for the new straight caesura glyph name:

 caesuraOn = \override BreathingSign #'text =
 #(make-musicglyph-markup scripts.caesura.straight)

 The \breathe command would put the caesura glpyh right where I wanted it.

 This code used as:

 \caesuraOn \breathe

 doesn't seem to work in 2.11.36 (I get scripts.rcomma).

I created a file only containing:
---8--8--
caesuraOn = \override BreathingSign #'text =
#(make-musicglyph-markup scripts.caesura.straight)

{ c d
\caesuraOn \breathe
e f }
---8--8--

which works well in my recent 2.11.36 (git master).

best regards and happy new year,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: distances between staff lines

2007-12-29 Thread Wilbert Berendsen
Op donderdag 27 december 2007, schreef Stefan Thomas:
 Is it possible to change the distances between the lines of a single
 staff? I am thinking of a special percussion staff. I'm using version
 2.11.34

This may help: http://lsr.dsi.unimi.it/LSR/Item?id=224

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: macro for instrument changes

2007-12-29 Thread Wilbert Berendsen
Op vrijdag 28 december 2007, schreef Valentin Villenave:
 So, who's up for writing a snippet? :)

I wrote this, which works well in 2.11.36:

changeInstrument =
#(define-music-function (parser location string) (string?)
(make-music
'TextScriptEvent
'direction UP
'text (markup #:bold (#:box string

inst = #changeInstrument % a more convenient name

{ c \inst Horn d e f }

Write \inst Name (or \changeInstrument Name) before the note the markup 
should be attached to.

Of course you could also do:
englishHorn = \markup \box \bold English Horn
etc.


Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stem extend doe not work

2007-12-26 Thread Wilbert Berendsen
Op woensdag 26 december 2007, schreef Stefan Thomas:
 Dear Lilypond-users,
 I tried the thing with  stems extended over two piano staves.
 But the below quoted exemple did'nt work and I do not know the
 reason. Could You give me an advice?

What I changed:
- remove the \once 's so it lasts for more than one note
- add \autoBeamOff so no beams are drawn
- add \noFlag (you forgot)

%snippet
stemExtend = {
   \override Stem #'length = #20
   \override Stem #'cross-staff = ##t
}

noFlag = \override Stem #'flag-style = #'no-flag
   
 \new PianoStaff 
   \new Staff \relative c' { c8.  c16~  c16  c8 des16~ des2

   }
   \new Staff \relative c{
 \clef bass \stemUp \autoBeamOff \noFlag  \stemExtend fis8. fis16~ 
\stemExtend
fis16 fis8 f16~ f2

 }
 
%end snippet

You should fiddle with the Stem#'length and may be add macros to revert hte 
overrides, like:

stemExtendOff = {
\revert Stem #'cross-staff
\revert Stem #'length
}
etc.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


lots of 'cruelty to springs' and 'insane blocking force'

2007-12-23 Thread Wilbert Berendsen
Typesetting a 7/8 page file today with current (yesterday) git I get lots 
of  'cruelty to springs' and 'insane blocking force' programming errors, a 
very unevenly spaced layout (with even some systems too long or to short, 
although ragged-right = ##f). 

Lyrics seem to be the problem. Some words are very close together, other words 
are very far away. When I just delete all the lyrics from the score, the 
problem disappears.

I can't reproduce it with a smaller file because then the problem 
disappears I can post the file or some example image. There are no 
special tweaks in the file, just notes and lyrics.

The file was typset earlier with 2.11.32, with no problems.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Alternate endings without repeat marks

2007-12-19 Thread Wilbert Berendsen
Op woensdag 19 december 2007, schreef Garrett Fitzgerald:
 Ok, I'll try that. Is there any other way to show an alternate ending
 directly? After all, it's not a true volta, since the verse comes
 before the repeat...

See Manual repeat commands
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Manual-repeat-commands

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed for the Free Software Song

2007-12-11 Thread Wilbert Berendsen
attached new file and a diff, tested with 2.11.36
Converted to 2.10, added closing barline.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi
 %#(ly:set-option 'old-relative)
 \header {
 filename = free.ly
 title = The Free Software Song
 enteredby = David Madore
 
 
 arranger = To the melody of Sadi Moma.
 
 tagline = \markup {\center-align { Copyright © 1993 Richard Stallman
Verbatim copying and distribution of this entire score is permitted in any 
medium,
provided this notice is preserved.
Typeset by David Madore using GNU LilyPond. } }
 
 }
 
 \version 2.10

 %{
 Converted to 2.10, added closing barline.
 Added some extenders and deleted one erroneous hyphen.
 -- Wilbert Berendsen [EMAIL PROTECTED]
 %} 

 %{
 About the following two comments: I don't know how to get this Lilypond
to insert them in the LaTeX output. I'm inserting them manually in the
titledefs file. (Somebody *please* tell me a better way.)
 -- David Madore [EMAIL PROTECTED]
 %}
 
 %{
 Changed a syllabification a little, converted to 1.3.122 (feb 18, 2001)
 
 Han-Wen Nienhuys [EMAIL PROTECTED] 
 
 Converted to 2.4.2, fixed mistakes with alignment  spelling (dec 10, 2004)
 
 Erik Sandberg [EMAIL PROTECTED]
 %}
 
 %{
 To the melody of Sadi Moma.
 %}
 
 %{
 Copyright \copyright 1993 Richard Stallman
 
 Verbatim copying and distribution of this entire score is permitted
in any medium, provided this notice is preserved.
 
 Typeset by David Madore using GNU Lilypond.
 %}
 
 firstVoice = \relative c' {
 \time 7/4
 \clef violin
 d'2 c4 b2 a2
 b2 c4 b4 ( a4) g2
 g2. a2. ( b4)
 c2. b2 b4 ( d4)
 a2. a1
 c2 ( d4 c4 b2.)
 d2 c4 b2 a2
 b2 c4 b4 ( a4) g2
 g2. a2. ( b4)
 c2. b2 b4 ( d4)
 a2. a1
 a1..
 \bar |.
}
 
 secondVoice = \relative c' {
 \time 7/4
 \clef violin
 b'2 a4 g2 d2
 g2 g4 g2 d2
 g2. g1
 g2. g2 g2
 d2. d1
 g1..
 b2 a4 g2 d2
 g2 g4 g2 d2
 g2. g1
 g2. g2 g2
 d2. d1
 e1..
}
 
 wordsOne = \lyricmode {
 Join us now and
 share the so -- ftware
 You'll be __
 free ha -- ckers,
 you'll be
 free __
 Join us now and
 share the so -- ftware
 You'll be __
 free ha -- ckers,
 you'll be
 free.
}
 
 wordsTwo = \lyricmode {
 Hoar -- ders may get
 piles of mo -- ney,
 That is __
 true, ha -- ckers,
 that is
 true __
 But they can -- not
 help their neigh -- bors
 That's not __
 good, ha -- ckers,
 that's not
 good.
}
 
 wordsThree = \lyricmode {
 When we have e -- nough free so -- ftware 
 At our __
 call, ha -- ckers,
 at our
 call, __
 We'll kick out those
 \set ignoreMelismata = ##t % for li -- cen -- ses
 dir -- ty li -- cen -- ses
 \unset ignoreMelismata
 E -- ver __ more, ha -- ckers,
 E -- ver more.
}
 
 \score {
 
 \new Staff \context Voice = VA 
 \set Staff.midiInstrument = whistle
 \firstVoice
 
 \new Lyrics \lyricsto VA \wordsOne 
 \new Lyrics \lyricsto VA \wordsTwo
 \new Lyrics \lyricsto VA \wordsThree
 
 \new Staff 
 \set Staff.midiInstrument = orchestral strings
 \secondVoice
 
 
 
 \layout { }
 % this is approximately the tempo rms sang the song in his legendary recording.
 \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 110 2) } }
}--- free-software-song-orig.ly	2007-12-11 15:08:49.0 +0100
+++ free-software-song.ly	2007-12-11 15:40:05.0 +0100
@@ -7,15 +7,21 @@
  
  arranger = To the melody of Sadi Moma.
  
- tagline = \markup {\column  Copyright \copyright 1993 Richard Stallman
-Verbatim copying and distribution of this entire score is permitted
-in any medium, provided this notice is preserved.
-Typeset by David Madore using GNU LilyPond. }
+ tagline = \markup {\center-align { Copyright © 1993 Richard Stallman
+Verbatim copying and distribution of this entire score is permitted in any medium,
+provided this notice is preserved.
+Typeset by David Madore using GNU LilyPond. } }
  
  }
  
- \version 2.4.0
- 
+ \version 2.10
+
+ %{
+ Converted to 2.10, added closing barline.
+ Added some extenders and deleted one erroneous hyphen.
+ -- Wilbert Berendsen [EMAIL PROTECTED]
+ %} 
+
  %{
  About the following two comments: I don't know how to get this Lilypond
 to insert them in the LaTeX output. I'm inserting them manually in the
@@ -61,6 +67,7 @@
  c2. b2 b4 ( d4)
  a2. a1
  a1..
+ \bar |.
 }
  
  secondVoice = \relative c' {
@@ -81,15 +88,15 @@
 }
  
  wordsOne = \lyricmode {
- Join4 us now and
+ Join us now and
  share the so -- ftware
- You'll be
+ You'll be __
  free ha -- ckers,
  you'll be
  free __
  Join us now and
  share the so -- ftware
- You'll be --
+ You'll be __
  free ha -- ckers,
  you'll be
  free.
@@ -98,7 +105,7 @@
  wordsTwo = \lyricmode {
  Hoar -- ders may get
  piles of mo -- ney,
- That is 
+ That is __
  true, ha -- ckers,
  that is
  true __
@@ -112,7 +119,7 @@
  
  wordsThree = \lyricmode {
  When we have e -- nough free so -- ftware 
- At our
+ At our __
  call, ha -- ckers,
  at our
  call, __
@@ -120,7 +127,7 @@
  \set ignoreMelismata = ##t % for li -- cen -- ses
  dir

Re: instrument names in some contexts

2007-12-10 Thread Wilbert Berendsen
Op maandag 10 december 2007, schreef Mats Bengtsson:
 Wilbert Berendsen wrote:
  Isn't it a good idea to add the instrument_name_engraver by default to
  the ChoirStaff, GrandStaff and StaffGroup contexts?

 Sure! 

There is a little issue with the instrumentName in e.g. the ChoirStaff: when 
there are lyrics below the bottom-most staff, but not above the top staff 
(which is often the case) the Instrument Name is not exactly vertically 
centered in front of the system start brace, but appears to be too low 
(because the lyrics context below the bottom staff is also taken into 
account).

Having the instrument_name_engraver in the ChoirStaff is useful for 
double-choir music, etc.



(a little OT:)
 Why not go one step further and remove the PianoStaff context 
 completely.
 By now, the only difference compared to a GrandStaff is the
 Instrument_name_engraver
 which exists in the PianoStaff context, but not in GrandStaff.

Yes, but I think the PianoStaff should stay, there may be small adjustments 
(e.g. concerning kneed cross staff beams etc) that distinguish the 
PianoStaff. Also I think it is a very clear name for a staffgroup with a 
clear purpose. (I could imagine the GrandStaff being removed instead...)


Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


instrument names in some contexts (was: Re: Padding around instrument names)

2007-12-05 Thread Wilbert Berendsen
Op zondag 19 augustus 2007, schreef Reinhold Kainhofer:
 While we are at it: Is there any way to vertically center the
 instrumentName for a ChoirStaff, GrandStaff or StaffGroup? Here is an
 example snippet that does not work (the instrument name is shown at the
 top, not vertically centered):

 \version 2.11.30
 \new ChoirStaff \relative
 
   \new Staff { c1 \break c1 }
   \new Staff { c1 \break c1 }
   \set Staff.instrumentName = Choir
   \set Staff.shortInstrumentName = Ch.



 If I use a PianoStaff and set PianoStaff.instrumentName, then the
 instrument name is vertically centered:

 \version 2.11.30
 \new PianoStaff \relative
 
   \new Staff { c1 \break c1 }
   \new Staff { c1 \break c1 }
   \set PianoStaff.instrumentName = Piano
   \set PianoStaff.shortInstrumentName = P.



 But I haven't been able to achieve the same for other multi-staves staff
 types. In particular

 \version 2.11.30
 \new ChoirStaff \relative
 
   \new Staff { c1 \break c1 }
   \new Staff { c1 \break c1 }
   \set ChoirStaff.instrumentName = Choir
   \set ChoirStaff.shortInstrumentName = Ch.


 does not print any instrument names.

Isn't it a good idea to add the instrument_name_engraver by default to the 
ChoirStaff, GrandStaff and StaffGroup contexts?


Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Vertical spacing

2007-12-03 Thread Wilbert Berendsen
Op zondag 2 december 2007, schreef Garrett Fitzgerald:
 Evening, all. I have 4 staffs (solo and chorus) that fit nicely on one
 page. I just added chord names, and blew it up so that only 3 staffs
 would fit on the first page. How do I move the chord names closer to
 the staff so that there's actually enough room? I tried extra-offset,
 but that didn't seem to do it... Tweaking the staff-size works, but
 the size it was originally at was very readable.

From my little experience: You could play with VerticalAxisGroup 
#'minimum-Y-extent of the staffs or chordnames contexts, to get lyrics and 
chordnames a little closer. See the docs.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Change BarLines between transparent and black

2007-11-30 Thread Wilbert Berendsen
Op vrijdag 30 november 2007, schreef hildegard kuen:
 If I write a \new Staff \with {  \override BarLine #'transparent = ##t}
 how can I have a not transparent Barline for a single bar in the piece?

by entering at the moment the barline should occur:

\once \override Staff.BarLine #'transparent = ##f

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Formatting lyrics syllables

2007-11-12 Thread Wilbert Berendsen
Op dinsdag 13 november 2007, schreef Reinhold Kainhofer:
 Is it possible in Lilypond to format only some lyrics syllables, e.g. in
 bold or in italics?

http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Entering-lyrics

shows an example of how to embed overrides; i guess (but did not try) that 
\once also would work.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Simple? Stretch a couple of measures.

2007-11-08 Thread Wilbert Berendsen
Op donderdag 8 november 2007, schreef Jeff Elliott:
 ragged-last-bottom = ##t

 Would that make a difference?

I think so, because Lilypond will then probably create more systems and 
therefore make another arrangement of measures.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: trouble with piano staff dynamics

2007-11-07 Thread Wilbert Berendsen
Op woensdag 7 november 2007, schreef Kieren MacMillan:
 Hi, Michael:
  I am having trouble making dynamics that apply to both treble and
  bass clef. How
  do I apply dynamics to both at the same time?

 If you put the dynamics in-line in the treble staff music, then
 simply use \dynamicDown to force the dynamics to appear below the
 upper staff (and, therefore, between the two staves) -- e.g., in your
 \score declaration, use something like

 \score
 {
   \new PianoStaff
   
   \new Staff = upper  \dynamicUp \RHMusic 
   \new Staff = lower  \LHMusic 

 }

But will the dynamics work on the midi output of the left hand?

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: minimum after-BarLine space in 2.11

2007-11-07 Thread Wilbert Berendsen
Op woensdag 7 november 2007, schreef Kieren MacMillan:
 \override BarLine #'space-alist #'next-note = #'(semi-fixed-space . 1.2)

Just a question to improve my Lily understanding: Can this also be written as:

\override BarLine #'space-alist #'next-note #'semi-fixed-space = 1.2

?

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Simple? Stretch a couple of measures.

2007-11-07 Thread Wilbert Berendsen
Op woensdag 7 november 2007, schreef fedge:
 Hi,

 At the end of my piece, the last staff has two bars (measures). With:

 ragged-right = ##f

 The 2 measures are too STRETCHED out. With:

 ragged-right = ##t

 The 2 measures are too CLOSE together.

 I don't really want proportional spacing.  And I'm sure there's a simple
 way to do this, but I can't seem to find anything that works.

How many pages has the piece?

Are you using ragged-last-bottom = ##f or ##t ?


Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


still space between lyric syllabes when hyphens are removed

2007-11-04 Thread Wilbert Berendsen
Hi,

When lyric syllabes with a hyphen in between come very close together, the 
hyphen is removed. Which is OK. But: sometimes there is still a little bit of 
space between the syllabes.

What I would like is that IF the hyphen is removed (e.g. when shorter than 1 
staffspace), the syllabes are placed fully together (including kerning), and 
not with a (small) space in between. Would that be possible with some 
setting?

I know how I can force the hyphens to be there, but actually I like the 
possibility of removing the hyphens. But if they are removed, the syllabes 
must really look like one word, and not still have a small distance.

Tia,
Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Newbie question about variable durations

2007-11-04 Thread Wilbert Berendsen
Op zaterdag 3 november 2007, schreef Ben:
 I thought I had this figured out, but now I'm stuck. My program generates
 midi notes and converts them to lily variables (ie noteone = {ees'} ). What
 I need to do next is add my durations onto them. It seems so simple but I
 get error after error.

Yes, you can't simply write
\noteone4
to get ees'4 when \noteone is set to {ees'}

this has bitten me as well, and it is caused by the fact that \noteone is not 
just some string, but a fully-fledged music expression.

I have no simple solution. I think it would involve writing a small scheme 
function to take a music expr and replaces it's duration.

You could maybe look at 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Music-functions


Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chords do not appear at the right position

2007-11-04 Thread Wilbert Berendsen
Hi Niklas Uhrberg,

I forward your questions to the user mailinglist.

op zondag 4 november 2007, schreef je:
 Ok, thanks a lot for answering.

 I got it working also by using chordmode copying one of the templates.

 Is there a way to have triangle denoting a major seven chord appear
 aligned with the chord symbol (e.g. 'C') instead of in the upper
 position (the same height as the normal alteration symbols such as
 '+5' '7' ?
 I'm have not seen the 'major triangle' at this upper position before.

 I have just discovered Lilypond and it looks promising for my needs.

 I'm going to try the import tool to convert from MusicXML to ly and if
 that works fine things are just wonderful.

The MusicXML import tool has recently seen much development, so the most 
recent Lilypond version will probably work well!

 Thanks for great sowtware!

 Best regards,

 Niklas

 On Nov 4, 2007 9:02 PM, Wilbert Berendsen [EMAIL PROTECTED] wrote:
  this is not a bug, you should write:
 
  \version 2.10.29
  
   \chords { c1 |
 c1 |
 g2:7sus4 c2  |
 c1
 }
 
   \relative c'' {
   g4. c8 ~ c4 e4 ~ |
   e2. r4 |
   d4. e8 ~ e4 c4 ~ |
   c1 |
 }
 
 
  note the added  and . Otherwise, the chords and the notes create just
  two unrelated music scores.
 
  Met vriendelijke groet,
  Wilbert Berendsen
 
  --
  http://www.wilbertberendsen.nl/
  You must be the change you wish to see in the world.
  -- Mahatma Gandi



Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: typeset lyrics

2007-11-03 Thread Wilbert Berendsen
Op vrijdag 2 november 2007, schreef Ole Schmidt:
 I'am a bit shy to out my ignorance...

 what I'am missing (maybe I overlooked it) is an overview (maybe a
 sort of tree?) of how the
 all the terms:
 \score
   \new Staff
   \new Voice
   \VoiceOne
   \VoiceTwo
 \oneVoice
 are (hieracial) related 

AFAIK Score, Staff and Voice are nested indeed, but \voiceOne,Two,Three, etc. 
and \oneVoice are simply commands that set some paramaters regarding stem 
direction, horizontal placement etc.

 and how their encapsulation  (   and { }) works

 expr1 expr2 expr3  stacks the expressions vertical and { expr expr } 
horizontal.

 There is also the  {  } \\ {  }  model for polyphony, when to use
 which construction?

See:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Explicitly-instantiating-voices

 Another point are the rules of  the \relative mode when you have
 polyphony/chord constructions (how to use , and ' properly)

See: 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Relative-octaves

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Snap-pizzicato in Liliypond?

2007-11-03 Thread Wilbert Berendsen
Op woensdag 31 oktober 2007, schreef Reinhold Kainhofer:
 Hi,
 How can I create a snap-pizzicato (aka. Bartok-pizzicato) in lilypond?
 The articulation should look like the one shown in Wikipedia:
 http://en.wikipedia.org/wiki/Modern_musical_symbols#Articulation_marks

See: http://www.mail-archive.com/lilypond-user%40gnu.org/msg30785.html

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Snap-pizzicato in Liliypond?

2007-11-03 Thread Wilbert Berendsen
[resent because i initially sent with a wrong sender address]

Op woensdag 31 oktober 2007, schreef Reinhold Kainhofer:
 Hi,
 How can I create a snap-pizzicato (aka. Bartok-pizzicato) in lilypond?
 The articulation should look like the one shown in Wikipedia:
 http://en.wikipedia.org/wiki/Modern_musical_symbols#Articulation_marks

See: http://www.mail-archive.com/lilypond-user%40gnu.org/msg30785.html

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: typeset lyrics

2007-11-02 Thread Wilbert Berendsen
[resent because i initially sent with a wrong sender address]

Op vrijdag 2 november 2007, schreef Ole Schmidt:
 I'am a bit shy to out my ignorance...

 what I'am missing (maybe I overlooked it) is an overview (maybe a
 sort of tree?) of how the
 all the terms:
 \score
   \new Staff
   \new Voice
   \VoiceOne
   \VoiceTwo
 \oneVoice
 are (hieracial) related 

AFAIK Score, Staff and Voice are nested indeed, but \voiceOne,Two,Three, etc. 
and \oneVoice are simply commands that set some paramaters regarding stem 
direction, horizontal placement etc.

 and how their encapsulation  (   and { }) works

 expr1 expr2 expr3  stacks the expressions vertical and { expr expr } 
horizontal.

 There is also the  {  } \\ {  }  model for polyphony, when to use
 which construction?

See:
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Explicitly-instantiating-voices

 Another point are the rules of  the \relative mode when you have
 polyphony/chord constructions (how to use , and ' properly)

See: 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Relative-octaves

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Snap-pizzicato in Liliypond?

2007-11-02 Thread Wilbert Berendsen
[resent because i initially sent with a wrong sender address]

Op woensdag 31 oktober 2007, schreef Reinhold Kainhofer:
 Hi,
 How can I create a snap-pizzicato (aka. Bartok-pizzicato) in lilypond?
 The articulation should look like the one shown in Wikipedia:
 http://en.wikipedia.org/wiki/Modern_musical_symbols#Articulation_marks

See: http://www.mail-archive.com/lilypond-user%40gnu.org/msg30785.html

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with accidental-style

2007-10-29 Thread Wilbert Berendsen
Op maandag 29 oktober 2007, schreef Tao Cumplido:
 I am in e-flat minor and I want to print a g-sharp and lilypond puts by
 default a natural and a sharp sign before the g. now I want the natural
 sign to disappear but can't figure out which accidental-style I have to
 use.

See http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Accidentals
scroll to the bottom.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


trying to learn scheme...

2007-10-13 Thread Wilbert Berendsen
I am currently learning Scheme to master lilypond even better
but I miss some clear docs about music-map and define-music-function.

I try to write a function that replaces pitches in a repetitive pattern 
(e.g. : c8 d16 c d8 c d16 c d8 c d ) with other pitches.
so that I can say:
myPattern = {c8 d16 c d8 c d16 c d8 c d } %(a global variable)

pat = #(define-music-function (parser location p1 p2) (ly:music? ly:music?) 
etc.

and then have \pat aes des' return: aes8 des'16 aes des8 etc.

The function could call music-map to process the pattern, note by note, 
replacing the pitches with the pitches in p1 and p2, but I'm not sure how I 
can give those pitches as well as arguments to the function called by 
music-map. Should I nest a (define) to create a function that already 
encapsulates the two piches or a lambda expression? I'm not quite sure and 
can't get it to work yet :-)

I could use the example in Bach's WK1 prelude, but that's using \applyMusic 
and I understood that define-music-function is the preferred way of creating 
functions to manipulate music :-)


Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: trying to learn scheme... (solved)

2007-10-13 Thread Wilbert Berendsen
this worked:

#(define (transform m p1 p2)
(let ((p (ly:music-property m 'pitch)))
(if (ly:pitch? p)
(let ((n (ly:pitch-notename p)))
(if (= n 0)
(ly:music-set-property! m 'pitch p1)
(ly:music-set-property! m 'pitch p2)
m)

#(define (find-pitch music)
   (let* ((p (ly:music-property
  (car (ly:music-property music 'elements))
  'pitch)))
p))

myPattern = { c8 d16 c d8 c d16 c d8 c d }

pat = #(define-music-function (parser location m1 m2) (ly:music? ly:music?)
(let* ((p1 (find-pitch m1))
   (p2 (find-pitch m2)))
(music-map (lambda (m) (transform m p1 p2)) myPattern)))


\relative c' { \pat e g }

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


scheme manipulating patterns and \relative

2007-10-13 Thread Wilbert Berendsen
I now wrote this:

#(define (transform chord m1 m2)
(let* ((note (car (ly:music-property chord 'elements)))
   (dur (ly:music-property note 'duration))
   (pitch (ly:pitch-notename (ly:music-property note 'pitch)))
   (new (ly:music-deep-copy (if (= pitch 0) m1 m2
 (make-music 'EventChord 'elements
   (map (lambda (m) (ly:music-set-property! m 'duration dur) m) 
(ly:music-property new 'elements)

pat = #(define-music-function (parser location m1 m2) (ly:music? ly:music?)
(make-music 'SequentialMusic 'elements
  (map (lambda (m) (transform m m1 m2)) (ly:music-property 
thePattern 'elements

thePattern = { c8 d16 c d8 c d16 c d8 c d }

so \pat d e f g also works.

But when in relative mode larger intervals are used, e.g.:
 \relative c' { \pat c c' }
each c is put one octave higher. How can I get this to work so that every c 
just stays in the same octave?

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: searching score

2007-10-12 Thread Wilbert Berendsen
Op vrijdag 12 oktober 2007, schreef Helge Kruse:
 Hello,

 I just wonder, if you know, if the Ave Maria by Schubert has been notated
 with Lilypond. I did not found it at Mutopia.

 Sorry, if this is off-topic.


http://www.google.nl/search?q=schubert+ave+maria+filetype:pdf
or
http://www.google.nl/search?q=schubert+ave+maria+lilypond
yields among other scores a lilypond engraved one:
http://www.math.psu.edu/ryham/music/schubert.pdf

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: is it possible to glue two staff's together? (hymn solution)

2007-10-05 Thread Wilbert Berendsen
Op donderdag 4 oktober 2007, schreef Ted Walther:
 In hymn typesetting, the refrain is nicely centered between the bass and
 treble clefs.

 If it were possible to glue two staffs together, end to end, that
 would solve the problem.  I could attach the refrain lyrics to the
 second staff, and put the verses of the hymn into the first staff.

Maybe the new spacing techniques in 2.11 could allow for lyrics to be centered 
between staffs?

e.g: have 5 Lyrics contexts:

verse 1
verse 2
  skips   refrain
verse 3
verse 4

and have verse 2 and 3 just close to each other because there is are only 
skips in the refrain lyrics. I didn't try.

when there is an odd number of verses, the refrain lyrics could be added to 
the middle verse.

with best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: printing Staff Symbol before \stopStaff

2007-10-02 Thread Wilbert Berendsen
You can set firstClef to #f, and remove Time_signature_engraver from the 
ossia-staff.

See e.g. http://lilypond.org/doc/v2.11/input/manual/lily-6910c8f3a6.ly

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


footnotes?

2007-09-10 Thread Wilbert Berendsen
Is there a way to create footnotes? I.e. a command to add a footnote 
(containing markup) to the bottom of the current page, without stopping a 
\score and writing a toplevel \markup ?

tia,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


autolinebreaks in measureless music

2007-09-07 Thread Wilbert Berendsen
For certain (measureless) church music (e.g. Genevian Psalms) I set 
Score.timing = ##f so there are no barlines. But then lilypond tries to put 
everything on one line.

Is it possible to have lilypond automagically break lines so I don't have to 
put \bar everywhere to manually create places for breaking lines?

Or is setting e.g. \time 1/2 and remove timesig and barline engravers the 
better way to get what I want?

tiafah :)
w. best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: kneed spacing too tight, as of git 4 august (recently introduced regression)

2007-08-15 Thread Wilbert Berendsen
Op donderdag 16 augustus 2007, schreef Wilbert Berendsen:
 after that I tested the jneeman branch of my file

I meant I tested the jneeman branch on my file :-)

w best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: kneed spacing too tight, as of git 4 august (recently introduced regression)

2007-08-15 Thread Wilbert Berendsen
Op donderdag 16 augustus 2007, schreef Wilbert Berendsen:
 I meant I tested the jneeman branch on my file :-)

I'm sorry, this was meant for the bug list, it's late should get to 
sleep.. :)
best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


some related bugs with cross-staff beams and clef changes

2007-07-29 Thread Wilbert Berendsen
Hi all,

this file: http://www.xs4all.nl/~wbsoft/prelude.pdf (my try to typeset music 
by Pierné which enters the public domain next year) shows some related bugs 
in todays git. Source: http://www.xs4all.nl/~wbsoft/prelude.ly .

There is one voice with music constantly switching staves, with kneed 
cross-staff beams and some clef changes.

These are the 'defects' in lilypond's typesetting:

- the small clefs take up unnecessary space when there are notes in that 
measure before the clef change. E.g. measure 1 and 2. When the clef change is 
the first thing to happen inside a measure the display is ok, e.g. measure 9 
and 16 (the first clef, the second one takes too much space).

- measure 19 shows a bigger bug: the notes are drawn over the key signature. 
When I lower the music one octave, the problem goes away. So this must be 
some side-spacing related bug, occuring with kneed cross-staff beams. I was 
not able to reproduce this bug in a smaller file, that's why I post the full 
file.

Another bug which is possibly related is: 
http://lists.gnu.org/archive/html/bug-lilypond/2007-07/msg00087.html

(should i post this to bug-lilypond?)

thanks, 
Wilbert

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


[solved]Re: override-auto-beam-setting bug?

2007-07-26 Thread Wilbert Berendsen
Op donderdag 26 juli 2007, schreef Martial:
 you must write that it is for all the Staff

Thanks! I was already trying staff-override etc. :-) but this was the 
solution.

best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


override-auto-beam-setting bug?

2007-07-26 Thread Wilbert Berendsen
Hi,

Since 2.11.28, override-auto-beam-setting does not work anymore in newly 
instantiated voices (implicit or not):

\version 2.11.28
\paper { ragged-right = ##t }
\relative c'' {
\time 8/8
#(override-auto-beam-setting '(end * * * *) 3 8)
#(override-auto-beam-setting '(end * * * *) 6 8)
#(override-auto-beam-setting '(end * * * *) 8 8)
c8 c c c c c c c
 g'1 \\ {c,8 c c c c c c c}
}

yields attached png. Is this a bug or is there a way to set 
override-auto-beam-setting for all voices at once? (the docs 404 since this 
noon :( )

with kind regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi
inline: autobeam-other-voice.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


how to override only one of two textscripts?

2007-07-24 Thread Wilbert Berendsen
When I have two textscripts attached to the same note, how do I tweak only one 
of them?

I want the text above at the same level as other texts above the same staff, 
but I do not want to change the padding for the text below the same note.

\once \override TextScript #'staff-padding = #3
c4^Principal 8'_\markup \italic ben legato

TIA, best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


[solved] Re: how to override only one of two textscripts?

2007-07-24 Thread Wilbert Berendsen
Op dinsdag 24 juli 2007, schreef Trevor Bača:
 Kieren MacMillan wrote:
  Use the \tweak command!  ;-)
   c^\markup { untweaked } -\tweak #'padding #15 ^\markup { tweaked }

 I like this.

 This brings my mental list of \tweak examples to three things:

 1. nested tuplet brackets that begin at the same moment;
 2. notes in a chord (that obviously begin at the same moment);
 3. multiple text scripts (that begin at the same moment) attaching to a
 single note. 

Thanks!

Met vriendelijke groet,
Wilbert Berendsen - loving LilyPond. :)

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: 'Bartok'-pizz.

2007-07-24 Thread Wilbert Berendsen
Op dinsdag 24 juli 2007, schreef Siska Ádám:
 'Bartok'-pizzicato

You could do something like:

#(define-markup-command (bartokpizz layout props) ()
  (interpret-markup layout props
(markup #:stencil
  (ly:stencil-translate-axis
(ly:stencil-add
  (make-circle-stencil 0.7 0.1 #f)
  (ly:make-stencil
(list 'draw-line 0.1 0 0.1 0 1)
'(-0.1 . 0.1) '(0.1 . 1)
  )
)
0.7 X
  )
)
  )
)

bartok = \markup \bartokpizz

{
c4^\bartok
}

I found this on: 
http://www.mail-archive.com/lilypond-user%40gnu.org/msg14529.html

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Copyright symbol / corrective message

2007-07-20 Thread Wilbert Berendsen
Op donderdag 19 juli 2007, schreef Ledocq-Boccart:
 If you run a Mac or Linux, I cannot tell you.

Linux: Compose, c, o  - ©
Most times the compose key is the right control key or menu key, you could 
look it up in the keyboard settings.

w/best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tremolo won't produce desired output

2007-07-17 Thread Wilbert Berendsen
Op maandag 16 juli 2007, schreef Neil Puttock:
 Hello,

 I'm trying to typeset a whole-bar tremolo in 3/8 time, but it's producing
 incorrect output.

 \version 2.10.25
 \paper { ragged-right = ##t }
 \relative c' {
 \time 3/8
 \repeat tremolo 6 { c32 e32 }
 }

This looks like a bug, still present in 2.11.27. 
When I change it to 

\paper { ragged-right = ##t }
\relative c' {
\time 2/8
\repeat tremolo 4 { c32 e32 }
}

i.e. just make it a 2/8 instead of a 3/8 the output is correct. So there is 
some calculation mistake regarding the dots/beams somewhere.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


barnumbers far off (was Re: todays git: staffs printing on top of each other)

2007-07-13 Thread Wilbert Berendsen
I'm sorry, I think I screwed a bit up (still learning git). Without noticing I 
compiled my own branch with the tie bug repaired. Now I learnt how to use git 
checkout -f to undo local changes and get the latest master.

The staffs printing on top of each other are fixed, but the barnumbers are 
still a bit too far to the top-left of every system. Will try to make a small 
example with debug skylines.

best regards!
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lily becoming more user-friendly

2007-07-12 Thread Wilbert Berendsen
Op donderdag 12 juli 2007, schreef Valentin Villenave:
 -yes, LilyPond could be (and will hopefully become in a few years)
 more user-friendly;

How will that be done? Are there big architecture changes planned? 

I fully understand Paul's frustrations regarding the intermingled syntax of 
lily and scheme constructs (just beginning to understand it a bit).

I think a big improvement to the documentation would be even more examples of 
how to set a property. This as already been done to a big degree, but in the 
more advanced documentation it is sometimes difficult to find. So e.g. change 
a sentence like 'set max-stretch to zero' to '\set Staff.VerticalAxisGroup 
#'max-stretch #0', or add such an explanation etc.

While busy learning lilypond (and writing a new mup2ly script) I hope also to 
be able to help a bit with this kind of things. I just love the beast that is 
LilyPond :)

With best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Compiling lilypond

2007-06-17 Thread Wilbert Berendsen
Op dinsdag 29 mei 2007, schreef Thomas Gollenia:
 Hi,

 When I tried to compile lilypond (all dependencies should be solved)
 it came up with the following error message:

 chmod 755 out/lilypond-invoke-editor
 /usr/bin/perl /Users/Thommy/Documents/Downloads/lilypond-2.10.25/
 buildscripts/out/help2man out/lilypond-invoke-editor  out/lilypond-
 invoke-editor.1
 help2man: can't get `--help' info from out/lilypond-invoke-editor
 make[1]: *** [out/lilypond-invoke-editor.1] Error 1
 make: *** [all] Error 2

I got the same problem. I found the solution by executing 
scripts/out/lilypond-invoke-editor by hand, which showed that guile could not 
execute that script because it had been built without regexp support. Right 
now I'm recompiling guile with regexp support  (--enable-regex).

best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Ties go a bit haywire, bug?

2007-06-12 Thread Wilbert Berendsen
Hi,

in 2.11.26 when there are many ties, some have positioning errors. 2.10 has no 
problems, but for many other improvements I'm already dependent on 2.11.x :)

This is an excerpt, attached a PNG which shows that some ties are drawn too 
long. Must I report this as a bug?

\version 2.11.26
rh = {
%   \repeat unfold 10 { a'1~ | }
\repeat unfold 4 { a' c''1~ }
\repeat unfold 2 { c' a' c''1~ }
\repeat unfold 2 { c' a' c'' d''1~ }
\repeat unfold 2 { c' f' a' c'' d''1~ }
c' f' a' c'' d''8\fermata r4 r4. r4 \bar |.
}
\score {
\new Staff = rh \rh
}

With best regards,
Wilbert Berendsen

PS: I'm really impressed with all the improvements in the latest releases, 
thanks!

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi
attachment: ties.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


lyrics alignment in melismas

2007-06-05 Thread Wilbert Berendsen
Hi,

when two eigth notes are just a \melisma, the lyric syllabe is centered below 
the first note. But when the two notes are connected with a slur, the syllabe 
is left-aligned with the first note, and continues below the second note.

e.g.:  g'8 \melisma a' \melismaEnd
gives a syllabe centered below the first note
while: g'8( a')
results in a syllabe left-aligned with the first note.

Is there a way to have the syllabe left-aligned without the need to add slurs 
(because they are autobeamed together anyway)?

TIA for any help,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


trying to create a note pattern using scheme ...

2007-01-01 Thread Wilbert Berendsen
Hi all,

this time I am really really delving into LilyPond, I am very much impressed 
with the notation quality of the recent versions. I am trying to set an organ 
piece with many repetitive notes in it, and to get a grasp on the underlying 
structure of Lilypond.

Many measures have note patterns like this one:

e8 g16 e g8 e g16 e g8 e g

so, two notes or chords played alternatively with the rhythm |8 16 16 8 | 8 16 
16 8 | 8 8 | (in time 8/8).

What would be an efficient way to create those patterns using a scheme 
function, so that I could write:

\pat a c

or:

\pat a e c g

I am fiddling with the example from the manual[1]:

pattern = #(define-music-function (parser location x y) (ly:music? ly:music?)
 #{
   $x e8 a b $y b a e
 #})

but when I try to add or change a duration (like $x 8 $y 16 etc.) I get syntax 
errors, so probably I must try to build the lilypond music expression fully 
from within scheme?

Is there anyone with some experience on this who could point me in the correct 
direction?

[1] 
http://www.lilypond.org/doc/v2.11/Documentation/user/lilypond/Advanced-tweaks-with-Scheme

Thanks for this wonderful Free music notation software,
best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: problems with special characters on 2.6

2005-11-01 Thread Wilbert Berendsen
On Friday 28 October 2005 19:26, Ralf und Martina Wimmer wrote:
 I run LilyPond 2.6 on Windows 2000.

 By using the characters from the keyboard for the german umlaut (ä, ö,
 ü) or french accent (é, è) there are no printed signs in the pdf-output
 and the following character is also ignored.

Did you save the file in utf-8 encoding?

bye,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
www.lambertikerk.nl | www.kerklied.net | www.kde.nl
Gratis Office met PDF en Flash export: http://nl.openoffice.org/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Resume writing to a staff later

2005-09-12 Thread Wilbert Berendsen
Hi all,

I'm in the process of switching more and more of my typesetting jobs from 
Mup to Lilypond, but I have some trouble getting used to the way Lilypond 
wants me to write every full staff and then combine them in a score.

I would rather write a few measures for every staff and then the next few 
measures, etc. so that the different voices are close together in the 
source file.

Is it possible to start a context with notes and later write other notes 
to that context? I didn't get it right so far. E.g.

\context Voice=soprano { c d e f | g a d b}
\context Voice=alto   { a b c d | a b c d }
and then later
\context Voice=soprano { d e f g } % etc.

TIA for any help.

best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
www.lambertikerk.nl | www.kerklied.net | www.kde.nl
Gratis Office met PDF en Flash export: http://nl.openoffice.org/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


<    1   2   3   4   5   6   >