collision between tie and pitched trill

2008-10-25 Thread Stefan Thomas
Dear lilypond-users,
in the below quoted example I get a collision between the tie an the trill
note.
How can I avoid this?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


adding rests automatically

2008-10-11 Thread Stefan Thomas
Dear Lilypond users,
is there possibilitiy to add the rests in the below quoted example not by
hand but automatically?

\version "2.11.49"
restmusic = { d8 r d' r fis r d' r  e r d' r a r cis' r }
\new Staff { \clef bass \key d \major \restmusic }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Augmentation and Diminution

2008-10-07 Thread Stefan Thomas
Dear Aaron,
maybee this could help You:
http://lsr.dsi.unimi.it/LSR/Item?id=390
You can make somerhing like:
melody =\relative { c d e f g }
\rhythmA{ \melody }
\rhythmB{   \melody }

2008/10/7 Aaron Dalton <[EMAIL PROTECTED]>

> Is there a way to tell Lilypond to automatically increase or decrease
> the note values by a certain ratio?  I have a number of transcriptions
> done at a fixed ratio but in the modern edition some will need their
> note values doubled.  I'm hoping this is as simple as adding some
> directive at the top of the file.
>
> Thanks for your time and help.
> Aaron
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vim, point and click

2008-09-26 Thread Stefan Thomas
Dear Wilbert,
thanks. I have now lilykde on my system working. Point and click works
without any problems but I have q question: how can I make abbreviations? In
jedit I can press stD and I get after the space key StemDown. Can This be
done in Kate too?

2008/9/26 Wilbert Berendsen <[EMAIL PROTECTED]>

> Op vrijdag 26 september 2008, schreef Wilbert Berendsen:
> > I attach also a small ZIP containing just the files needed to make KPDF
> > open Kate when a textedit: link is clicked. The README inside tells where
> > to place the files.
>
> Adding: you can edit the file ktexteditservice in the zipfile to run
> another
> editor instead of Kate (or to run lilypond-invoke-editor).
>
> 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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vim, point and click

2008-09-26 Thread Stefan Thomas
Dear Mats,
I have read the Application Usage, but I didn't unterstand:
shall I add
emacsclient –no-wait +line:column file

in the .emacs file, or in lilypond-invoke-editor, or somewhere else?


2008/9/26 Mats Bengtsson <[EMAIL PROTECTED]>

> Please read the section on Point and Click in the Application Usage manual
> for LilyPond,
> i.e. make sure to use emacsclient.
>
>  /Mats
>
> Stefan Thomas wrote:
>
>> I got now point and click working with emacs.
>> But I have another problem now: every time when I click on a note in xpdf,
>> a new emacs window will be opened. How can I avoid this?
>>
>> 2008/9/26 Stefan Thomas <[EMAIL PROTECTED] > [EMAIL PROTECTED]>>
>>
>>Dear Mark,
>>I use Kpdf and acrobat reader on a linux machine.
>>But I don't understand how to use the files You added.
>>
>>2008/9/26 Mark Knoop <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
>>
>>At 10:21 on 26 Sep 2008, Stefan Thomas wrote:
>>> Dear lilypond-.users,
>>> I tried to get the point and click working with gvim. I've
>>read the
>>> (german) documentation about it, but it es not quite clear
>>for me.
>>> I added
>>>
>>> gvim –remote +:line:normchar file
>>>
>>>
>>> in .xdfrc, but after a click, emacs will be opened. Or do I
>>have it
>>> to add in the lilypond-invoke.editor program?
>>
>>It depends what you are using to view the pdf. If you are
>>using evince
>>in gnome, you need to add the textedit schema to gconf. See the
>>attached files for details.
>>
>>--
>>Mark Knoop
>>
>>___
>>lilypond-user mailing list
>>lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
>>http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>>
>> 
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
> --
> =
>Mats Bengtsson
>Signal Processing
>School of Electrical Engineering
>Royal Institute of Technology (KTH)
>SE-100 44  STOCKHOLM
>Sweden
>Phone: (+46) 8 790 8463
>   Fax:   (+46) 8 790 7260
>Email: [EMAIL PROTECTED]
>WWW: http://www.s3.kth.se/~mabe <http://www.s3.kth.se/%7Emabe>
> =
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vim, point and click

2008-09-26 Thread Stefan Thomas
I got now point and click working with emacs.
But I have another problem now: every time when I click on a note in xpdf, a
new emacs window will be opened. How can I avoid this?

2008/9/26 Stefan Thomas <[EMAIL PROTECTED]>

> Dear Mark,
> I use Kpdf and acrobat reader on a linux machine.
> But I don't understand how to use the files You added.
>
> 2008/9/26 Mark Knoop <[EMAIL PROTECTED]>
>
>> At 10:21 on 26 Sep 2008, Stefan Thomas wrote:
>> > Dear lilypond-.users,
>> > I tried to get the point and click working with gvim. I've read the
>> > (german) documentation about it, but it es not quite clear for me.
>> > I added
>> >
>> > gvim –remote +:line:normchar file
>> >
>> >
>> > in .xdfrc, but after a click, emacs will be opened. Or do I have it
>> > to add in the lilypond-invoke.editor program?
>>
>> It depends what you are using to view the pdf. If you are using evince
>> in gnome, you need to add the textedit schema to gconf. See the
>> attached files for details.
>>
>> --
>> Mark Knoop
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vim, point and click

2008-09-26 Thread Stefan Thomas
Dear Mark,
I use Kpdf and acrobat reader on a linux machine.
But I don't understand how to use the files You added.

2008/9/26 Mark Knoop <[EMAIL PROTECTED]>

> At 10:21 on 26 Sep 2008, Stefan Thomas wrote:
> > Dear lilypond-.users,
> > I tried to get the point and click working with gvim. I've read the
> > (german) documentation about it, but it es not quite clear for me.
> > I added
> >
> > gvim –remote +:line:normchar file
> >
> >
> > in .xdfrc, but after a click, emacs will be opened. Or do I have it
> > to add in the lilypond-invoke.editor program?
>
> It depends what you are using to view the pdf. If you are using evince
> in gnome, you need to add the textedit schema to gconf. See the
> attached files for details.
>
> --
> Mark Knoop
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


vim, point and click

2008-09-26 Thread Stefan Thomas
Dear lilypond-.users,
I tried to get the point and click working with gvim. I've read the (german)
documentation about it, but it es not quite clear for me.
I added

gvim –remote +:line:normchar file


in .xdfrc, but after a click, emacs will be opened. Or do I have it to add
in the lilypond-invoke.editor program?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: fong shape of fingering

2008-09-19 Thread Stefan Thomas
Which version do You use?
With my version it looks convincing

2008/9/19 Bertalan Fodor <[EMAIL PROTECTED]>

>  I get this when compiling:
>
>
>
> Stefan Thomas írta:
>
> Dear all,
> maybee You have asked yourself, why I wanted the layout of the fingerings.
> The reason is: In my opinion lilypond does not handle very well  tuplets in
> a cross-staff context. The eample below shows first a very strange position
> of the number. The second one is convincing. Isn't it possible to make the
> tuplet numbers better fit (sorry for the bad english) to the beams?
>
> re = { \change Staff = rechts }
> li = { \change Staff = links }
> ohnezahl = { \override TupletNumber #'stencil = ##f }
> tuplets =  { \context Voice <<
> { \times 4/5 { c''8 g e'' c g'' } c''2 }
> { \repeat "unfold" 2 { \re \stemDown  s8*4/5 \li \stemUp s } \re \stemDown
> s s2 }
> >> }
> rechts = { \tuplets \ohnezahl \context Voice << { \tuplets } { s 4*4/5
> s8*4/5 _5 } >> }
> links = { \clef bass s1*2 }
>
> \version "2.11.49"
> \score {
> \new PianoStaff = "Klavier"
> <<
> \new Staff= "rechts" { \rechts }
>\new Staff = "links" \with {
>   \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
> { \links} >>
>
>
> }
> \layout {\context { \Score
> \override Fingering #'font-size = #'-2
> \override Fingering #'font-encoding = #'latin1
>   \override Fingering #'font-family = #'roman
>   \override Fingering #'font-shape  = #'italic }
> }
>
>
>
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: fong shape of fingering

2008-09-18 Thread Stefan Thomas
Dear all,
maybee You have asked yourself, why I wanted the layout of the fingerings.
The reason is: In my opinion lilypond does not handle very well  tuplets in
a cross-staff context. The eample below shows first a very strange position
of the number. The second one is convincing. Isn't it possible to make the
tuplet numbers better fit (sorry for the bad english) to the beams?

re = { \change Staff = rechts }
li = { \change Staff = links }
ohnezahl = { \override TupletNumber #'stencil = ##f }
tuplets =  { \context Voice <<
{ \times 4/5 { c''8 g e'' c g'' } c''2 }
{ \repeat "unfold" 2 { \re \stemDown  s8*4/5 \li \stemUp s } \re \stemDown s
s2 }
>> }
rechts = { \tuplets \ohnezahl \context Voice << { \tuplets } { s 4*4/5
s8*4/5 _5 } >> }
links = { \clef bass s1*2 }

\version "2.11.49"
\score {
\new PianoStaff = "Klavier"
<<
\new Staff= "rechts" { \rechts }
   \new Staff = "links" \with {
  \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
{ \links} >>


}
\layout {\context { \Score
\override Fingering #'font-size = #'-2
\override Fingering #'font-encoding = #'latin1
  \override Fingering #'font-family = #'roman
  \override Fingering #'font-shape  = #'italic }
}


2008/9/18 Mats Bengtsson <[EMAIL PROTECTED]>

>
>
> Risto Vääräniemi wrote:
>
>> On 18/09/2008, Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>
>> wrote:
>>
>>
>>>\override Score.Fingering #'font-encoding = #'latin1



>>> Well, there is not a single word in the documentation about that latin1
>>> is a valid value for font-encoding.
>>>
>>>
>>
>> You could be right. :-) I once struggled trying to use normal serif
>> font with volta brackets and Mats told me this trick.
>>
>> http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00268.html
>>
>>
> The name "latin1" is only there for historical reasons and is the font
> encoding that's used
> by default if the font-encoding property is unset. In other words, it's
> what's used for normal
> text. The setting of font-family in Risto's solution isn't necessary.
> What confuses me for the moment is why you cannot get the same result by
> saying
> \revert Score.Fingering #'font-encoding
>
>   /Mats
>
>> -Risto
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
> --
> =
>Mats Bengtsson
>Signal Processing
>School of Electrical Engineering
>Royal Institute of Technology (KTH)
>SE-100 44  STOCKHOLM
>Sweden
>Phone: (+46) 8 790 8463
>   Fax:   (+46) 8 790 7260
>Email: [EMAIL PROTECTED]
>WWW: http://www.s3.kth.se/~mabe 
> =
>
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: fong shape of fingering

2008-09-18 Thread Stefan Thomas
Dear Risto and Bartalan,
thanks! I changed it now succesfully!
2008/9/18 Stefan Thomas <[EMAIL PROTECTED]>

> Dear Bartalan,
> with
>  \override Score.Fingering #'font-encoding = ##f
> \override Score.Fingering  #'font-shape  = #'italic
> \override Score.Fingering #'font-name = #"roman"
> I could change the look of the Fingering, but it is still different from
> the tuplet-number, and it is not italic.
> Sorry for bothering You, but it is still difficult for me to understand
> these things.
>
>
> 2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>
>
>>  It seems you have to set the font-family as well in this case. Try to set
>> it to 'roman
>>
>>
>> Stefan Thomas wrote:
>>
>> Dear Bertalan,
>> I tried now
>> ohnezahl = { \override TupletNumber #'stencil = ##f }
>> \version "2.11.49"
>> triol = \markup { \tiny { \italic 3 } }
>> \new Staff \relative  {
>> \override Score.Fingering #'font-encoding = ##f
>> \override Score.Fingering  #'font-shape  = #'italic
>> \ohnezahl
>> \times 2/3 {c,8 d^3 f} g2. }
>>   But I get:
>> Programmierfehler: Cannot get a text stencil from this font
>> Fortsetzung, die Daumen drücken
>> Programmierfehler: cannot align on self: empty element
>> I don't know what it means, unfortunately.
>>
>>
>> 2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>
>>
>>>  \override Score.Fingering #'font-encoding=##f should be
>>>
>>> Stefan Thomas wrote:
>>>
>>> I tried it, without out sucess, with:
>>> \set Score.Fingering = #'font-encoding  #f
>>> \override Score.Fingering  #'font-shape  = #'italic
>>> I get the message:
>>> Warnung: Typprüfung für »Fingering« gescheitert; Wert »font-encoding«
>>> muss vom Typ »list« sein
>>> I don't know what it could mean.
>>>
>>> 2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>
>>>
>>>> Try to set font-encoding to #f
>>>> That may switch back to text font style
>>>>
>>>> Stefan Thomas wrote:
>>>>
>>>> Ok.
>>>> What I really want is to change the fingerings to look like
>>>> tuplet-numbers. But I don't know how to do this.
>>>>
>>>> 2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>
>>>>
>>>>> I think you first need to change the family, because IIRC it is
>>>>> currently the music font which has no italic
>>>>>
>>>>> Stefan Thomas wrote:
>>>>>
>>>>>  Dear lilypond-users,
>>>>> how can I change the fontshape of fingerings?
>>>>> I tried it with
>>>>> \override Score.Fingering  #'font-shape  = #'italic
>>>>> but without success.
>>>>>
>>>>>   --
>>>>>
>>>>> ___
>>>>> lilypond-user mailing [EMAIL 
>>>>> PROTECTED]://lists.gnu.org/mailman/listinfo/lilypond-user
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: fong shape of fingering

2008-09-18 Thread Stefan Thomas
Dear Bartalan,
with
 \override Score.Fingering #'font-encoding = ##f
\override Score.Fingering  #'font-shape  = #'italic
\override Score.Fingering #'font-name = #"roman"
I could change the look of the Fingering, but it is still different from the
tuplet-number, and it is not italic.
Sorry for bothering You, but it is still difficult for me to understand
these things.

2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>

>  It seems you have to set the font-family as well in this case. Try to set
> it to 'roman
>
>
> Stefan Thomas wrote:
>
> Dear Bertalan,
> I tried now
> ohnezahl = { \override TupletNumber #'stencil = ##f }
> \version "2.11.49"
> triol = \markup { \tiny { \italic 3 } }
> \new Staff \relative  {
> \override Score.Fingering #'font-encoding = ##f
> \override Score.Fingering  #'font-shape  = #'italic
> \ohnezahl
> \times 2/3 {c,8 d^3 f} g2. }
>   But I get:
> Programmierfehler: Cannot get a text stencil from this font
> Fortsetzung, die Daumen drücken
> Programmierfehler: cannot align on self: empty element
> I don't know what it means, unfortunately.
>
>
> 2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>
>
>>  \override Score.Fingering #'font-encoding=##f should be
>>
>> Stefan Thomas wrote:
>>
>> I tried it, without out sucess, with:
>> \set Score.Fingering = #'font-encoding  #f
>> \override Score.Fingering  #'font-shape  = #'italic
>> I get the message:
>> Warnung: Typprüfung für »Fingering« gescheitert; Wert »font-encoding« muss
>> vom Typ »list« sein
>> I don't know what it could mean.
>>
>> 2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>
>>
>>> Try to set font-encoding to #f
>>> That may switch back to text font style
>>>
>>> Stefan Thomas wrote:
>>>
>>> Ok.
>>> What I really want is to change the fingerings to look like
>>> tuplet-numbers. But I don't know how to do this.
>>>
>>> 2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>
>>>
>>>> I think you first need to change the family, because IIRC it is
>>>> currently the music font which has no italic
>>>>
>>>> Stefan Thomas wrote:
>>>>
>>>>  Dear lilypond-users,
>>>> how can I change the fontshape of fingerings?
>>>> I tried it with
>>>> \override Score.Fingering  #'font-shape  = #'italic
>>>> but without success.
>>>>
>>>>   --
>>>>
>>>> ___
>>>> lilypond-user mailing [EMAIL 
>>>> PROTECTED]://lists.gnu.org/mailman/listinfo/lilypond-user
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: fong shape of fingering

2008-09-18 Thread Stefan Thomas
Dear Bertalan,
I tried now
ohnezahl = { \override TupletNumber #'stencil = ##f }
\version "2.11.49"
triol = \markup { \tiny { \italic 3 } }
\new Staff \relative  {
\override Score.Fingering #'font-encoding = ##f
\override Score.Fingering  #'font-shape  = #'italic
\ohnezahl
\times 2/3 {c,8 d^3 f} g2. }
  But I get:
Programmierfehler: Cannot get a text stencil from this font
Fortsetzung, die Daumen drücken
Programmierfehler: cannot align on self: empty element
I don't know what it means, unfortunately.


2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>

>  \override Score.Fingering #'font-encoding=##f should be
>
>
> Stefan Thomas wrote:
>
> I tried it, without out sucess, with:
> \set Score.Fingering = #'font-encoding  #f
> \override Score.Fingering  #'font-shape  = #'italic
> I get the message:
> Warnung: Typprüfung für »Fingering« gescheitert; Wert »font-encoding« muss
> vom Typ »list« sein
> I don't know what it could mean.
>
> 2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>
>
>> Try to set font-encoding to #f
>> That may switch back to text font style
>>
>> Stefan Thomas wrote:
>>
>> Ok.
>> What I really want is to change the fingerings to look like
>> tuplet-numbers. But I don't know how to do this.
>>
>> 2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>
>>
>>> I think you first need to change the family, because IIRC it is currently
>>> the music font which has no italic
>>>
>>> Stefan Thomas wrote:
>>>
>>>  Dear lilypond-users,
>>> how can I change the fontshape of fingerings?
>>> I tried it with
>>> \override Score.Fingering  #'font-shape  = #'italic
>>> but without success.
>>>
>>>   --
>>>
>>> ___
>>> lilypond-user mailing [EMAIL 
>>> PROTECTED]://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>>>
>>
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: fong shape of fingering

2008-09-18 Thread Stefan Thomas
Ok.
What I really want is to change the fingerings to look like tuplet-numbers.
But I don't know how to do this.

2008/9/18 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>

>  I think you first need to change the family, because IIRC it is currently
> the music font which has no italic
>
> Stefan Thomas wrote:
>
> Dear lilypond-users,
> how can I change the fontshape of fingerings?
> I tried it with
> \override Score.Fingering  #'font-shape  = #'italic
> but without success.
>
>  --
>
> ___
> lilypond-user mailing [EMAIL 
> PROTECTED]://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


fong shape of fingering

2008-09-18 Thread Stefan Thomas
Dear lilypond-users,
how can I change the fontshape of fingerings?
I tried it with
\override Score.Fingering  #'font-shape  = #'italic
but without success.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: no tuplet bracket, why?

2008-09-17 Thread Stefan Thomas
Thank You!
I succeeded with \once \set tupletFullLength = ##t !

2008/9/17 Stefan Thomas <[EMAIL PROTECTED]>

> Hello,
> off course I tried my example, I only forgot to add the version number,
> which is 2.11.49
> I suppose a newer version to solve the problem, but I will try Your
> suggestions!
>
> 2008/9/17 Robin Bannister <[EMAIL PROTECTED]>
>
>
>>  One way to keep it longer would be to make the tuplet contents wider,
>>>
>>
>> Another way, illustrated in the LSR [1], is easier to apply:
>>  \once \set tupletFullLength = ##t
>>  [1] http://lsr.dsi.unimi.it/LSR/Item?id=398
>>
>>
>> Cheers,
>> Robin
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: no tuplet bracket, why?

2008-09-17 Thread Stefan Thomas
Hello,
off course I tried my example, I only forgot to add the version number,
which is 2.11.49
I suppose a newer version to solve the problem, but I will try Your
suggestions!

2008/9/17 Robin Bannister <[EMAIL PROTECTED]>

>
>  One way to keep it longer would be to make the tuplet contents wider,
>>
>
> Another way, illustrated in the LSR [1], is easier to apply:
>  \once \set tupletFullLength = ##t
>  [1] http://lsr.dsi.unimi.it/LSR/Item?id=398
>
>
> Cheers,
> Robin
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


no tuplet bracket, why?

2008-09-17 Thread Stefan Thomas
Dear Lilypond-users,
is there any reason, why in the below quoted example the tuplet bracket is
hidden?
I couldn't find a way to make it visible!
{\clef bass r2
  4 r r  \times 2/3 { r8 4 } r4 r \times 2/3 { r4 8 } r4 r
r }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: one voice

2008-09-16 Thread Stefan Thomas
Wow! Thanks!
But there is one thing I don't understand:
  \once \override MultiMeasureRest #'transparent = ##t
Could you be so kind to give me an explanation of this?
Thanks,
Stefan




2008/9/16 Kieren MacMillan <[EMAIL PROTECTED]>

> Hi Stefan,
>
>  here is the example:
>>
>
> My suggestion for how to code this is below.
>
> HTH!
> Kieren.
>
> 
> \version "2.11.57"
>
> fixMMR =
> {
>\once \override MultiMeasureRest #'transparent = ##t
>\once \override MultiMeasureRest #'minimum-length = #46
>\once \override MultiMeasureRestText #'padding = #2
> }
> mu = \markup
> {
>\small \italic \override #'(baseline-skip . 2.1)
>\column { "(mit Holzschlägel schlagen" "gleichzeitig mit weichem
> Schägel abdämpfen)" }
> }
>
> widebar =
> {
><<
>{ \oneVoice gis8\f\laissezVibrer r r4 r2 }
>\new Voice { \fixMMR R1^\mu }
>>>
> }
>
> \score
> {
>\new Staff \widebar
> }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: one voice

2008-09-16 Thread Stefan Thomas
Dear  Gilles,
here is the example:
{ <<
{ \oneVoice
gis 8\f\laissezVibrer ^\markup { \small { \italic { \column { "(mit
Holzschlägel schlagen" "gleichzeitig mit weichem Schägel abdämpfen)" } } }
} r r4   r2 \rest } \\
{\oneVoice s8  \hideNotes \repeat "unfold" 14 { c''16 } } >> | %schlageins
takt 123
   \unHideNotes \stemNeutral }



2008/9/16 Gilles Sadowski <[EMAIL PROTECTED]>

>
> > I want to hide some notes. But, in the below quoted example,
>
> I don't see any example here...
>
>
> Gilles
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


one voice

2008-09-16 Thread Stefan Thomas
Dear Lilypond-users,
I want to hide some notes. But, in the below quoted example, the rests go
down, if it where a second voice.
Does somebody know the reason?
Thanks for Your help!
Stefan
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


more space for instrument names

2008-09-16 Thread Stefan Thomas
Dear Lilypond-Users,
I use very often the very nice \inst-Plugin:
changeInstrument =
#(define-music-function (parser location string) (string?)
(make-music
'TextScriptEvent
'direction UP
'text (markup #:bold (#:box string

inst = #changeInstrument
 Unfortunately, this does not work in conjunction with

\textLengthOn
What can I do to change this?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


hiding staves

2008-09-16 Thread Stefan Thomas
Dear lilypond-users,
I have troubles with showing and hiding staves.
I tried:
 zeigsmir = {
 \set Staff.keepAliveInterfaces = #'(
rhythmic-grob-interface
multi-measure-rest-interface
lyric-interface
stanza-number-interface
percent-repeat-interface)
}

wegdamit = \unset Staff.keepAliveInterfaces

But it happens sometimes, that a staff is shown, although I entered
\wegdamit
What could be the reason?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: text moving to the eft

2008-09-16 Thread Stefan Thomas
I tried it with:
metrolangan = {
  \override Score.MetronomeMark  #'extra-spacing-width = #'(0 . 0)
  \override Score.MetronomeMark  #'infinite-spacing-height = ##t
}
And it worked!!
The opposite is:
metrolangan = {
  \override Score.MetronomeMark  #'extra-spacing-width = #'(0 . 0)
  \override Score.MetronomeMark  #'infinite-spacing-height = ##t
}
Hope this works to!

2008/9/16 Stefan Thomas <[EMAIL PROTECTED]>

> Dear Neil, thanks for Your help. It worked now!
> But if I want to have more space in the TimeSig for the Tempomark-Text, how
> can I do this? I understand now, why the followind didn't work:
> TimeTextAn = {
>   \override TimeSig.TextScript  #'extra-spacing-width = #'(0 . 0)
>   \override TimeSig.TextScript  #'infinite-spacing-height = ##t
> }
> I will see if it works, when I suistitute TimesSig with Score and
> TextScxript with MetronomeMark.
>
> 2008/9/15 Neil Puttock <[EMAIL PROTECTED]>
>
> Hi Stefan,
>>
>> 2008/9/15 Stefan Thomas <[EMAIL PROTECTED]>:
>> > Dear Lilypond users,
>> > how can I move a text (it is a tempoMark text) in a TimeSig to the left?
>> > Unfortunately
>> >  \override TimeSig.TextScript #'extra-offset = #'(-1.6 .0 )
>> > \movement "meno mosso" "4" #76
>> > doesn't help!
>>
>> Two things:
>>
>> - tempo marks aren't TextScripts; the object you're after is
>> MetronomeMark.
>> - the MetronomeMark lives in the Score context; unless you move the
>> Metronome_mark_engraver and Staff_collecting_engraver to your TimeSig
>> context, overrides will still take place at the Score level:
>>
>> \override Score.MetronomeMark #'extra-offset = #'(-1.6 . 0)
>>
>> By the way, unless you're particularly attached to version 2.11.49,
>> you really should upgrade to the latest development version to take
>> advantage of Reinhold's improvements to \tempo; it's much more
>> convenient to use \tempo "meno mosso" 4=76 than relying on that LSR
>> Scheme hack.
>>
>> Regards,
>> Neil
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: text moving to the eft

2008-09-16 Thread Stefan Thomas
Dear Neil, thanks for Your help. It worked now!
But if I want to have more space in the TimeSig for the Tempomark-Text, how
can I do this? I understand now, why the followind didn't work:
TimeTextAn = {
  \override TimeSig.TextScript  #'extra-spacing-width = #'(0 . 0)
  \override TimeSig.TextScript  #'infinite-spacing-height = ##t
}
I will see if it works, when I suistitute TimesSig with Score and
TextScxript with MetronomeMark.

2008/9/15 Neil Puttock <[EMAIL PROTECTED]>

> Hi Stefan,
>
> 2008/9/15 Stefan Thomas <[EMAIL PROTECTED]>:
> > Dear Lilypond users,
> > how can I move a text (it is a tempoMark text) in a TimeSig to the left?
> > Unfortunately
> >  \override TimeSig.TextScript #'extra-offset = #'(-1.6 .0 )
> > \movement "meno mosso" "4" #76
> > doesn't help!
>
> Two things:
>
> - tempo marks aren't TextScripts; the object you're after is MetronomeMark.
> - the MetronomeMark lives in the Score context; unless you move the
> Metronome_mark_engraver and Staff_collecting_engraver to your TimeSig
> context, overrides will still take place at the Score level:
>
> \override Score.MetronomeMark #'extra-offset = #'(-1.6 . 0)
>
> By the way, unless you're particularly attached to version 2.11.49,
> you really should upgrade to the latest development version to take
> advantage of Reinhold's improvements to \tempo; it's much more
> convenient to use \tempo "meno mosso" 4=76 than relying on that LSR
> Scheme hack.
>
> Regards,
> Neil
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


text moving to the eft

2008-09-15 Thread Stefan Thomas
Dear Lilypond users,
how can I move a text (it is a tempoMark text) in a TimeSig to the left?
Unfortunately
 \override TimeSig.TextScript #'extra-offset = #'(-1.6 .0 )
\movement "meno mosso" "4" #76
doesn't help!
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: textlength in timesig

2008-09-15 Thread Stefan Thomas
Dear Kieren,
the problem here is of a different kind. In this multi-measure Rest the
"TimeTextAn"-command doens't help, unfortunately.
The example is very long, sorry!
#(define ((make-format-movement-markup-function text) duration count
context)
 (markup #:huge #:bold text #:hspace 1
 "("
 #:general-align Y DOWN #:smaller
#:note-by-number (ly:duration-log duration)
 (ly:duration-dot-count duration)
 1
 "="
 (number->string count)
 ")"))


#(define (string->duration duration-string)
 "Parse the `duration-string', e.g. ''4..'' or ''breve.'', and return a
duration object."
 (let* ((length (string-length duration-string))
(dot-index (or (string-index duration-string #\.) length))
(len (substring duration-string 0 dot-index))
(dots (- length dot-index)))
  (ly:make-duration (cond ((string=? len "breve") -1)
  ((string=? len "longa") -2)
  ((string=? len "maxima") -3)
  (else (log2 (string->number len
dots 1 1)))


movement =
#(define-music-function (parser location text duration count music)

   (string? string? integer? ly:music?)
 #{
   \set Score.metronomeMarkFormatter =
#(make-format-movement-markup-function $text)
   \set Score.tempoWholesPerMinute = #$(ly:moment-mul (ly:make-moment count
1)
 (ly:duration-length
   (string->duration duration)))
   \set Score.tempoUnitDuration = #$(string->duration duration)
   \set Score.tempoUnitCount = #$count
   $music
   \set Score.metronomeMarkFormatter = #format-metronome-markup
 #})


TimeTextAn = {
  \override TimeSig.TextScript  #'extra-spacing-width = #'(0 . 0)
  \override TimeSig.TextScript  #'infinite-spacing-height = ##t
}

TimeTextAus = {
  \override TimeSig.TextScript  #'extra-spacing-width = #'(+inf.0 . -inf.0)
  \override TimeSig.TextScript  #'infinite-spacing-height = ##f
}


textweg = #(define-music-function (parser location padding) (number?)
   #{
  \override TextScript #'staff-padding = #$padding
   #})
\version "2.11.49"
\layout{

  \context { %hier wird ein neuer "Kontext" mit Namen
"timesig" geschaffen
\type "Engraver_group"

\consists "Text_spanner_engraver"
\consists "Text_engraver"
\consists "Dynamic_engraver"
\consists "Axis_group_engraver"
\name "TimeSig"



  }
  \context {
\Score \accepts TimeSig} }

re = { \change Staff = rechts }
li = { \change Staff = links }

   the music %%
tempotakt = { \TimeTextAn
\textweg #-113
\mark \default
\movement "meno mosso" "4" #92
s 1*6
s 1*4 \noBreak %tempotakt15-18
 s 8*7 s 8 %tempotakt 19, ende Klaviersolo
\mark \default
%jetzt kommt ein Abschnitt mit viel los. Takt 20 ff
\time 2/4 s16-\markup { \column { \upright "subito piu mosso"   \line { "("
\note # "4" #0.75 "= 120)" } \upright "molto rit." } } %tempotakt 20,
tempoangabe, hoffentlich schauts gescheit aus
s8. s8. s16  |\noBreak %tempotakt 20
\tempo 4 = 60 s2 | \break %tempotakt 21
\tempo 4 = 120 s8-\markup {"molto rit."} s4 s16 s  | %tempotakt 22
\tempo 4 = 60 \time 3/4 s2. | %tempotakt 23
}
marimbarechtsnoten = {
R 1*6
R 1*5
\skip 4. r8  %marimbarechts 20
R2 | %marimbarechts 21
s4 s8. r16 | %marimbarechts 22
R2. | %marimbarechts 23

}

marimbalinksnoten =  \relative c { \clef bass

R 1*6
R 1*5
\override Beam #'grow-direction = #LEFT \featherDurations #(ly:make-moment 2
1 ) {bes16\f\>-> [ e16 a16 \re d fis gis\p]} s8  %marimbalinks 20
\li R2 %marimbalinks 21
\override Beam #'grow-direction = #LEFT \featherDurations #(ly:make-moment 2
1 ) {\li bes,,16->\f\> [ e16 a16 \re d ges as bes]\p } s16 %marimbalinks 22
\li R2. | %marimbalinks 23

}
\new Score
{ \override Score.Hairpin #'minimum-length = #8
\set Score.skipBars = ##t %damit werden die Mehrtaktpausen korrekt angezeigt

<<
\set Score.markFormatter = #format-mark-box-letters
\override Score.VerticalAxisGroup #'remove-first = ##t
\new TimeSig  { \override Score.TimeSignature #'style = #'( )

\override TimeSig.VerticalAxisGroup #'minimum-Y-extent = #'(-0 .
-1)
\tempotakt   }

\new PianoStaff = "Marimba"
<<
\set PianoStaff.instrumentName = "Marimba"
\set PianoStaff.shortInstrumentName = "Mar."
\new Staff= "rechts" {
%\override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(1 . 3)
%bedeutet:
%nach oben sehr großer Abstand, nach unten groß, nicht sehr groß
\marimbarechtsnoten }
 \new Staff = "links" \with {
  \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
{   \marimbalinksnoten   }
>>
>>
}




2008/9/15 Kieren MacMillan <[EMAIL PROTECTED]>

> Hi Stefan,
>
>  How could I change the alignment of the te

Re: textlength in timesig

2008-09-15 Thread Stefan Thomas
Dear Kieren,
it worked well so far. But let me ask one more question:
How could I change the alignment of the tempo-text (e.g. "Subito Piu Mosso"
) to the left side of the multimeasure bar?

2008/9/15 Kieren MacMillan <[EMAIL PROTECTED]>

> Hi Stefan,
>
>  thanks for Your fast answer. Do You mean with "blabla" the actual markup
>> command, like "Piu mosso"?
>>
>
> No… I mean, if you look at the definition of \textLengthOn (found in
> property-init.ly), you'll see that it says
>
> textLengthOn = {
>  \override TextScript #'extra-spacing-width = #'(0 . 0)
>  \override TextScript #'extra-spacing-height = #'(-inf.0 . +inf.0)
> }
>
> In order for this to work on your TimeSig context, you probably have to
> define
>
> textLengthOnTS = {
>  \override TimeSig.TextScript #'extra-spacing-width = #'(0 . 0)
>  \override TimeSig.TextScript #'extra-spacing-height = #'(-inf.0 . +inf.0)
> }
>
> and use that instead [and equivalently for \textLengthOff].
>
> HTH!
> Kieren.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: textlength in timesig

2008-09-15 Thread Stefan Thomas
Dear Kieren,
thanks for Your fast answer. Do You mean with "blabla" the actual markup
command, like "Piu mosso"?

2008/9/15 Kieren MacMillan <[EMAIL PROTECTED]>

> Hi Stefan
>
>  could it be possible, that \textLengthOn does not work in a TimeSig
>> context?
>>
>
> Sure… if it's defined as, e.g.,
>
>\override Staff.TextScript #'X-extent [blah blah]
>
> then it wouldn't be adjusting anything in a TimeSig context.
>
> HTH!
> Kieren.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


textlength in timesig

2008-09-15 Thread Stefan Thomas
Dear lilypond users,
could it be possible, that \textLengthOn does not work in a TimeSig context?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


re: strange position of tuplet number

2008-09-14 Thread Stefan Thomas
Dear lilypond-users,
I found out, that fingerings work much better than tuplet-numbers in
connection with cross-staff beams.
My problem is:
how can I make the fingerings look like the tuplet-numbers?
Here a short example:
 \version "2.11.49"
 ohnezahl = { \override TupletNumber #'stencil = ##f }
re = { \change Staff = rechts }
li = { \change Staff = links }
 rechts = {
 \time 3/8 \clef bass s 4.*2 }
 links = { \clef bass
 \override Fingering #'font-size = #'-2
 \override Fingering #'font-shape = #'italic
 %once with tuplet-numbers. Looks rather strange

\times 4/5 { \li \stemUp < g, g,, > 32 [ des, aes,  \re \stemDown c d ] }
\times 4/5 { \re b [ d des c \li \stemUp aes, ]   } \tupletDown \times 4/6 {
des,[ g, c \re \stemDown d g gis ]}
%now with fingerings instead of the tuplet numbers. The placement is
perfect, but it looks to much different
\ohnezahl
 \times 4/5 { \li \stemUp < g, g,, > 32 [ des, aes,^5  \re \stemDown c d ] }
\times 4/5 { \re b [ d des_5c \li \stemUp aes, ]   } \tupletDown \times 4/6
{ des,[ g, c \re \stemDown d g gis ]}


 }
 \score {
\new PianoStaff = "Klavier"
<<
\new Staff= "rechts" { \rechts }
   \new Staff = "links" \with {
  \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
{ \links} >>


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


strange position of tuplet number

2008-09-12 Thread Stefan Thomas
Dear lilypond-users,
in the below quoted example the positions of the tuplet numbers are very
strange. Is it possible, to have the tuplet numbers automatically near to
the beams?

\version "2.11.49"
re = { \change Staff = rechts }
li = { \change Staff = links }
rechts = { \clef bass  s 4. }
links = { \clef bass
\time 3/8
\times 4/5 { \clef "bass" < g, g,, > 32 [ des, aes, \re \stemDown c d]
} \times 4/5 { \re  b[  d des c \li \stemUp aes, ] } \times 4/6 { des, [g, c
\re \stemDown d g gis] }  | %klavier eins links Takt 115
}
\score {
\new PianoStaff = "Klavier"
<<
\new Staff= "rechts" { \rechts }
   \new Staff = "links" \with {
{ \links} >>
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


dayly summary

2008-09-12 Thread Stefan Thomas
Dear lilypond users,
since a couple of day I don't get the dayly summary of the user-group any
more. Is it a problem I share with others?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: size of bass clef

2008-09-12 Thread Stefan Thomas
Dear James,
thanks for Your help. But what can I do, if I only want to change the size
of the bassclef and if I have an instrument like piano, where the clefs are
changing constantly?

2008/9/10 James E. Bailey <[EMAIL PROTECTED]>

>
> On 10.09.2008, at 18:05, Stefan Thomas wrote:
>
> Dear Lilypond-users,
> a friend of mine (he uses finale and he can be very stressing with
> note-typing things) is of the opinion, that the bass-clef in lilypond is to
> small.
> Is it possible to change the size of the bass clef?
>
>
> Yes, clef is part of the font-interface, which supports font-size. Have a
> look in the documentation at overriding context properties.
>
> http://kainhofer.com/~lilypond/Documentation/user/lilypond/The-override-command.html#The-override-command<http://kainhofer.com/%7Elilypond/Documentation/user/lilypond/The-override-command.html#The-override-command>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


position of instrument

2008-09-12 Thread Stefan Thomas
Dear lilypond-users,
in the below quoted example the position  "Trompete in B" should be higher
than "con sord.". How can I change it?

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

inst = #changeInstrument % leichterer Name; nach dem "inst"-befehl einfach
den Namen des Instruments in Anfuehrungszeichen angeben

{  \inst "Trompete in B"  c' ^\markup{ \italic "con sord." } }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


maximum inclination of beams

2008-09-11 Thread Stefan Thomas
Dear lilypond-users,
in the below quoted example the inclination of the beam is, in my opinion, a
bit extreme.
Is there a possibilitie to change the maximum inclination of beams in
general, for a whole score?
Here the short example:
\relative { \times 4/5 { c16 c' g' c e } g2. }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: position of text in timeSig

2008-09-11 Thread Stefan Thomas
Dear Gilles,
I need the TimeSig, becauses I have written a larger, so called "french"
score. In the score as well in the parts the exrpessions like "rit.", "piu
mosso", etc. shall be shown always on top, in all parts and in the score. Or
do You know another way to do this without the timeSig?

2008/9/10 Gilles THIBAULT <[EMAIL PROTECTED]>

>
>
>
> Dear Lilypond-users,
> in the below quoted example the position of the "rit" is ver high.
> Does somebody know the reason for this?
> Sorry, the example is a bit long.
>
> I don't know why you want to use the new context TimeSig because it works
> well without it.
> ( I only add \override Voice.TextScript #'direction = #UP in tempotakt).
>
> %
> \version "2.11.49"
>
>
>    the music %%
> tempotakt = {
>  \override Voice.TextScript #'direction = #UP
> \mark \default
> s 1*6 \noBreak
> s 1*4 -\markup{\upright "rit."  } \noBreak %tempotakt15-18
>  s 8*7 s 8 %tempotakt 19,
>  \mark \default
>  \time 2/4 s16-\markup { \column { \upright "subito piu mosso"   \line {
> "(" \note # "4" #0.75 "= 120)" } \upright "molto rit." } } %tempotakt 20,
> tempoangabe, hoffentlich schauts gescheit aus
>  s8. s8. s16  |\noBreak %tempotakt 20
>  \tempo 4 = 60 s2 | \break %tempotakt 21
> }
>
> marimba =   {
> R 1*6
> R 1*5
> c' 16 d' e' f' g' a' r 8
> R 2
> }
> \new Score
> {  \override Score.Hairpin #'minimum-length = #8
>  \set Score.skipBars = ##t %damit werden die Mehrtaktpausen korrekt
> angezeigt
>  \set Score.markFormatter = #format-mark-box-letters
>  \override Score.VerticalAxisGroup #'remove-first = ##t
>  \override Score.TimeSignature #'style = #'( )
>
>  \new Staff << \tempotakt  \marimba>>
> }
> %%%
>
> Was it what you wanted to get ?
> Gilles
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


size of bass clef

2008-09-10 Thread Stefan Thomas
Dear Lilypond-users,
a friend of mine (he uses finale and he can be very stressing with
note-typing things) is of the opinion, that the bass-clef in lilypond is to
small.
Is it possible to change the size of the bass clef?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


position of text in timeSig

2008-09-09 Thread Stefan Thomas
Dear Lilypond-users,
in the below quoted example the position of the "rit" is ver high.
Does somebody know the reason for this?
Sorry, the example is a bit long.

\version "2.11.49"
\layout{

  \context {
\type "Engraver_group"
   \consists "Text_spanner_engraver"
\consists "Text_engraver"
\consists "Dynamic_engraver"
\consists "Axis_group_engraver"
\name "TimeSig"
 }
  \context {
\Score \accepts TimeSig} }


   the music %%
tempotakt = {
\mark \default
s 1*6 \noBreak
s 1*4 -\markup{\upright "rit."  } \noBreak %tempotakt15-18
 s 8*7 s 8 %tempotakt 19,
\mark \default
\time 2/4 s16-\markup { \column { \upright "subito piu mosso"   \line { "("
\note # "4" #0.75 "= 120)" } \upright "molto rit." } } %tempotakt 20,
tempoangabe, hoffentlich schauts gescheit aus
s8. s8. s16  |\noBreak %tempotakt 20
\tempo 4 = 60 s2 | \break %tempotakt 21
}

marimba =   {
R 1*6
R 1*5
c' 16 d' e' f' g' a' r 8
R 2
}
\new Score
{ \override Score.Hairpin #'minimum-length = #8
\set Score.skipBars = ##t %damit werden die Mehrtaktpausen korrekt angezeigt

<<
\set Score.markFormatter = #format-mark-box-letters
\override Score.VerticalAxisGroup #'remove-first = ##t
\new TimeSig  { \override Score.TimeSignature #'style = #'( )

\override TimeSig.VerticalAxisGroup #'minimum-Y-extent = #'(-0 .
-1)
\tempotakt   }


\new Staff= "rechts" {
\marimba}

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


Re: problem with crescendo-text

2008-09-08 Thread Stefan Thomas
I found a solution! Not the best one, in my opinion, but at least it works:
\version "2.11.49"
pcresc = #(define-music-function (parser location x) (ly:music?)
 #{
 \context Voice <<$x {   \setTextCresc \override
DynamicTextSpanner #'dash-period = #-1.0 s 1*0\p \<  \setHairpinCresc  } >>
 #})
\version "2.11.49"
{
\pcresc c' d' e' f' g' 1 \f
c' 4\p \< d' e' f' g' 1 \f
}
But I would prefer to write the \pcresc command after (and not before) the
note. Is it possible to organize it in this way?
2008/9/8 Stefan Thomas <[EMAIL PROTECTED]>

> Yes, I understand it is not possible in the way I tried.
> But the problem is: I have already defined a "\pcresc" command and I would
> like to change it once for the whole score, if possible.
>
> 2008/9/8 James E. Bailey <[EMAIL PROTECTED]>
>
>>
>> On 08.09.2008, at 13:46, Stefan Thomas wrote:
>>
>>  Dear James, Dear Kieren,
>>> thanks for Your help. I tried to create a variable, but it didn't work,
>>> unfortunately.
>>> I tried it with:
>>> pcresc = {  \setTextCresc \override DynamicTextSpanner #'dash-period =
>>> #-1.0 \p \<  }
>>> Is it possible to do something like this?
>>>
>>
>> no, but you only need to set those once, so if you begin your input by
>> setting text crescendo and removing the line spanner, then it's set until
>> you change it again.
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: problem with crescendo-text

2008-09-08 Thread Stefan Thomas
Yes, I understand it is not possible in the way I tried.
But the problem is: I have already defined a "\pcresc" command and I would
like to change it once for the whole score, if possible.

2008/9/8 James E. Bailey <[EMAIL PROTECTED]>

>
> On 08.09.2008, at 13:46, Stefan Thomas wrote:
>
>  Dear James, Dear Kieren,
>> thanks for Your help. I tried to create a variable, but it didn't work,
>> unfortunately.
>> I tried it with:
>> pcresc = {  \setTextCresc \override DynamicTextSpanner #'dash-period =
>> #-1.0 \p \<  }
>> Is it possible to do something like this?
>>
>
> no, but you only need to set those once, so if you begin your input by
> setting text crescendo and removing the line spanner, then it's set until
> you change it again.
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: problem with crescendo-text

2008-09-08 Thread Stefan Thomas
Dear James, Dear Kieren,
thanks for Your help. I tried to create a variable, but it didn't work,
unfortunately.
I tried it with:
pcresc = {  \setTextCresc \override DynamicTextSpanner #'dash-period = #-1.0
\p \<  }
Is it possible to do something like this?

2008/9/8 James E. Bailey <[EMAIL PROTECTED]>

> Then you need \setTextCresc. You may want to download the documentation for
> version 2.11.49.
> http://download.linuxaudio.org/lilypond/binaries/documentation/lilypond-2.11.49-1.documentation.tar.bz2
> Am 08.09.2008 um 08:59 schrieb Stefan Thomas:
>
> Dear Kieren,
> thanks for Your advice.
> But what can I do with my version of the program?
>
> 2008/9/7 Kieren MacMillan <[EMAIL PROTECTED]>
>
>> Hi Stefan,
>>
>>  in the below quoted example I can't see the "crescendo"
>>> and I don't know why. Does someone know a solution?
>>>
>>
>> At least with version 2.11.57, you need to use the following:
>>
>> \version "2.11.57"
>> {
>>\crescTextCresc
>>\override DynamicTextSpanner #'dash-period = #1.0
>>a'2\< a a a\mf
>> }
>>
>> HTH!
>> Kieren.
>>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: problem with crescendo-text

2008-09-07 Thread Stefan Thomas
Dear Kieren,
thanks for Your advice.
But what can I do with my version of the program?

2008/9/7 Kieren MacMillan <[EMAIL PROTECTED]>

> Hi Stefan,
>
>  in the below quoted example I can't see the "crescendo"
>> and I don't know why. Does someone know a solution?
>>
>
> At least with version 2.11.57, you need to use the following:
>
> \version "2.11.57"
> {
>\crescTextCresc
>\override DynamicTextSpanner #'dash-period = #1.0
>a'2\< a a a\mf
> }
>
> HTH!
> Kieren.
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


problem with crescendo-text

2008-09-07 Thread Stefan Thomas
Dear Lilypond-users,
in the below quoted example I can't see the "crescendo" and I don't know
why. Does someone know a solution?

\version "2.11.49"
{
\set crescendoSpanner = #'text
\override DynamicTextSpanner #'dash-period = #-1.0
 a'2\< a a a\mf }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: longer hshortairpins for the whole score

2008-09-06 Thread Stefan Thomas
Dear Kieren,
thanks for Your very nice snippet.
 \override Score.Hairpin #'minimum-length = #10
works very well, but
   \layout { \context { \Score \override Hairpin #'minimum-length = #10
} }
does not work in my score.
Maybee it has to do with the cirumstance, that I use "\new Score" at the
begunning.
What is the differance between \score and \new Score

2008/9/6 Kieren MacMillan <[EMAIL PROTECTED]>

> Hi Stefan,
>
>  I found out (with the help of the manual), that with the following tweak I
>> can get longer hairpins.
>> \version "2.11.49"
>> \relative { \override Voice.Hairpin #'minimum-length = #10 \time 3/4 e
>> 4 \p\< e \ff e  }
>> But how can I change it for the whole score?
>> Is it possible to write it in the layout-block?
>>
>
> HTH!
> Kieren.
>
> 
>
> \version "2.11.57"
> \paper { ragged-right = ##t }
>
> \markup { "Overriding at the Voice level is 'local':" }
> \score
> {
><<
>\relative {
>\time 3/4
>e4 \p\< e\ff e
>\override Voice.Hairpin #'minimum-length = #10
>e4 \p\< e\ff e
>}
>\relative {
>R4*3*2
>e4 \p\< e\ff e
>e4 \p\< e\ff e
>}
>>>
> }
>
> \markup { "Overriding at the Score level affects all Hairpins:" }
> \score
> {
><<
>\relative {
>\time 3/4
>e4 \p\< e\ff e
>\override Score.Hairpin #'minimum-length = #10
>e4 \p\< e\ff e
>}
>\relative {
>R4*3*2
>e4 \p\< e\ff e
>e4 \p\< e\ff e
>}
>>>
> }
>
>
> \markup { "This can also be done in the \layout block:" }
> \score
> {
><<
>\relative {
>\time 3/4
>e4 \p\< e\ff e
>e4 \p\< e\ff e
>}
>\relative {
>R4*3*2
>e4 \p\< e\ff e
>e4 \p\< e\ff e
>}
>>>
>
>\layout { \context { \Score \override Hairpin #'minimum-length = #10
> } }
> }
>
> 
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


longer hshortairpins for the whole score

2008-09-06 Thread Stefan Thomas
Dear lilypond-users,
I found out (with the help of the manual), that with the following tweak I
can get longer hairpins.
\version "2.11.49"
\relative { \override Voice.Hairpin #'minimum-length = #10 \time 3/4 e 4
\p\< e \ff e  }
But how can I change it for the whole score? Is it possible to write it in
the layout-block?
Thanks for helping,
Stefan
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond as an web-based application?

2008-08-31 Thread Stefan Thomas
Yes, that looks very promising!

2008/8/30 Kieren MacMillan <[EMAIL PROTECTED]>

> Hi all you server-side 'Ponder-ers!
>
>  I think a few of us are convinced LilyPond can have a
>> future as a client+server application
>>
>
> For the record, I eventually want to set up a server for my musical theatre
> works, where the consumer can choose an instrumentation and transposition(s)
> and the server spits out parts and scores accordingly. I haven't done
> *anything* in that direction, but am very interested in hearing about the
> progress/success (or not) of these other implementations.
>
> Cheers,
> Kieren.
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


lilypond as an web-based application?

2008-08-30 Thread Stefan Thomas
Dear lilypond-users,
I have had an (maybee studpid) idea in the last days. You know that there
are some programs available, that run in the internet, like e.g. the google
office. Do You think
it could be possible to make an internet-based version of lilypond?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: live cd-with lilypond

2008-08-28 Thread Stefan Thomas
Hi,
unfortunately I don't know anything about Slackware, but a live CD with the
latest stable version of lilypond would be great!

2008/8/29 Wilbert Berendsen <[EMAIL PROTECTED]>

> Op donderdag 28 augustus 2008, schreef Valentin Villenave:
> > the Nimblex guys seem to be ready to include LilyPond in their
> > distribution if we can help them doing so; they'd like
> > (understandably) to have a KDE menu entry for it, so maybe it would be
> > a good idea to include LilyKDE as well, with a custom icon for
> > Pate/Kate or whatever...
>
> That would be very nice!
>
> 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: paper size and printing

2008-08-28 Thread Stefan Thomas
Dear Alexander,
the default paper size in my pdf program is a4. But I have to set there the
margins to 1.27 cm, 1.27 cm, 1.57 cm and 1.57 cm. Otherwise the lilypond
generated pdf file would be too large for a a4 paper.

2008/8/25 Alexander Kobel <[EMAIL PROTECTED]>

> Stefan Thomas wrote:
> > Dear lilypond-users,
> > I have a question concerniung the paper size. When I print a pdf-file
> > with lpr, the top off the page is cut off. I think, the defualt paper
> > size is not a4. But the same thing happens, when I include the line "
> > #(set-default-paper-size "a4")" in the ly-file.
>
> I don't know about #(set-default-paper-size), but you can try
>\paper {
>#(set-paper-size "a4")
>}
> before anything else.
>
> However, AFAIK Lily uses A4 by default anyway, so you might just have a
> problem with your printer settings (margin needed by the printer)? I
> vaguely remember some LaTeX issue where you must have an additional inch
> for the top margin because of some driver thing...
> Can you check the paper size of the PDF in, say, the Adobe Reader (or
> Evince, or ...), usually found under Document/File properties or
> something similar.
>
>
> HTH
> Alexander
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


paper size and printing

2008-08-25 Thread Stefan Thomas
Dear lilypond-users,
I have a question concerniung the paper size. When I print a pdf-file with
lpr, the top off the page is cut off. I think, the defualt paper size is not
a4. But the same thing happens, when I include the line "
#(set-default-paper-size "a4")" in the ly-file.
Does someone know, how I can change it?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: how to change the LILYPOND_GC_YIELD

2008-08-24 Thread Stefan Thomas
Thanks,
I think there must be something seriously wrong with my system! But since I
did export LILYPOND_GC_YIELD=10 (!!) I am able to run lilypond properly. But
does someone know, how I can get find the problem in my linx (sidux) system?
I've de- and reinstalled lilypond, but the problems are of the same kind.

2008/8/23 Mats Bengtsson <[EMAIL PROTECTED]>

> Read any general Linux instruction on how to set environment
> variables. If you use bash as your shell, then it should work to
> do
> export LILYPOND_GC_YIELD=60
> lilypond ...
>
>  /Mats
>
> Stefan Thomas wrote:
>
>> Dear lilypondusers,
>> I have read the article in
>> http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Invoking-lilypond
>> but I still don't know, how I can chance the LILYPOND_GC_YIELD to e.g. 60.
>> When I type lilypond LILYPOND_GC_YIELD 60 I get an error message.
>> I should mention I use lilypond 2.11.49 on a linux machine.
>> 
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


how to change the LILYPOND_GC_YIELD

2008-08-23 Thread Stefan Thomas
Dear lilypondusers,
I have read the article in
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Invoking-lilypond
but I still don't know, how I can chance the LILYPOND_GC_YIELD to e.g. 60.
When I type lilypond LILYPOND_GC_YIELD 60 I get an error message.
I should mention I use lilypond 2.11.49 on a linux machine.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: live cd-with lilypond

2008-08-23 Thread Stefan Thomas
Dear Valentin,
many thanks for Your tips!
You are right, nimblex looks great,it would be a good thing, if there could
be included Lilypond!

2008/8/22 Valentin Villenave <[EMAIL PROTECTED]>

> 2008/8/22 Stefan Thomas <[EMAIL PROTECTED]>:
>
> > I'm searching for a live Cd with lilypond. I know, there is Musix, but it
> > has a very old version. And UBUNTU Studio, as far as I know, is not a
> live
> > CD, or is it?
>
> I'm afraid the best way is to build it yourself...
>
> I built a Lilypond live-CD in June for my pupils (it took me a whole night
> :-)
> After having tried with Mandriva and Fedora, I discovered that Ubuntu
> was probably the easiest to tweak. There's a nice, bery user-friendly
> tool called http://uck.sourceforge.net/
>
> There are also http://larch.berlios.de/ (a bit more geeky), and
> http://custom.nimblex.net/ which is incredibly cool but does not
> include LilyPond :-(
>
> (hey we should ask them if they could! I'll send them a mail...)
>
> Good luck anyway!
>
> Cheers,
> Valentin
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


live cd-with lilypond

2008-08-22 Thread Stefan Thomas
Hi,
I'm searching for a live Cd with lilypond. I know, there is Musix, but it
has a very old version. And UBUNTU Studio, as far as I know, is not a live
CD, or is it?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


collision with TimeSig

2008-08-18 Thread Stefan Thomas
Dear lilypond-users,
I have a collision between the note and the text of the TimeSig in the below
quoted example.
Is there any possibility to avoid this?
Thanks for help,
Stefan

noten = { c''1 }
tempotakt = { s 1 ^\markup { \column { \upright "subito piu mosso"   \line {
"(" \note # "4" #0.75 "= 120)" } \upright "molto rit." } } }
\layout{

  \context {
\type "Engraver_group"

\consists "Text_spanner_engraver"
\consists "Text_engraver"
\consists "Dynamic_engraver"
\consists "Axis_group_engraver"
\name "TimeSig"
  }
  \context {
\Score \accepts TimeSig}
}

 \new Score
{ <<

\new TimeSig  { \override Score.TimeSignature #'style = #'( )
\tempotakt  }
\new Staff { \noten }
>>
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


textlentgh on forever

2008-08-14 Thread Stefan Thomas
Dear Lilypondusers,
how can I switch on textLentgthOn for more than one word?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: percussion beaters

2008-08-14 Thread Stefan Thomas
Dear Valentin,
but how can I open this file? Where do I find it?
I don't have the source-code of the documentation and I don't know how to
compile it.

2008/8/14 Valentin Villenave <[EMAIL PROTECTED]>

> 2008/8/11 Stefan Thomas <[EMAIL PROTECTED]>:
>
> > unfortunately I can't reach the link anymore! I would like to add the
> > example to the documentation of percussion instruments!
>
> Yes, we're experiencing major problems with the LSR. However, this
> snippet should be available using
>
> @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
> {percussion-beaters.ly}
>
> in the source code of the documentation.
>
> Cheers,
> Valentin
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: main storage, error

2008-08-11 Thread Stefan Thomas
Dear Bartalan,
I'm sure another user will know it. But, strange enough, my older machine
was able to claculate the score, after more than 5 hours! Maybee I should
turn off point and click.
But, is it normal, I guess a score of 60 pages (it is in one movement), 6MB
(for the pdf) is not such a big think, I guess. Could it bee, that there is
something wrong with my system?

2008/8/11 Bertalan Fodor (LilyPondTool) <[EMAIL PROTECTED]>

>  Then I'm not sure. Try:
> export LILYPOND_GC_YIELD=20
> or ask it on lilypond-user.
>
>
> Stefan Thomas wrote:
>
> Dear Bartalan, sorry, I forgot. I'm using a linux machine, since a few
> months.
>
> 2008/8/10 Bertalan Fodor <[EMAIL PROTECTED]>
>
>>  On which OS?
>> On windows you have to go to the control panel > System > Advanced >
>> Environment variables and add a new environment variable called
>> LILYPOND_GC_YIELD, then log off and on to make it into effect.
>>
>> Stefan Thomas írta:
>>
>> Dear Bartalan,
>> thanks for Your quick answer! But where and how can change the
>>
>> LILYPOND_GC_YIELD environment variable ?
>>
>>
>> 2008/8/10 Bertalan Fodor <[EMAIL PROTECTED]>
>>
>>> Setting the LILYPOND_GC_YIELD environment variable to some smaller value
>>> than 70 may help.
>>>
>>> Bert
>>>
>>> Stefan Thomas írta:
>>>
>>>  Dear Lilypond,
>>> when calculating a large score I get an error message: "nicht genügend
>>> Arbeitsspeicher" (not enough main storage).
>>> Is there a possibilitie to solve this problem?
>>>
>>> --
>>>
>>> ___
>>> lilypond-user mailing [EMAIL 
>>> PROTECTED]://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>>>
>>
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: percussion beaters

2008-08-11 Thread Stefan Thomas
Dear Valentin,
unfortunately I can't reach the link anymore! I would like to add the
example to the documentation of percussion instruments!

2008/6/16 Valentin Villenave <[EMAIL PROTECTED]>

> 2008/6/16 Stefan Thomas <[EMAIL PROTECTED]>:
>
> > is there a possibilitie to integrate symbols for percussion-beaters and
> > sticks in a lilypond-file?
>
> Hi Stefan,
> I added an example to the LSR:
> http://lsr.dsi.unimi.it/LSR/Item?id=486
>
> Cheers,
> Valentin
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


main storage, error

2008-08-10 Thread Stefan Thomas
Dear Lilypond,
when calculating a large score I get an error message: "nicht genügend
Arbeitsspeicher" (not enough main storage).
Is there a possibilitie to solve this problem?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


context, drum staff

2008-08-10 Thread Stefan Thomas
Dear Lilypond users,
in the below quoted example I get two staves, although I would like to have
one!
What could be wrong?

\version "2.11.49"
global = { \time 4/4 s1 }
drumsA = {
\context Voice <<  { \global }  { \drummode {  tamb4 tamb tamb tamb } }
>> }

\new DrumStaff
{ \drumsA }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


drumpitches

2008-08-10 Thread Stefan Thomas
Dear lilypond-users,
I have a quesetion concerning the file drumpitch-init.ly.
I know it is on a linux machine normally at:
/usr/local/lilypond/usr/share/lilypond/current/ly
But could someone please tell me, where I can find this file on a windows
and on a macintosh machine?
I need to know it for the manual.
Thanks for Your help,
Stefan
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: scheme function for staccato

2008-08-10 Thread Stefan Thomas
Dear Lilypond-users,
with my actual version (2.11.49), the very nice addStaccato (or in this case
addTenuto) function doens't work as it did before.
In the quoted example, the note after the tie has a tenuto too (and I don't
want it) and the accent above the tenuto looks strange, it should be below
the tenuto, in my opinion.
Does it depend on version 2.11.49 or has something else been changed?
Here the example:
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


automatic note splitting and ties

2008-08-06 Thread Stefan Thomas
Dear lilypond-users,
I have a problem with ties in connection with automatic note splitting. I
don't understand why the ties in the below quoted example look so strange:
Is it a bug?
\score {
\new Staff {
\new Voice \with {
  \remove "Note_heads_engraver"
  \consists "Completion_heads_engraver"
  }
  r2

  r2 < e  c' >4 < f  des' >8 < des'  ees' >4 -> < c'  e' >
  r8 < e  c' >4 < f  des' >8 < des'  ees' >4 -> < c'  e' > < b  f' > r8 r4

   r2 < e  c' >4 < f  des' >8 < des'  ees' >8~ -> < des'  ees' >8 < c'  e' >


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


Re: Webern-style accidentals & transposition

2008-07-31 Thread Stefan Thomas
Dear Lilypond users,
how can I revert these "webernAccidentals"to normal style?


%%% begin %%%


\version "2.10.0"


webernAccidentals = {
% the 5s are just "a value different from any accidental"
\set Staff.keySignature = #'((0 . 5) (1 . 5) (2 . 5) (3 . 5)
 (4 . 5) (5 . 5) (6 . 5))
\set Staff.extraNatural = ##f
#(set-accidental-style 'forget)
}


\layout {
  \context { \Staff \remove Key_engraver }
}
\score {
  {
\webernAccidentals
c' dis' cis' cis'
c' dis' cis' cis'
c' c' dis' des'
  }
}


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


Re: broken octaves

2008-07-29 Thread Stefan Thomas
Dear Jay,
I tried something with:
 quintrauf = #(define-music-function (parser location x) (ly:music?)
 #{
 $x \transpose c g { $x }
 #})

 \new Staff { \quintrauf c' \quintrauf d' \quintrauf e' \quintrauf f' }
With copy and paste You can be very fast with the "\quintrauf"-command, but,
it is not much faster then just typing the notes.
I desire a function, where You can type just  once "\quintrauf", and all the
following notes will be changed. I think it must be possible.

2008/7/29 Jay Anderson <[EMAIL PROTECTED]>

> On Mon, Jul 28, 2008 at 12:11 AM, Stefan Thomas
> <[EMAIL PROTECTED]> wrote:
> > Dear Jay,
> > You wrote : "What should the output be? {c4 g' b, f' c g'} or {c4 g' b,
> fis'
> > c g'}".
> > In my case, I'm much more interested in the second case "{c4 g' b, fis' c
> > g'}". Because I'm writing mostly atonal music, I don't have to fear
> > voice-leading teachers (and I think broken fifths have never been
> > forbidden)!
>
> That would be doable since every interval will always be a perfect
> fifth. Some care would need to be taken to make sure the octaves are
> right. My first thought for the broken octave function was to make it
> generate something like this:
>
> music = \relative c' {c8 s b s e s d}
> transposed = \transpose c g \music
>
> \score
> {
>  \new Staff \relative c'
>  {
>\new Voice
><<
>  {\music s8}
>  {s8 \transposed}
>>>
>  }
>  \layout {}
>  \midi {}
> }
>
> This might be a better general approach.
>
> -Jay
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


re: adding graphics with external program

2008-07-28 Thread Stefan Thomas
Dear Luis,
on linux, there is the program pdf-edit available. You can add there simple
graphice. And as far as I know, You can export lilypond files to other
graphic formats, like png. You can read it in the manual. But You can also
add graphics with the markup command, at least eps-files.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: broken octaves

2008-07-28 Thread Stefan Thomas
Dear Jay,
You wrote : "What should the output be? {c4 g' b, f' c g'} or {c4 g' b, fis'
c g'}".
In my case, I'm much more interested in the second case "{c4 g' b, fis' c
g'}". Because I'm writing mostly atonal music, I don't have to fear
voice-leading teachers (and I think broken fifths have never been
forbidden)!

2008/7/27 Jay Anderson <[EMAIL PROTECTED]>

> On Sun, Jul 27, 2008 at 9:46 AM, Stefan Thomas
> <[EMAIL PROTECTED]> wrote:
> > Dear Jay,
> > many thanks for Your very nice plugin! I think it will be a very useful
> > thing for me.
> > But I have one question:
> > I would be interested in having other plugins  for other intervalls, or
> even
> > for small sequences of notes. If I want to change the Interval from an
> > ovtave to, lets say, a fifth, where do I have to turn the screw?
> > Thanks for Your help, Stefan
>
> It isn't trivial to get other intervals. For example if we're in the
> key of c major and we do this: \brokenfifths #1 {c4 b c}
>
> (don't let your voice leading teacher know you have this function :)
>
> What should the output be? {c4 g' b, f' c g'} or {c4 g' b, fis' c g'}
>
> Probably the first. So now let's do the same thing in f major: \key f
> \major \brokenfifths #1 {f4 e f}
>
> We'd probably want {f4 c' e, bes' f c'}. To do that we'd need some
> information about the key to know we need a b flat here. Peter Chubb
> has done some work here to get trills working on correct pitches for
> midi (for that computer controlled clarinet project). (see
> http://lists.gnu.org/archive/html/lilypond-user/2008-04/msg00686.html).
> I never followed up with him about how he's noting key change events.
> He might be processing a whole score at once to get this extra
> information.
>
> -Jay
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: broken octaves

2008-07-27 Thread Stefan Thomas
Dear Jay,
many thanks for Your very nice plugin! I think it will be a very useful
thing for me.
But I have one question:
I would be interested in having other plugins  for other intervalls, or even
for small sequences of notes. If I want to change the Interval from an
ovtave to, lets say, a fifth, where do I have to turn the screw?
Thanks for Your he
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: broken octaves

2008-07-27 Thread Stefan Thomas
Dear Jay,
many thanks for Your very nice plugin! I think it will be a very useful
thing for me.
But I have one question:
I would be interested in having other plugins  for other intervalls, or even
for small sequences of notes. If I want to change the Interval from an
ovtave to, lets say, a fifth, where do I have to turn the screw?
Thanks for Your help, Stefan
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: broken octaves

2008-07-25 Thread Stefan Thomas
Oh, Yes, You are right; I want
\relative { c c' d, d' }etc.

2008/7/25 Dominic Neumann <[EMAIL PROTECTED]>:

> Hi Stefan,
>
> are you sure you want c c' d d' ... instead of c c' d, d' e, e'?
> You could write a scheme function for that. I´ll try it, but I´m not
> too experienced in such things.
>
> Dominic
>
>
> 2008/7/25 Stefan Thomas <[EMAIL PROTECTED]>:
> > Dear Lilypond-users,
> >  I have in mind an input like:
> > \relative { \brokenoctaves {c d e f g }}
> > and the desired output is:
> > \relative { c c' d d' e e' f f' g g' }
> > Can this be done automatically?
> >
> >
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > http://lists.gnu.org/mailman/listinfo/lilypond-user
> >
> >
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


broken octaves

2008-07-25 Thread Stefan Thomas
Dear Lilypond-users,
 I have in mind an input like:
\relative { \brokenoctaves {c d e f g }}
and the desired output is:
\relative { c c' d d' e e' f f' g g' }
Can this be done automatically?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: clefs not shown

2008-07-25 Thread Stefan Thomas
Dear Valentine,
as far as I can remember, I removed the bar-engraver for a special reason, I
think it was for pedagogical purposes and it was a longer example.


2008/7/20 Valentin Villenave <[EMAIL PROTECTED]>:

> 2008/6/17 Stefan Thomas <[EMAIL PROTECTED]>:
> > why are the clefs not shown in the below quoted example?
>
> Greetings Stefan,
>
> A month ago you reported this bug, that has been added as
> http://code.google.com/p/lilypond/issues/detail?id=640
>
> May I ask why you needed to remove the Bar_engraver? Was it just out
> of curiosity or were you trying to typeset a "real" score? If you can
> provide us with a real-world example of a score that require this
> feature, I will keep the issue opened; otherwise Han-Wen proposes to
> close it.
>
> Cheers,
> Valentin
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stem length and position in cluster

2008-07-08 Thread Stefan Thomas
Dear lilypond-users,
I'va tried something else with the cluster stems. I now understand better,
how I can change the stems for clusters, but it is a lot of work. Therefore
I would like to know:
In the below quoted example I use two different cluster chords. The first
one looks good, but the second doesn't. Is it possible to make the changes
off stems etc. in the first chord more flexible, so that it matches also for
the second one?
Here the example:
%% begin %%
akkord = \relative c''' { << {  \voiceTwo  \once \override Stem #'length =
10 16 }   \\
{   \voiceFour  \once \override Stem #'length = 15
\once\override Stem #'rotation = #'(-50 0 2 )
 \once  \override Stem #'flag-style = #'no-flag
 \once\override Stem #'extra-offset = #'(-2.9  . 1.5)
\once\override Accidental #'extra-offset = #'(5.5  . 0)
\once\override NoteColumn #'force-hshift = #3.85 bes} >> r16 r8 }
\new Staff
\relative { \akkord r4 r2 \transpose c f { \akkord } r4 r2   }
 END 
2008/7/6 Stefan Thomas <[EMAIL PROTECTED]>:

> Dear lilypond-users,
> in the below quoted emxample, in my ponion, the stem from the b flat to the
> d should end at a little higher position. But I don't know, how to change
> it.
> Here the example:
>
>  schiefrunter = {  \once\override Stem #'extra-offset = #'(-1.1 . 0.75)
> \once\override Stem #'rotation = #'(-45 0 0) \once \override Stem #'length =
> #9 }
>  \relative c'' { \context Voice << { 16} {s64 \schiefrunter
> bes'4*3/16}>> r16 r8 r4 r2}
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


end of a TextSpanner

2008-07-07 Thread Stefan Thomas
Dear lilypondusers,
how can I achieve the end of the TextSpanner together with the last
shorter-rest in the below quoted example:
%% begin %%%
\version "2.11.49"
pedal = { \once \override TextSpanner #'outside-staff-priority = #500
   \textSpannerDown
\once \override TextSpanner #'bound-details #'left #'text = \markup {
\musicglyph #"pedal.Ped" }
   \once \override TextSpanner #'bound-details #'left-broken #'text = ##f
 \once  \override TextSpanner #'style = #'dashed-line
 \once  \override TextSpanner #'dash-period = #0.01
   \once \override TextSpanner #'bound-details #'right #'attach-dir = #1
 \once \override TextSpanner #'bound-details #'right #'attach-dir = #1
   \once \override TextSpanner #'bound-details #'right #'text =\markup {
\draw-line #'(0 . 1) }
   \once\override TextSpanner #'bound-details #'right-broken #'text = ##f
  \once \override TextSpanner #'bound-details #'right #'padding = #-0.5
   }
pedalisierung  = { \pedal s2\mf\> \startTextSpan s2\p s4..  s16
\stopTextSpan }

\relative { \context Voice << { c8 d e f g2 R1 } { \pedalisierung } >>  }
 %% END 
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


position of accidentals

2008-07-07 Thread Stefan Thomas
Dear Lilypond users,
in the below quoted example, the positions of the accidentals are not
convincing, in my opinion. Is there a possibilitie to change this generally?

%% begin %%
\relative { \time 3/4 8-> r r2 \time 4/4 8->
r r4 r2 }
% end %%%
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


stem length and position in cluster

2008-07-06 Thread Stefan Thomas
Dear lilypond-users,
in the below quoted emxample, in my ponion, the stem from the b flat to the
d should end at a little higher position. But I don't know, how to change
it.
Here the example:

 schiefrunter = {  \once\override Stem #'extra-offset = #'(-1.1 . 0.75)
\once\override Stem #'rotation = #'(-45 0 0) \once \override Stem #'length =
#9 }
 \relative c'' { \context Voice << { 16} {s64 \schiefrunter
bes'4*3/16}>> r16 r8 r4 r2}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


ascending line in textspanner

2008-07-06 Thread Stefan Thomas
Dear Lilypondusers,
is it possible to make an ascending or descending line in a textspanner?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Terrible question about a distinctive chord name system

2008-07-03 Thread Stefan Thomas
Dear hhpmusic,
I've already started with some of the "funktionsbezeichnungen". I think, it
will be a lot of work to make a library with all the necessary sympols. But
maybee we can share the work.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: compressMusic causes error

2008-06-30 Thread Stefan Thomas
Oh, I didn't think of it! How stupid!

2008/6/30 Graham Percival <[EMAIL PROTECTED]>:

> Or you could just run convert-ly: the tool that's *designed* to do
> these updates.
>
> Cheers,
> - Graham
>
>
> On Mon, 30 Jun 2008 21:53:25 +0200
> "Stefan Thomas" <[EMAIL PROTECTED]> wrote:
>
> > Hi Kieren, with the help of the german sidux-forum I succeded with:
> > find . -iname '*.ly' -exec perl -pi -e
> > 's/compressMusic/scaleDurations/g' {} \;
> > Hope it can help other users.
> >
> > 2008/6/29 Kieren MacMillan <[EMAIL PROTECTED]>:
> >
> > > Hi Stefan,
> > >
> > >
> > >  I don't know, what could be wrong with this snippet:
> > >>  \version "2.11.49"
> > >> \relative {  \compressMusic #' (1 . 2 ) {c4 c g' g a a g2 } }
> > >> Is it a bug of the version 2.11.49?
> > >>
> > >
> > > In the NEWS section, you'll see that \compressMusic has been renamed
> > > \scaleDurations.
> > >
> > > Hope this helps!
> > > Kieren.
> > >
> >
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


word list in lilypondtool

2008-06-30 Thread Stefan Thomas
Dear Lilypondusers,
when the syntax changes (like it has happened with compressMusic), do I have
the possibilite to change the word list in jedit/lilypondtool? I think it
doesn't now scaleDurations now, does it?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: compressMusic causes error

2008-06-30 Thread Stefan Thomas
Hi Kieren, with the help of the german sidux-forum I succeded with:
find . -iname '*.ly' -exec perl -pi -e 's/compressMusic/scaleDurations/g' {}
\;
Hope it can help other users.

2008/6/29 Kieren MacMillan <[EMAIL PROTECTED]>:

> Hi Stefan,
>
>
>  I don't know, what could be wrong with this snippet:
>>  \version "2.11.49"
>> \relative {  \compressMusic #' (1 . 2 ) {c4 c g' g a a g2 } }
>> Is it a bug of the version 2.11.49?
>>
>
> In the NEWS section, you'll see that \compressMusic has been renamed
> \scaleDurations.
>
> Hope this helps!
> Kieren.
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


compressMusic causes error

2008-06-29 Thread Stefan Thomas
Dear Lilypondusers,
I don't know, what could be wrong with this snippet:
 \version "2.11.49"
\relative {  \compressMusic #' (1 . 2 ) {c4 c g' g a a g2 } }
Is it a bug of the version 2.11.49?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: clefs not shown

2008-06-17 Thread Stefan Thomas
Dear Trevor,
I use version 2.11.47!

2008/6/17 Trevor Daniels <[EMAIL PROTECTED]>:

> Stefan
>
> Which version are you using?  When I try it clefs appear as expected in
> both 2.11.49 and 2.11.43-2.
>
> Trevor
>
> - Original Message - From: "Stefan Thomas" <
> [EMAIL PROTECTED]>
> To: "lilypond-user" 
> Sent: Tuesday, June 17, 2008 7:16 PM
> Subject: clefs not shown
>
>
>
>  Dear Lilypond users,
>> why are the clefs not shown in the below quoted example?
>>
>> rechts = { \clef "treble" s1*2 \break s1*2 }
>> links = { \clef bass s1*4 }
>>
>> \version "2.11.43"
>> \score {
>> \new PianoStaff = "Klavier"
>>   <<
>>   \new Staff= "rechts"
>>   \with { \remove "Time_signature_engraver" \remove
>> "Bar_number_engraver" }
>>   { \rechts }
>>  \new Staff = "links" \with {
>> \remove "Time_signature_engraver" \remove "Bar_number_engraver" }
>>
>>   { \links} >>
>>
>>
>> }
>>
>>\layout {
>>  \context {
>>\Score
>>\remove "Bar_number_engraver"
>>  }
>>  \context  { \Staff \remove Bar_engraver }
>>}
>>
>>
>
>
> 
>
>
>  ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


clefs not shown

2008-06-17 Thread Stefan Thomas
Dear Lilypond users,
why are the clefs not shown in the below quoted example?

rechts = { \clef "treble" s1*2 \break s1*2 }
links = { \clef bass s1*4 }

\version "2.11.43"
\score {
\new PianoStaff = "Klavier"
<<
\new Staff= "rechts"
\with { \remove "Time_signature_engraver" \remove
"Bar_number_engraver" }
{ \rechts }
   \new Staff = "links" \with {
  \remove "Time_signature_engraver" \remove "Bar_number_engraver" }

{ \links} >>


}

 \layout {
   \context {
 \Score
 \remove "Bar_number_engraver"
   }
   \context  { \Staff \remove Bar_engraver }
 }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


substitution for stem length

2008-06-16 Thread Stefan Thomas
Dear Lilypond-users,
I would like to make a varibable substitution for stems over two systems.
Before I used (thanks to Wilbert Berendsen)
noFlag = \override Stem #'flag-style = #'no-flag

stemExtend = { \noFlag \autoBeamOff
\override TupletNumber #'transparent = ##t
\override TupletBracket #'bracket-visibility = ##f
\override Stem #'length = #16
\override Stem #'cross-staff = ##t

}
Unfortanetely the stem length of 16 isn't always good.
Now I would like to type something like " langhals #16 " c4
I tried it, wothout success, with:
Langhals = #(define-music-function (parser location padding) (number?)
   #{
 \once
 \override Stem #'length = #$length

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


percussion beaters

2008-06-16 Thread Stefan Thomas
Dear Lilypond-users,
is there a possibilitie to integrate symbols for percussion-beaters and
sticks in a lilypond-file?
I personally don't use these symbols very often but I know, that they are
sometimes used in  percussion scores and parts.
I would like to know it for the grand documentation project.
An example how they could look like You can find it at:
http://images.google.de/imgres?imgurl=http://i30.twenga.com/3/tp/37/72/121983772.png&imgrefurl=http://www.twenga.co.uk/dir-Leisure-Hobbies,Drums-and-percussion-instruments,Xylophone-beater&h=100&w=100&sz=3&hl=de&start=84&tbnid=q21j-P3W5LrQ-M:&tbnh=82&tbnw=82&prev=/images%3Fq%3Dpercussion%2Bbeater%26start%3D63%26gbv%3D2%26ndsp%3D21%26hl%3Dde%26sa%3DN
Thanks for help
Stefan
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


autobeams for triplets

2008-06-15 Thread Stefan Thomas
Dear lilypond-users,
how can I change the automatic beams for the triplets in this example?
I would like to beam the triplets in groups of three and I would like to do
it automatically.
Here the example:
\version "2.11.7"
{ \time 2/2 f'' 4  \times 2/3 { a'' 8 g'' f'' } \times 2/3 { e'' d'' c'' }
\times 2/3 { b' d'' b' } }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


substitution with \movement

2008-06-11 Thread Stefan Thomas
Dear Lilypond-users,
I want to make a substitution with the \movement-command ( look at:
http://lsr.dsi.unimi.it/LSR/Item?id=444).
But unfortunately this doesn't work:
langsamer = {  \movement "subito meno mosso" "4" #69 }
How can I change it?
I had another strange experience with the movement-command:
When I exchange "\skip" with "s" in the below quoted example, it works fine,
but in the the opposite case, I get a very strange error message.
Is it a bug?
Here the example:
%%% BEGIN 
#(define ((make-format-movement-markup-function text) duration count
context)
 (markup #:huge #:bold text #:hspace 1
 "("
 #:general-align Y DOWN #:smaller
#:note-by-number (ly:duration-log duration)
 (ly:duration-dot-count duration)
 1
 "="
 (number->string count)
 ")"))


#(define (string->duration duration-string)
 "Parse the `duration-string', e.g. ''4..'' or ''breve.'', and return a
duration object."
 (let* ((length (string-length duration-string))
(dot-index (or (string-index duration-string #\.) length))
(len (substring duration-string 0 dot-index))
(dots (- length dot-index)))
  (ly:make-duration (cond ((string=? len "breve") -1)
  ((string=? len "longa") -2)
  ((string=? len "maxima") -3)
  (else (log2 (string->number len
dots 1 1)))

movement =
#(define-music-function (parser location text duration count music)

   (string? string? integer? ly:music?)
 #{
   \set Score.metronomeMarkFormatter =
#(make-format-movement-markup-function $text)
   \set Score.tempoWholesPerMinute = #$(ly:moment-mul (ly:make-moment count
1)
 (ly:duration-length
   (string->duration duration)))
   \set Score.tempoUnitDuration = #$(string->duration duration)
   \set Score.tempoUnitCount = #$count
   $music
   \set Score.metronomeMarkFormatter = #format-metronome-markup
 #})

 global = { \time 2/4 \skip 2  \time 3/4 \movement "subito meno mosso" "4"
#69  \skip 2. }
 pauke = { \clef bass c4 c c c c}
 schlagzwo = { c'4 c' c' c' c' }
  \paper {
   ragged-bottom = ##f
ragged-last-bottom = ##f %wenn auf "t" gesetzt wird, dann wird das
letzte System abgeschnitten!
bottem-margin = 30 \mm
horizontal-shift = 5 \mm
between-system-space = #2
between-system-padding = #2 %sorgt fuer ordentliche abstaende
page-limit-inter-system-space = ##t

   }




\layout{

  \context { %hier wird ein neuer "Kontext" mit Namen
"timesig" geschaffen
\type "Engraver_group"

\consists "Text_spanner_engraver"
\consists "Text_engraver"
\consists "Dynamic_engraver"
\consists "Axis_group_engraver"
\name "TimeSig"



  }
  \context {
\Score \accepts TimeSig}





 \context { \RemoveEmptyStaffContext }

} %Ende des Layoutblocks!!!\new Score
{ << \set Score.markFormatter = #format-mark-box-letters

\override Score.VerticalAxisGroup #'remove-first = ##t
\new TimeSig  { \override Score.TimeSignature #'style = #'( ) \override
Score.BarNumber #'break-visibility = ##(#t #t #t) %jede Taktzahl wird
gezeigt, spaeter wieder loeschen!!
 \global  }
\new Staff  << \set Staff.instrumentName = "Pauken"
\set Staff.shortInstrumentName = "Pk." {  \pauke  } >>

\new Staff = "Schlagzeug 2" << \set Staff.instrumentName = "Perc. 2"
\set Staff.shortInstrumentName = "Perc. 2" { \schlagzwo  } >>


>>
}
\version "2.11.47"
 END %
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: incorrect beams in 16th quintuplet

2008-06-09 Thread Stefan Thomas
Dear Luis,
I had the same problem! But there is a solution (not my idea) available. I
changed Your snippet o the following:
%%% BEGIN %%
\version "2.11.42"
quintolbeam = { \once \set beatLength = #(ly:make-moment 1 20) }
\relative c'
{
\times 4/5 { f8 f16 f16 f16 } r4
\times 4/5 { f16 f8 f16 f16 } r4
\quintolbeam
\times 4/5 { f16[ f16 f8 f16 ] }  r4
\quintolbeam
\times 4/5 { f16 f16 f16  f8 } r4

}

\layout{ragged-right=##t}
 END %%
___
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 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!
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rhythm template function

2008-06-03 Thread Stefan Thomas
Great, it works perfectly!

2008/6/3 Gilles THIBAULT <[EMAIL PROTECTED]>:

>
>
>
> Dear Gilles,
> thanks for Your tipp! But I tried it with an own example, that does not
> work, I don't know why:
> \include "rhythmen.ly"
>
>  sax = #(define-music-function (parser location musicA musicB musicC)
>   (ly:music? ly:music? ly:music?)
> #{
>  \set tupletSpannerDuration = #(ly:make-moment 1 4)
>
>  \times 4/5 \makeRhythm $musicA "16 16 16 16 16"
>
>  \unset tupletSpannerDuration
>  \makeRhythm $musicB "4"
>
> #})
>
>
> \new Staff \relative
> {
> \sax  { c d e f g } a
>
> }
>
> It's because you define a function with 3 arguments musicA, musicB, musicC
> and you give only 2 arguments in
> \sax  { c d e f g } a
> If you only want 2 arguments, you have to define sax like that :
>
> sax = #(define-music-function (parser location musicA musicB)
>   (ly:music? ly:music?)
> etc ...
>
> Just delete musicC and a ly:music?.
>
> Gilles
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rhythm template function

2008-06-03 Thread Stefan Thomas
Dear Gilles,
thanks for Your tipp! But I tried it with an own example, that does not
work, I don't know why:
\include "rhythmen.ly"

 sax = #(define-music-function (parser location musicA musicB musicC)
  (ly:music? ly:music? ly:music?)
#{
 \set tupletSpannerDuration = #(ly:make-moment 1 4)

 \times 4/5 \makeRhythm $musicA "16 16 16 16 16"

 \unset tupletSpannerDuration
 \makeRhythm $musicB "4"

#})


\new Staff \relative
{
\sax  { c d e f g } a

}
%%

2008/6/2 Gilles THIBAULT <[EMAIL PROTECTED]>:

>
>
> Yes, I tried the snippet You mentioned below (
> http://lsr.dsi.unimi.it/LSR/Item?id=390), but there is another problem:
> unfortunately it is difficult to integrate tuplets in it!
>
> Using the rhythm.ly  defined in this snippet, you can do something like
> that.
>
> %%%
> \include rhythm.ly
>
> myRhythmWithTuplet = #(define-music-function (parser location musicA musicB
> musicC)
>   (ly:music? ly:music? ly:music?)
> #{
>  \set tupletSpannerDuration = #(ly:make-moment 1 4)
>  \times 2/3 \makeRhythm $musicA "8 8 8 8 8 8"
>  \times 4/5 \makeRhythm $musicB "16 16 16 16 16"
>  \times 2/3 \makeRhythm $musicC "8 8 8"
>  \unset tupletSpannerDuration
> #})
>
>
>
> \new Staff \relative
> {
>  \myRhythmWithTuplet { c d e f g a} {b c d e f } {g a b}
>  \myRhythmWithTuplet { c b a g f e} {d c b a g } {f e d}
>  c1
> }
> %%
>
> You just have to define several arguments in your function.
>
> Gilles
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: add tenuto

2008-06-02 Thread Stefan Thomas
Yeah, great! It excludes the ties and the rests too, that seems to be
perfect for me!
Thanks a lot!!

2008/6/2 Gilles THIBAULT <[EMAIL PROTECTED]>:

>
>
>
> #(define (addTenutoFilterFunction event)
>  (let ( (eventname (ly:music-property  event 'name)) )
>   (if (eq? eventname 'EventChord)
> (let ( (elements (ly:music-property event 'elements)) )
>   ; don't add staccato to rests!
>   (if (not (eq? (ly:music-property (car elements) 'name) 'RestEvent))
> (set! (ly:music-property event 'elements)
>   (append elements (list (make-music 'ArticulationEvent
> 'articulation-type "tenuto"))
>   ))
> )
>
> addTenuto = #(define-music-function (parser location music) (ly:music?)
>  (music-filter addTenutoFilterFunction music)
> )
>
> \new Staff \relative { \addTenuto { c d e f~ f e d c } }
>
>
> Could it be possible to exclude those notes, that follows the one with the
> tie?
>
> Yes but perhaps music-filter is not convenient for that because it gives
> you the differents events in a order : sub-elements, elements.
> here is a version which seems to work with ties.
> (i do not test it a lot)
>
> %
>
> #(define tieEvent? #f)
>
> #(define (add-Tenuto music)
>  (let (
> (eventname (ly:music-property  music 'name))
> (elts (ly:music-property music 'elements))
> (elt  (ly:music-property music 'element))
>  )
>  (cond
> ((pair? elts)
> (begin
> (if (and
> (eq? eventname 'EventChord)
> (eq? (ly:music-property (car elts) 'name) 'NoteEvent)
> (not tieEvent?)
>  )
> (set! (ly:music-property music 'elements)
> (append elts (list (make-music 'ArticulationEvent
> 'articulation-type "tenuto"
> (set! tieEvent? #f)
> )
> (map add-Tenuto elts)
> )
> )
> ((ly:music? elt) (add-Tenuto elt))
> ((eq? eventname 'TieEvent) (set! tieEvent? #t))
>  )
>  music
> ))
>
> addTenuto = #(define-music-function (parser location music) (ly:music?)
>  (set! tieEvent? #f)
>  (add-Tenuto music)
> )
>
>
> \new Staff \relative { \addTenuto { c d e f~ f e d c } }
>
> %%
>
> Gilles
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


add tenuto

2008-06-01 Thread Stefan Thomas
Dear Lilypondusers,
I modified (which was very easy) the addStaccato function to addTenuto,
which also works very fine. But I have one question:
Could it be possible to exclude those notes, that follows the one with the
tie?
I think, this could be also interesting (even a bit more) for the
addStaccato function, because tied notes are normally not to be played
staccato, i guess.
Here a lilttle example:

#(define (addTenutoFilterFunction event)
 (let ( (eventname (ly:music-property  event 'name)) )
  (if (eq? eventname 'EventChord)
(let ( (elements (ly:music-property event 'elements)) )
  ; don't add staccato to rests!
  (if (not (eq? (ly:music-property (car elements) 'name) 'RestEvent))
(set! (ly:music-property event 'elements)
  (append elements (list (make-music 'ArticulationEvent
'articulation-type "tenuto"))
  ))
)

addTenuto = #(define-music-function (parser location music) (ly:music?)
 (music-filter addTenutoFilterFunction music)
)

\new Staff \relative { \addTenuto { c d e f~ f e d c } }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


lot of rests

2008-05-31 Thread Stefan Thomas
Dear Rune,
months ago You have been so kind texplain me a very useful scheme-fuction,
which can save a lot of type setting. I used it many times, but now there is
something, I don't understand:
Why does the first  snippet work quite well, and the second not? Off course,
it must have to do with the chords, but is there a possibilitie to do it
with the chords?
In the attachment is the slightly modified scheme-code. I call it "motiv.ly"
now.
 First EXAMPLE %%%
 \include "motiv.ly"
 \motiv #'pausi {c'8 r4 r8 d' r8 d' r e' r4 r8 }
 global = { \time 12/8 }
 rechts = \relative { \global \pausi {c d e } \pausi { d e f }  \pausi { e f
g } }
 links = { \global \clef bass c1. b, c }
 \version "2.11.47"
\score {
\new PianoStaff = "Klavier"
<<
\new Staff= "rechts" { \rechts }
   \new Staff = "links" \with {
  \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
{ \links} >>
}

 %%% second example %%
\include "motiv.ly"
 \motiv #'pausi { r4 r8 d' r8 d' r fis' r4 r8 }
 global = { \time 12/8 }
 rechts = \relative { \global \pausi { d fis }  }
 links = { \global \clef bass c1. }
 \version "2.11.47"
\score {
\new PianoStaff = "Klavier"
<<
\new Staff= "rechts" { \rechts }
   \new Staff = "links" \with {
  \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
{ \links} >>
}
%% end of second example


motiv.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rhythm template function

2008-05-31 Thread Stefan Thomas
Hi Jay,
thanks for Your fast answer!
Yes, I tried the snippet You mentioned below (
http://lsr.dsi.unimi.it/LSR/Item?id=390), but there is another problem:
unfortunately it is difficult to integrate tuplets in it!

2008/5/31 Jay Anderson <[EMAIL PROTECTED]>:

> Yeah, for now that's all it does. Check out this snippet for using a
> rhythm on a series of notes: http://lsr.dsi.unimi.it/LSR/Item?id=390
> The downside to this snippet is that you can't add articulations in
> the template and the template isn't normal lilypond syntax. It should
> work find for most uses though.
>
> -Jay
>
> On Fri, May 30, 2008 at 12:04 PM, Stefan Thomas
> <[EMAIL PROTECTED]> wrote:
> > Dear Jay,
> > today I tried Your great rhythm template function.
> > I have one quetion about it:  does it work only with repetitions of the
> same
> > note?
> >
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


re: rhythm template function

2008-05-30 Thread Stefan Thomas
Dear Jay,
today I tried Your great rhythm template function.
I have one quetion about it:  does it work only with repetitions of the same
note?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


how to get error messages in a separate text file

2008-05-29 Thread Stefan Thomas
Dear lilypond-users,
how can I get (on linux) the error-messages that lilypond produces in a
separate text-file, that I can save and read with e.g. kwrite?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


<    3   4   5   6   7   8   9   10   >