Re: dodecaphonic accidentals for all staves

2009-06-08 Thread Stefan Thomas
Dear Neil,
thanks for Your help! Now I know, how I can do it!

2009/6/7 Neil Puttock 

> 2009/6/6 Stefan Thomas :
> > Dear community,
> > how can I define webern-style accidentals for all staves in a score in
> the
> > layout-block?
> > I tried it with
> > \version "2.13.0"
> > \layout { \context { \Staff  #(set-accidental-style 'dodecaphonic) } }
>
> When you invoke set-accidental-style, it sets the following context
> properties:
>
> extraNatural
> autoAccidentals
> autoCautionaries
>
> You need to find out how these are set for your chosen accidental
> style by checking the definition of set-accidental-style in
> scm/music-functions.scm.
>
> Here's the code for 'dodecaphonic:
>
> 1250   ((equal? style 'dodecaphonic)
> 1251(set-accidentals-properties #f
> 1252`(Staff ,(lambda (c p bn mp)
> '(#f . #t)))
> 1253'()
>
> Applying these settings in a \layout block you have the following:
>
> \layout {
>  \context {
>\Staff
>extraNatural = ##f
>autoAccidentals = #`(Staff ,(lambda (c p bn mp) '(#f . #t)))
>autoCautionaries = #'()
>  }
> }
>
> I'll add an LSR snippet demonstrating this which we can add to the
> docs, since it's by no means straightforward to work out.
>
> Regards,
> Neil
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


dodecaphonic accidentals for all staves

2009-06-06 Thread Stefan Thomas
Dear community,
how can I define webern-style accidentals for all staves in a score in the
layout-block?
I tried it with
\version "2.13.0"
\layout { \context { \Staff  #(set-accidental-style 'dodecaphonic) } }

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


Re: collision between slurs and and accidentals

2009-05-27 Thread Stefan Thomas
I agree, this is ingenious!

2009/5/27 Jonathan Kulp 

> Mark Polesky wrote:
>
>> Jonathan Kulp wrote:
>>
>>> If you like the results of this code, you have Mark Polesky to thank.
>>> This is something from the mailing list just a little while back.  It
>>> produces some warnings in the terminal, but the output might be
>>> satisfactory.  I think it looks pretty cool anyway. :)
>>>
>>
>> Actually, just a couple of days ago, Neil Puttock helped me
>> implement some changes that will allow this to produce no
>> warnings. I'll send an updated macro when I get a chance.
>>
>> - Mark
>>
>>  Cool!  Looking forward to it.
>
> Jon
>
>
> --
> Jonathan Kulp
> http://www.jonathankulp.com
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: collision between slurs and and accidentals

2009-05-27 Thread Stefan Thomas
Dear Jonathan,
thanks for Your tip.
I've read the recommanded pages, and in one case it worked better, but in
the other, it didn't.
Isn't there another possibilitie?

\version "2.13.0"
{
  % \override Staff.Accidental #'avoid-slur = #'around
  \time 7/8
\once \override Slur #'positions = #'(5 . 5 )
  dis''8 ([cis''' ) f''] ais''4 ais''  %looks better
  cis'' 8 ( [ b'') dis''] gis''4 gis''
  \time 6/8
  \once \override Slur #'positions = #'(8 . 6 )
  f''8 [ ( es''' ) g'' ] d'''([ b'') a'' ]  %no collision to the tie, but
still not convincing
  \time 2/4
  c'''4 c''' }

2009/5/27 Jonathan Kulp 

> Stefan Thomas wrote:
>
>> Dear Community,
>> in the below quoted snippet, there are tow collisions between slurs and
>> accidentals.
>> Is there any way, to solve this problem, either automatically or by hand?
>>
>
> Have you tried the suggestions in the Learning Manual section "Tweaking
> Output"?  Take a look here and see if it helps, especially the section on
> collision of objects:
>
>
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Collisions-of-objects#Collisions-of-objects
>
> Jon
>
>
>  \version "2.13.0"
>> {
>>  % \override Staff.Accidental #'avoid-slur = #'around
>>  \time 7/8
>>  dis''8 ([cis''' ) f''] ais''4 ais''  %slur doesn't look nice
>>  cis'' 8 ( [ b'') dis''] gis''4 gis'' % slur is o.k.
>>  \time 6/8
>>  f''8 [( es''') g'' ] d'''([ b'') a'' ] %slur doesn't look nice
>>  \time 2/4
>>  c'''4 c''' }
>>
>>
>>
>
> --
> Jonathan Kulp
> http://www.jonathankulp.com
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


collision between slurs and and accidentals

2009-05-27 Thread Stefan Thomas
Dear Community,
in the below quoted snippet, there are tow collisions between slurs and
accidentals.
Is there any way, to solve this problem, either automatically or by hand?
\version "2.13.0"
{
  % \override Staff.Accidental #'avoid-slur = #'around
  \time 7/8
  dis''8 ([cis''' ) f''] ais''4 ais''  %slur doesn't look nice
  cis'' 8 ( [ b'') dis''] gis''4 gis'' % slur is o.k.
  \time 6/8
  f''8 [( es''') g'' ] d'''([ b'') a'' ] %slur doesn't look nice
  \time 2/4
  c'''4 c''' }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: cant't move a chord

2009-05-26 Thread Stefan Thomas
Dear Francisco,
thanks! It worked!

2009/5/26 Francisco Vila 

> 2009/5/26, Stefan Thomas :
> > Dear Francisco,
> > maybee I didn't espress clearly, what I wanted.
> > Here is a little longer snippet, which makes my  intentions hopefully
> clear:
> (...)
> > \times 2/3 {
> > 4 -> \p eis''4  -- 8
> >  -. [ gis''8 -. ] }
> > % the beginning of this measure looks not good, in my opinion
>
> Ah, yes, I see. It looks like a collision bug but you can workaround
> it by means of
>
> \once \override NoteColumn #'X-offset = #4.0
>
> --
> Francisco Vila. Badajoz (Spain)
> www.paconet.org
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: cant't move a chord

2009-05-26 Thread Stefan Thomas
Dear Francisco,
maybee I didn't espress clearly, what I wanted.
Here is a little longer snippet, which makes my  intentions hopefully clear:

\version "2.13.0"
  {  \repeat "unfold" 2 {
\time 4/4
R1 | %
\time 5/4
R4*5 | }
  \time 3/4
   \times 2/3 {
r8 b8  [ d'8   ] }

\times 2/3  {
es'8   [ f'8   fis'8   ] }
\times 4/7  {
g'16   [ gis'16   a'16   cis'16
  ais'16   b'16   c''16   ] }
\time 2/4
\times 2/3 {
4 -> \p eis''4  -- 8
-. [ gis''8 -. ] }
% the beginning of this measure looks not good, in my opinion

\times 2/3  {
    4  -> eis''4  -- 8
-. [ gis''8 -. ] } }





2009/5/26 Francisco Vila 

> 2009/5/26 Stefan Thomas :
> > Dear community,
> > I would like to change the horizontal position of an interval in the
> below
> > quoted snippet. But I don't know, how to do.
> > Here is the example:
> > \version "2.13.0"
> >  {
> >\time 2/4
> >%the first examnple without moving the note columns
> >\times 2/3 {
> >   4  -> \p eis''4  -- 8
> > -. [ gis''8 -. ] }
> >
> > \times 2/3  {
> > 4  -> eis''4  -- 8
> > -. [ gis''8 -. ] }  \break
> >   %now I'm trying to move them, but without any visible difference
> > \time 2/4
> >   \times 2/3 {
> >  \once \override NoteColumn #'force-hshift = #-32 %this does nothing,
> > why?
> >  \shiftOn
>
> Firstly, why do you want to move the chords? if they have to
> vertically (and naturally) synchronised, my advice is to make two
> independent staves joined by << >>.
>
> Or, make two scores.
>
> Or, remove the indent of the first staff.
>
> --
> Francisco Vila. Badajoz (Spain)
> www.paconet.org
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


cant't move a chord

2009-05-26 Thread Stefan Thomas
Dear community,
I would like to change the horizontal position of an interval in the below
quoted snippet. But I don't know, how to do.
Here is the example:
\version "2.13.0"
 {
   \time 2/4
   %the first examnple without moving the note columns
   \times 2/3 {
  4  -> \p eis''4  -- 8
-. [ gis''8 -. ] }

\times 2/3  {
4  -> eis''4  -- 8
-. [ gis''8 -. ] }  \break
  %now I'm trying to move them, but without any visible difference
\time 2/4
  \times 2/3 {
 \once \override NoteColumn #'force-hshift = #-32 %this does nothing,
why?
 \shiftOn
 4  -> \p eis''4  -- 8
-. [ gis''8 -. ] }

\times 2/3  {
4  -> eis''4  -- 8
-. [ gis''8 -. ] }

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


Re: [Frescobaldi] Re: [ANN] Frescobaldi 0.7.9

2009-05-24 Thread Stefan Thomas
Dear Wilbert,
I tried installing meinproc4, but, unfortunately, it is not in the
repositorys of Kubuntu.
I guess I will wait, until a package for my distro is built.

2009/5/24 Wilbert Berendsen 

> Op zondag 24 mei 2009, schreef Stefan Thomas:
> > /bin/sh: KDE4_MEINPROC_EXECUTABLE-NOTFOUND: not found
>
> try installing meinproc4. It is needed for building the help file.
> See earlier thread on this list. It is part of the KDE doc packages.
>
> best regards,
> Wilbert Berendsen
>
> --
> Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Output_property_engraver

2009-05-24 Thread Stefan Thomas
Dear Francisco,
thanks for Your help.
Yes, You're right, I should change << \lower >> to \lower.
I somebody else knows, what the Output_property_eOutput_property_engraver
does, I still would like to know it.
It seems to be important

2009/5/24 Francisco Vila 

> 2009/5/24 Stefan Thomas :
> > Dear community,
> > I have a question concerning this snippet:
> >
> http://lilypond.org/doc/v2.13/input/lsr/lilypond-snippets/Expressive-marks#Piano-template-with-centered-dynamics
> > I don't know, what the "Output_property_engraver" does.
>
> I don't know, either, but note that this engraver is by default a part
> of the most common contexts Score, Staff and Voice.
>
> BTW if nobody complains, I'll change
>
>  << \lower >>
>
> by
>
>  \lower
>
> in this template.
>
>
> --
> Francisco Vila. Badajoz (Spain)
> www.paconet.org
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Output_property_engraver

2009-05-24 Thread Stefan Thomas
Dear community,
I have a question concerning this snippet:
http://lilypond.org/doc/v2.13/input/lsr/lilypond-snippets/Expressive-marks#Piano-template-with-centered-dynamics
I don't know, what the "Output_property_engraver" does.
I've read the explanations, but I didn't understand, unfortunately
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [Frescobaldi] Re: [ANN] Frescobaldi 0.7.9

2009-05-24 Thread Stefan Thomas
Dear Wilbert,
unfotunately, I couldn't install frescobaldi from source.
After running make I got the message:
Scanning dependencies of target
bytecompile_python
[  0%] Byte-compiling
signals.py

[  0%] Byte-compiling
rational.py

[  0%] Byte-compiling
kateshell/mainwindow.py

[  0%] Byte-compiling
kateshell/app.py

[  0%] Byte-compiling
kateshell/__init__.py

[  0%] Byte-compiling
hyphenator.py

[  0%] Byte-compiling
frescobaldi_app/actions.py

[  0%] Byte-compiling
frescobaldi_app/document.py

[  0%] Byte-compiling
frescobaldi_app/highlight.py

[  0%] Byte-compiling
frescobaldi_app/lqi.py

[  0%] Byte-compiling
frescobaldi_app/__init__.py

[  0%] Byte-compiling
frescobaldi_app/install.py

[  0%] Byte-compiling
frescobaldi_app/completion.py

[  0%] Byte-compiling
frescobaldi_app/rumor.py

[  0%] Byte-compiling
frescobaldi_app/scorewiz/parts.py

[  0%] Byte-compiling
frescobaldi_app/scorewiz/__init__.py

[  0%] Byte-compiling
frescobaldi_app/scorewiz/preview.py

[  0%] Byte-compiling
frescobaldi_app/expand.py

[  0%] Byte-compiling
frescobaldi_app/settings.py

[  0%] Byte-compiling frescobaldi_app/version.py
[  0%] Byte-compiling frescobaldi_app/hyphen.py
[  0%] Byte-compiling frescobaldi_app/progress.py
[  0%] Byte-compiling frescobaldi_app/mainapp.py
[  0%] Byte-compiling frescobaldi_app/widgets.py
[  0%] Byte-compiling frescobaldi_app/runlily.py
[  0%] Byte-compiling ly/font.py
[  0%] Byte-compiling ly/pitch.py
[  0%] Byte-compiling ly/words.py
[  0%] Byte-compiling ly/tokenize.py
[  0%] Byte-compiling ly/__init__.py
[  0%] Byte-compiling ly/rx.py
[  0%] Byte-compiling ly/duration.py
[  0%] Byte-compiling ly/articulation.py
[  0%] Byte-compiling ly/dom.py
[  0%] Byte-compiling ly/key.py
[  0%] Byte-compiling ly/parse.py
[  0%] Byte-compiling ly/version.py
[  0%] Byte-compiling runpty.py
[ 38%] Built target bytecompile_python
Scanning dependencies of target lilypond_pngs
[ 90%] Built target lilypond_pngs
Scanning dependencies of target translations
[ 99%] Built target translations
Scanning dependencies of target doc-handbook
[ 99%] Generating index.cache.bz2
/bin/sh: KDE4_MEINPROC_EXECUTABLE-NOTFOUND: not found
make[2]: *** [doc/index.cache.bz2] Fehler 127
make[1]: *** [doc/CMakeFiles/doc-handbook.dir/all] Fehler 2
make: *** [all] Fehler 2
and after running make uinstall I got:
[ 38%] Built target bytecompile_python
[ 90%] Built target lilypond_pngs
[ 99%] Built target translations
[ 99%] Generating index.cache.bz2
/bin/sh: KDE4_MEINPROC_EXECUTABLE-NOTFOUND: not found
make[2]: *** [doc/index.cache.bz2] Fehler 127
make[1]: *** [doc/CMakeFiles/doc-handbook.dir/all] Fehler 2
make: *** [all] Fehler 2

I don't understand this!
2009/5/24 rosea grammostola 

>
>
> On Sun, May 24, 2009 at 6:26 AM, Wilbert Berendsen 
> wrote:
>
>>
>> Hi all,
>>
>> Frescobaldi 0.7.9 has been released. This release contains some bugfixes
>> and
>> small improvements. Changes:
>>
>> * Spurious crashes (since 0.7.8) seem to have been eliminated.
>> * Alt-Up and Alt-Down now jump to the first line of a blank space instead
>> of
>>  just the next or previous blank line.
>> * LilyPond symbols throughout the program now use the default window text
>>  color.
>> * Octave marks are removed from the (first) pitch of a chord when using
>>  the "repeat last expression" function.
>> * Predefined guitar frets have been added to the Chord Names and Lead
>> Sheet
>>  part type in the Score Wizard
>>
>> Get it at http://lilykde.googlecode.com/files/frescobaldi-0.7.9.tar.gz
>>
>
> thanks! nice job!
>
> \r
>
>
> --~--~-~--~~~---~--~~
> Frescobaldi homepage: http://www.frescobaldi.org/
> Mailing list: http://groups.google.com/group/frescobaldi
> -~--~~~~--~~--~--~---
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re:collision with crescendo text (-Eluze)

2009-05-05 Thread Stefan Thomas
Dear Eluze,
thanks for Your help!
It works, but it seems to be really complicated, for me at least!
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


collision with crescendo text

2009-05-03 Thread Stefan Thomas
Dear community,
in the below quoted snippet, the crescendo -text should have more space.
How can I do it?
I made a trial, but without success.
Here the short example:

\version "2.13.0"
dynalong= {
  \override DynamicTextSpanner #'extra-spacing-width = #'(0 . 0)
\override DynamicTextSpanner #'extra-spacing-height = #'(-inf.0 . +inf.0)
} %unfortunately this doesn't work
\relative c'' { \dynalong
  \crescTextCresc
  \once \override DynamicTextSpanner #'dash-period = #-1.0
  bes2 \< des \sf c1
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Subject: Re: flats as sharps and sharp as flats

2009-04-26 Thread Stefan Thomas
Dear community,
with Your hints I made success with my idea of changing the enharmonic context.
But, what I did doesn't still work like I expect it.

Here is an example with short comments on it:

\version "2.13.0"
#(define  (naturalize-pitch p)
  (let* ((o (ly:pitch-octave p))
 (a (* 4 (ly:pitch-alteration p)))
; alteration, a, in quarter tone steps, for historical reasons
 (n (ly:pitch-notename p)))
(cond
 ((and (> a 1) (or (eq? n 6) (eq? n 2)))
  (set! a (- a 2))
  (set! n (+ n 1)))
 ((and (< a -1) (or (eq? n 0) (eq? n 3)))
  (set! a (+ a 2))
  (set! n (- n 1
(cond
 ((> a 2) (set! a (- a 4)) (set! n (+ n 1)))
 ((< a -2) (set! a (+ a 4)) (set! n (- n 1
(if (< n 0) (begin (set! o (- o 1)) (set! n (+ n 7
(if (> n 6) (begin (set! o (+ o 1)) (set! n (- n 7
(ly:make-pitch o n (/ a 4

#(define (naturalize music)
  (let* ((es (ly:music-property music 'elements))
 (e (ly:music-property music 'element))
 (p (ly:music-property music 'pitch)))
(if (pair? es)
(ly:music-set-property!
 music 'elements
 (map (lambda (x) (naturalize x)) es)))
(if (ly:music? e)
(ly:music-set-property!
 music 'element
 (naturalize e)))
(if (ly:pitch? p)
(begin
  (set! p (naturalize-pitch p))
  (ly:music-set-property! music 'pitch p)))
music))

naturalizeMusic =
#(define-music-function (parser location m)
(ly:music?)
(naturalize m))
%shows only sharps

showSharps = #(define-music-function (parser location x) (ly:music?)
 #{
  \naturalizeMusic  \transpose  ges fis  $x
 #})
%show only flats
showFlats = #(define-music-function (parser location x) (ly:music?)
 #{
  \naturalizeMusic  \transpose  fis ges  $x
 #})
scale = \relative c' {
c4 cis d dis e f fis g gis a ais b c b bes a aes g ges f e es d des
}
\new Staff {
\showSharps{\scale } %this works fine!
\showSharps { \transpose c e \scale } %why it shows "eis", and not "f"?
}


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


flats as sharps and sharp as flats

2009-04-19 Thread Stefan Thomas
Dear community,
I have a question about the great naturalize music function, I found at
http://lilypond.org/doc/v2.11/input/lsr/lilypond-snippets/Pitches#Pitches
Is it possible to define another function, that shows an written "dis"
as an "es" and vice versa?
I'm thinking of something like \showFlats { cis dis fis gis ais}
\showSharps { des es ges aes bes }.
I think, this could simplify the work with midi and rumor dramatically
and I guess, it should be not too difficult, to change the
naturalizeMusic function, for those, who have little experiences in
programming ( I don't have any).
Does someone have an idea, how this can be done?
Stefan


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


Re: [Alsa-user] edirol fa.-66

2009-04-14 Thread Stefan Thomas
Dear John,
thanks for Your reply. But isn't there a possibilitie to use it with
freebob? I have freebob in the repositorys of kubuntu, but libffado
not, and I really don't like installing software from source, because
most of the time it doesn't work, when I try it.
And let me ask one more question:
I read in the README file of ffado:
note: At the moment there is no support for ALSA nor for pulseaudio
And I would like to use it with csound, for live midi-playing. This
works without jack.
Is it a problem?


2009/4/14 John Haxby :
> Stefan Thomas wrote:
>>
>> Dear community,
>>  I would like to get to work my edirol fa-66 soundcard.
>>   It is an external firewire module and I'm using kubunte (kde 4.1.).
>>   Could You give me a tipp, please?
>>
>
> http://www.ffado.org/
>

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] edirol fa.-66

2009-04-14 Thread Stefan Thomas
Dear community,
 I would like to get to work my edirol fa-66 soundcard.
   It is an external firewire module and I'm using kubunte (kde 4.1.).
   Could You give me a tipp, please?

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: lyrics and aftergrace

2009-04-07 Thread Stefan Thomas
Dear Neil,
thanks! I'm now able to do what I wanted!

2009/4/7 Neil Puttock :
> 2009/4/7 Stefan Thomas :
>> Yes, this is exactly what I want
>
> I think you'll have to fake the grace notes in this situation.  You
> probably won't get them to look perfectly grace-like, due to spacing
> constraints and the action of the lyrics, though you might be able to
> tweak them slightly by override SpacingSpanner.
>
> startGrace = {
>  \override Stem #'direction = #UP
>  \override Stem #'font-size = #-3
>  \override NoteHead #'font-size = #-3
>  \override Dots #'font-size = #-3
>  \override Stem #'length-fraction = #0.8
>  \override Stem #'no-stem-extend = ##t
>  \override Beam #'thickness = #0.384
>  \override Beam #'length-fraction = #0.8
>  \override Accidental #'font-size = #-4
>  \override Slur #'direction = #DOWN
> }
> stopGrace = {
>  \revert Stem #'direction
>  \revert Stem #'font-size
>  \revert NoteHead #'font-size
>  \revert Dots #'font-size
>  \revert Stem #'length-fraction
>  \revert Stem #'no-stem-extend
>  \revert Beam #'thickness
>  \revert Beam #'length-fraction
>  \revert Accidental #'font-size
>  \revert Slur #'direction
> }
>
> graceNotes =
> #(define-music-function (parser location music) (ly:music?)
> #{
>  \startGrace
>  $music
>  \stopGrace
> #})
>
> melodie = \relative c'' {
>  \global cis2.*47/48\trill \graceNotes { b16*1/8 [ cis] } | d4
> }
>
> Regards,
> Neil
>


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


Re: filling meaasures with rests automatically

2009-04-07 Thread Stefan Thomas
Dear Kieren,
I think it could be easy, for someone, who can handle scheme, but for
me, I guess, it's too complicated.

2009/4/7 Kieren MacMillan :
> Hi Stefan,
>
>> there is one feature, that I know from Sibelius and Finale, which
>> would be great to have in Lilypond too.
>> If You have for example just one sixteenth note in a 4/4 bar, than
>> sibelius automatically fills the rest of the bar with rests.
>> I think rosegarden is able to do that too, but as far as I know, it is
>> not possible to do this within lilypond.
>> Could it be possible to write a script for this?
>
> This would be pretty simple with a Scheme function.
> You would definitely have to use bar checks on every measure, though, or
> else the Scheme function could not tell where you wanted the measure to end.
>
> Hope this helps!
> Kieren.
>


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


Re:Quarter-tone notation with arrows

2009-04-07 Thread Stefan Thomas
Dear community,
concerning the notation of microtonal accicentals, in my opinion the
solution of Hans Zender is quite good.
He suggests to write changes of intonation with (-) (+) (on 12th of a
tone higher or lower), (--) (++), and so on.
This can be done easily in Lilypond and is quite understandable for
every musician.


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


filling meaasures with rests automatically

2009-04-07 Thread Stefan Thomas
Dear community,
there is one feature, that I know from Sibelius and Finale, which
would be great to have in Lilypond too.
If You have for example just one sixteenth note in a 4/4 bar, than
sibelius automatically fills the rest of the bar with rests.
I think rosegarden is able to do that too, but as far as I know, it is
not possible to do this within lilypond.
Could it be possible to write a script for this?


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


Re: lyrics and aftergrace

2009-04-07 Thread Stefan Thomas
Yes, this is exactly what I want

2009/4/7 Trevor Daniels :
> Stefan
>
> I would not normally expect to see a separate syllable for one or both grace
> notes.  The syllable sung on the note following, or in your case preceding,
> the grace note would be extended to cover the grace note(s) too. Is this not
> what you would expect?
>
> Trevor
>
> - Original Message - From: "Stefan Thomas"
> 
> To: "lilypond-user" 
> Sent: Tuesday, April 07, 2009 7:14 AM
> Subject: lyrics and aftergrace
>
>
>> Dear community,
>> I have a problem with lyrics and aftergrace.
>> In the following snippet, the lyrics don't align to the music as expected.
>> global = { \key d \major \time 6/8 }
>> melodie = \relative c'' { \global \afterGrace  cis2.\trill{ b16 [ cis] }
>>  d4 }
>> text = \lyricmode { Lied im Grund. }
>>
>> \version "2.12.0"
>>
>>    \score {
>>       <<
>>          \new Voice = "eins" {
>>             \autoBeamOff
>>             \melodie
>>          }
>>          \new Lyrics \lyricsto "eins" \text
>>       >>
>>    }
>>
>>
>> ___
>> 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


lyrics and aftergrace

2009-04-06 Thread Stefan Thomas
Dear community,
I have a problem with lyrics and aftergrace.
In the following snippet, the lyrics don't align to the music as expected.
global = { \key d \major \time 6/8 }
melodie = \relative c'' { \global \afterGrace  cis2.\trill{ b16 [ cis] }  d4 }
text = \lyricmode { Lied im Grund. }

\version "2.12.0"

 \score {
<<
   \new Voice = "eins" {
  \autoBeamOff
  \melodie
   }
   \new Lyrics \lyricsto "eins" \text
>>
 }


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


Re: increasing the distance between tie and note generally

2009-04-03 Thread Stefan Thomas
Dear Neil,
thanks! Now I understand.

2009/4/3 Neil Puttock :
> 2009/4/3 Stefan Thomas :
>> Dear Neil,
>> I tried it with
>> \relative { c1 ~ c
>>  \override Tie #'(details ratio 1.2) \override Tie #'(details heigth-limit 
>> 13)
>>  c ~ c }
>> but without sucess!
>
> Overrides need an equals sign, even if the properties are nested.
>
> \override Tie #'(details ratio) = #1.2
>
> or
>
> \override Tie #'details #'ratio = #1.2
>
> Regards,
> Neil
>


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


Re: increasing the distance between tie and note generally

2009-04-02 Thread Stefan Thomas
Dear Neil,
I tried it with
\relative { c1 ~ c
  \override Tie #'(details ratio 1.2) \override Tie #'(details heigth-limit 13)
  c ~ c }
but without sucess!

2009/4/2 Neil Puttock :
> 2009/3/31 Stefan Thomas :
>> Thanks! Great!
>> But I would like to ask one more question.
>> If the distance between two notes is larger, I think the amount of the
>> curve should be a little larger too. Can this be changed, generally if
>> possible, too?
>
> I haven't tested this myself, but you could try altering Tie
> #'(details ratio) and #'(details height-limit).
>
> Regards,
> Neil
>


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


Re: increasing the distance between tie and note generally

2009-03-30 Thread Stefan Thomas
Thanks! Great!
But I would like to ask one more question.
If the distance between two notes is larger, I think the amount of the
curve should be a little larger too. Can this be changed, generally if
possible, too?

2009/3/30 Neil Puttock :
> 2009/3/30 Stefan Thomas :
>> Dear community,
>> in the below quoted snippet the position of the tie isn't convincing,
>> in my opinion. It should be al little further apart from the
>> notes. Off couse I could type \override Tie #'staff-position all the
>> time, but I would be interested in tweaking it generally.
>> Is there a possibilitie?
>
> Try this:
>
> \override Tie #'staff-position =
> #(lambda (grob)
>   (let* ((head (ly:grob-parent (ly:grob-original grob) X))
>          (head-pos (ly:grob-staff-position head)))
>     (cond
>      ((>= head-pos 3)  (+ head-pos 2.5))
>      ((<= head-pos -3) (- head-pos 2.5)
>
> Regards,
> Neil
>


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


increasing the distance between tie and note generally

2009-03-30 Thread Stefan Thomas
Dear community,
in the below quoted snippet the position of the tie isn't convincing,
in my opinion. It should be al little further apart from the
notes. Off couse I could type \override Tie #'staff-position all the
time, but I would be interested in tweaking it generally.
Is there a possibilitie?
Here the short snippet:

BEGIN
\version "2.12.1"
global = { \time 3/4 }
notes = \relative { \times 2/3 {e 16 g, e'~ } e8 ~ e2 ~ \break e 2. \break }

\new Staff { \global \transpose c c'  \notes \notes
 \override Tie #'staff-position = #5.5  \transpose c c'  \notes %this
looks convincing
\notes %this does not!
}
%END


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


Re: order of articulation symbols

2009-03-27 Thread Stefan Thomas
And, one more point:
If I would like to change it generally, for all cases?
In my opinion the tenuto should alwyas closer to the note than the accent.

2009/3/27 Stefan Thomas :
> Dear Mats,
> thanks for Your tip! But how can I use this \tweak-command in this special 
> case?
>
> 2009/3/27 Mats Bengtsson :
>>
>>
>> Jonathan Kulp wrote:
>>>
>>> Stefan Thomas wrote:
>>>>
>>>> Dear communitiy,
>>>> I would like to change the order of articulation symbols in the below
>>>> quoted example.
>>>> But I don't know how to do it.
>>>> Here es a short snippet:
>>>> \version "2.12.1"
>>>> notes = { \repeat unfold 4 {    8->-- es''-. >>>>
>>>>> -- fis''-. } }
>>>>
>>>> arti = {
>>>> \repeat "unfold" 4 { s8 ->-- %the accent should be above the tenuto,
>>>> not below, but how can I change it?
>>>> s8-. s8-- s8-. } }
>>>>
>>>
>>> Just change the order in which you code the articulations:
>>>
>>>  ---> instead of ->--
>>
>> For the record, note that this strategy won't work for all combinations of
>> articulations, since some articulations have a different priority set by
>> default. For example, you could try
>> g-.-- g---.
>> or
>> g^-^\fermata g^\fermata^-
>> where both versions give the same result. To change the order in such
>> situations, you have to use a \tweak command to change the script-priority
>> property of one of the articulations.
>>
>>  /Mats
>>
>


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


Re: order of articulation symbols

2009-03-27 Thread Stefan Thomas
Dear Mats,
thanks for Your tip! But how can I use this \tweak-command in this special case?

2009/3/27 Mats Bengtsson :
>
>
> Jonathan Kulp wrote:
>>
>> Stefan Thomas wrote:
>>>
>>> Dear communitiy,
>>> I would like to change the order of articulation symbols in the below
>>> quoted example.
>>> But I don't know how to do it.
>>> Here es a short snippet:
>>> \version "2.12.1"
>>> notes = { \repeat unfold 4 {    8->-- es''-. >>>
>>>> -- fis''-. } }
>>>
>>> arti = {
>>> \repeat "unfold" 4 { s8 ->-- %the accent should be above the tenuto,
>>> not below, but how can I change it?
>>> s8-. s8-- s8-. } }
>>>
>>
>> Just change the order in which you code the articulations:
>>
>>  ---> instead of ->--
>
> For the record, note that this strategy won't work for all combinations of
> articulations, since some articulations have a different priority set by
> default. For example, you could try
> g-.-- g---.
> or
> g^-^\fermata g^\fermata^-
> where both versions give the same result. To change the order in such
> situations, you have to use a \tweak command to change the script-priority
> property of one of the articulations.
>
>  /Mats
>


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


order of articulation symbols

2009-03-27 Thread Stefan Thomas
Dear communitiy,
I would like to change the order of articulation symbols in the below
quoted example.
But I don't know how to do it.
Here es a short snippet:
\version "2.12.1"
notes = { \repeat unfold 4 {8->-- es''-. -- fis''-. } }

arti = {
\repeat "unfold" 4 { s8 ->-- %the accent should be above the tenuto,
not below, but how can I change it?
s8-. s8-- s8-. } }

\new Staff { \context Voice << \notes \arti >> }


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


Re: new Problem with Time-Sig

2009-03-27 Thread Stefan Thomas
Dear Kieren,
thanks for Your help. Yes,  it would be really great to get it
qutomatically. Maybee with lilypond 2.14.

2009/3/27 Kieren MacMillan :
> Hi Stefan,
>
>> Yes, I don't now how to reduce the distance and first staff in this
>> example.
>> It is an excerpt of a larger score, and the first staff isn't always
>> the same, it's a so called french score.
>
> If you're French scoring, you need to make a music function that turns the
> topmost (visible) Staff into the "Time Signature carrier" -- I do this
> manually, but a clever Scheme hacker could probably write a function to
> automate it.
>
> Good luck!
> Kieren.
>
> p.s. Unrelated hint: You don't need separate \context { \Score ... } blocks
> for every override -- simply put them in the same one!
>


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


variable in paper block

2009-03-27 Thread Stefan Thomas
Dear community,
I would like to make a substition in the paper block, for the part
title. I usually use:
\paper{
 oddHeaderMarkup = \markup
 \fill-line {
 "name of the part"
 " "
 \on-the-fly #print-page-number-check-first \fromproperty
#'page:page-number-string
 }

 evenHeaderMarkup = \markup
 \fill-line {
 \on-the-fly #print-page-number-check-first \fromproperty
#'page:page-number-string
 " "
 "Bassklarinette"
 }
 }
But I would like to do something like: \partname #'"Violin 1" or
\partname #'"Violin 2" etc.
How can I do this?


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


Re: new Problem with Time-Sig

2009-03-26 Thread Stefan Thomas
Dear Neil,
Yes, I don't now how to reduce the distance and first staff in this example.
It is an excerpt of a larger score, and the first staff isn't always
the same, it's a so called french score.
Here is the example:

\version "2.12.1"
#(set-global-staff-size 12)
\paper {
  ragged-bottom = #f
  ragged-last-bottom = ##f


}
\layout

{
 \context { \RemoveEmptyStaffContext }
 \context { \Score  \override VerticalAxisGroup #'remove-first = ##t }
 \context { \Score \consists  "Time_signature_engraver" }
   \context { \Score \override TimeSignature #'style = #'() }
   \context { \Score  \override TimeSignature #'break-align-symbol
= #'staff-bar }
\context { \Score \override TimeSignature #'X-offset: =
#ly:self-alignment-interface::x-aligned-on-self }
   \context { \Score \override TimeSignature #'self-alignment-X = #CENTER }
   \context { \Score  \override TimeSignature #'break-visibility =
#end-of-line-invisible }
   \context { \Score \override TimeSignature #'extra-spacing-width
= #'(+inf.0 . -inf.0) }
   \context { \Score \override TimeSignature #'font-size = #3 }
\context { \Score \override  TimeSignature #'extra-offset =
#'(0 . 1.5) }
\context { \Staff \remove "Time_signature_engraver" }
 }
\layout { \context { \Score \override VerticalAlignment #'max-stretch
= #ly:align-interface::calc-max-stretch
\override RehearsalMark #'font-size = #2 %Studierzeichen Groesser
}
}

noten = \new Staff {
b''4  ~   (
   \times 4/5  {
  b''8 [ f''8 cis''8  e'8 c''!8 )] } %das sieht fürchterlich aus!

\times 4/5  {
 b''16 [( f''16 cis''16   a'16 bes'16 )] }
| % 127
\times 4/5  {
cis'16 ([ b'16dis'''16
fis''16 e''16 )] }
\times 4/5  {
c'16 [( bes'16e'''16
as''16 g''16 ]) }
\times 4/5  {
 f'''16( [ bes''16 as''16  b!16 a'!16 ]) }
  \stemNeutral  f64 [ d'64 as'64 ]   b'64 [ e''64 bes''64 c'''64
es''64 a'64 ]fis'64 [ gis'64 e''64 a''64 ]
  b''64 [ f'''64 bes'''64 ] | % 129
\ottava #1 2 ~ \fff ~ |
  g''''32 [ ges''''32 \> es''''32 d''''32 ] des''''32 [
  bes'''32 a'''32 as'''32 ] f'''32 [ e'''32 es'''32 c'''32 ] |  \break  }
  global = \new Staff  { \time 4/4 s1 \time 2/4 s2*3 \time 3/8 s4. }
  \score { << \global
  \noten
  \noten
  >> }
%%END

2009/3/24 Neil Puttock :
> 2009/3/23 Stefan Thomas :
>> Dear Neil,
>> thanks for Your help, Your code worked.
>
> It's really your code tidied up with the odd enhancement. ;)
>
>> I don't have any problems with the horizontal position of the
>> TimeSignatures, but I'm still not happy with the vertical position.
>> Sometimes (if I have a stretch in the layout), the TimeSignature is
>> too far away, sometimes it is too close to the staff. Isn't there a
>> possiblitie to have a "magnetic position" for  TimeSignature's
>> vertical position?
>
> Does this occur even when there are no items near the time signatures
> which would influence spacing, such as a legered note or dynamics?
>
> If it's still being stretched when there's no visible reason, then I'm
> not really sure what to suggest.
>
> Regards,
> Neil
>


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


re: Sibelius conversion - sib2ly

2009-03-23 Thread Stefan Thomas
Dear Matthew,
I am very much interested in this plugin. I used sibelius for a long
time and I'm still searching for a good way, too export my music to
lilypond. I will test Your plugin as soon as possible!


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


Re: new Problem with Time-Sig

2009-03-23 Thread Stefan Thomas
Dear Neil,
thanks for Your help, Your code worked.
I don't have any problems with the horizontal position of the
TimeSignatures, but I'm still not happy with the vertical position.
Sometimes (if I have a stretch in the layout), the TimeSignature is
too far away, sometimes it is too close to the staff. Isn't there a
possiblitie to have a "magnetic position" for  TimeSignature's
vertical position?
This would be great!

2009/3/22 Neil Puttock :
> 2009/3/22 Stefan Thomas :
>> Dear Lilypond-users,
>> I've got a new problem, concerning the TimeSig-Context.
>> I don't understand, why the Time-Signature takes so much space in this
>> example, when the bar starts with a rest.
>> How can I change it?
>
> You can make it take up no space using 'extra-spacing-width; see `Grob
> sizing' in the Learning Manual
> (http://lilypond.org/doc/v2.13/Documentation/user/lilypond-learning/Outside_002dstaff-objects#Outside_002dstaff-objects).
>
> \layout {
>  \context {
>    \RemoveEmptyStaffContext
>    \remove "Time_signature_engraver"
>  }
>  \context {
>    \Score
>    \consists "Text_spanner_engraver"
>    \consists "Time_signature_engraver"
>    \override VerticalAxisGroup #'remove-first = ##t
>    \override TimeSignature #'style = #'()
>    \override TimeSignature #'break-align-symbol = ##f
>    \override TimeSignature #'X-offset =
> #ly:self-alignment-interface::x-aligned-on-self
>    \override TimeSignature #'self-alignment-X = #CENTER
>    \override TimeSignature #'extra-spacing-width = #'(+inf.0 . -inf.0)
>    \override TimeSignature #'break-visibility = #end-of-line-invisible
>    \override TimeSignature #'font-size = #3
>    \override TimeSignature #'Y-offset = #1.5
>  }
>  % \context { \Voice \remove "Text_spanner_engraver" }
> }
>
> Regards,
> Neil
>


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


new Problem with Time-Sig

2009-03-22 Thread Stefan Thomas
Dear Lilypond-users,
I've got a new problem, concerning the TimeSig-Context.
I don't understand, why the Time-Signature takes so much space in this
example, when the bar starts with a rest.
How can I change it?
\version "2.12.1"
\include "compound.ly"
%taktarten
zwozwodrei = { \compoundMeter #'(2 2 3 8) }
dreizwozwo = { \compoundMeter #'(3 2 2 8 ) }

 notes = \new Staff { \clef bass   r8 a8 -. dis8 \< -> -. r8 g8 -> -. [ cis'8
-. ] r8 \! | % 217
c'8 -> -. \mf [ e8 -. ] r8 a8 -. dis8 ->
-. [ r8 ais8 -. ] | % 218
g8 -> -. r8 c'8 -. [ e8 -. ] r8 a8 -. [
dis8 -. ] | % 219
 r8 ais8 -. [ g8 -. ] r8 f'8 -. b8 -> -. r8 }
 global = \new Staff {
\zwozwodrei
 s8*21
 \dreizwozwo
 s8*7 }
 \score { <<
 \global
 \notes >> }

 \layout
{
 \context { \RemoveEmptyStaffContext }
 \context { \Score  \override VerticalAxisGroup #'remove-first = ##t }
  \context { \Score \consists "Text_spanner_engraver" }
 \context { \Score \consists  "Time_signature_engraver" }
   \context { \Score \override TimeSignature #'style = #'() }
   \context { \Score  \override TimeSignature #'break-align-symbol
= #'staff-bar }
\context { \Score  \override TimeSignature #'break-align-symbol = ##f
\override TimeSignature #'X-offset: =
#ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature #'self-alignment-X = #0
 }
   % \context { \Voice \remove "Text_spanner_engraver" }
   \context { \Score \override TimeSignature #'self-alignment-X = #CENTER }
   \context { \Score  \override TimeSignature #'break-visibility =
#end-of-line-invisible }
   \context { \Score \override TimeSignature #'font-size = #3 }
\context { \Score \override TimeSignature #'extra-offset =
#'(0 . 1.5) }
\context { \Staff \remove "Time_signature_engraver" }
 }


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


Re: smaller distance between first Staff and TimeSig

2009-03-20 Thread Stefan Thomas
Dear Kieren, dear community,
I think, I could make a succes: I moved the Time_signature_engraver
from the staff-context
and the Text_spanner_engraver from the Voice-Context and put them both
into the Score-Context. Now I can see the Time-Signature where I need
it, as well as the line for the ritardande-spanner. But, I don't know
why, the "rit." disappeared, althoug I put the Text_engraver to the
Score-context. What could be the mistake?
Here the modified snippet:
\version "2.12.1"
\layout
{
 \context { \RemoveEmptyStaffContext }
   \context { \Score \override TimeSignature #'style = #'() }
   \context { \Staff \override TimeSignature #'stencil = ##f }
   \context { \Voice \remove "Text_spanner_engraver" }
   \context { \Score \consists  "Time_signature_engraver" }
   \context { \Score \consists "Text_spanner_engraver" }
   \context { \Score \consists "Text_engraver" }
 }
global = {
\tempo 4 = 76 \repeat "unfold" 2 { \time 4/4 s1 \time 3/4 s2. }
\time 4/4   s1
\override TextSpanner  #'style = #'dashed-line \textSpannerUp
 \override TextSpanner #'bound-details #'left #'text = \markup {
\upright "rit" }
s2. \startTextSpan s4 \stopTextSpan
\tempo 4= 60 s1 }

notenA = \relative {
\set Staff.instrumentName = " StaffA"
 \set Staff.shortInstrumentName = "St.A "
c2 c4 d
   e4 d e
   f1 \break
  R2. R1*3 }
notenB = \relative {
   \set Staff.instrumentName = " StaffB"
 \set Staff.shortInstrumentName = "St.B "
  a2 a4 b c b c  d1
  d4 c d e1 e4 f g a g f e2 }
notenC =  \relative {
 \set Staff.instrumentName = " StaffC"
 \set Staff.shortInstrumentName = "St.C "
\repeat unfold 26 c4 }

\score { <<

\new Staff  <<\global \notenA  >>
   \new Staff << \global \notenB >>
\new Staff  << \global \notenC >>
   >> }

2009/3/20 Stefan Thomas :
> Dear Kieren,
> I've provided a new (musically senseless) example. What makes me wondering:
> How it is possible, that the Metronome-mark is shown only in the
> top-staff? I wish, this would be possible also with the ritardando
> (which I don't need in the third Staff) and with the timesignature,
> which unfortunately disappaers in the second system.
> Is there a solution possible?
>
> 2009/3/20 Kieren MacMillan :
>> Hi Stefan,
>>
>>> Because I have too many bar changes in the score
>>
>> There is no limit to the number of bar changes in my method.
>>
>>> and too many other things in the Time-Sig, like ritarrdando, etc.
>>
>> Those should be in a global variable as MetronomeMark (or at least
>> RehearsalMark), so that you can have them appear at the top of each system
>> (but not every staff) automatically.
>>
>>> Or is it maybee possible too hide the Staff, but not too hide the
>>> TimeSignature?
>>
>> Yes, although I don't think you need to do that (from what I've seen of your
>> score so far).
>>
>>> I don't know, how to do it in the below quoted example:
>>
>> It's not clear to me why you have a separate Staff context without any notes
>> in it -- perhaps you're trying to do this:
>>
>> 
>> \version "2.12.1"
>>
>> \layout
>> {
>>        \context { \RemoveEmptyStaffContext }
>>        \context { \Score \override TimeSignature #'style = #'() }
>>        \context { \Staff \override TimeSignature #'stencil = ##f }
>> }
>>
>> noten = \relative
>> {
>>        c2 c4 d
>>        e4 d e
>>        f1 \break
>>        d4 c d
>>        e1
>>        e4 f g a
>>        g f e2
>> }
>>
>> global =
>> {
>>        \repeat "unfold" 2 { \time 4/4 s1 \time 3/4 s2. }
>>        \time 4/4 s1*3
>> }
>>
>> \score
>> {
>>        \new Staff \with
>>        {
>>                \revert TimeSignature #'stencil
>>                \override TimeSignature #'font-size = #3
>>                \override TimeSignature #'X-extent = #'(0 . 0)
>>                \override TimeSignature #'Y-offset = #6
>>                \override TimeSignature #'break-align-symbol = #'staff-bar
>>                \override TimeSignature #'X-offset: =
>> #ly:self-alignment-interface::x-aligned-on-self
>>                \override TimeSignature #'self-alignment-X = #CENTER
>>                \override TimeSignature #'break-visibility =
>> #end-of-line-invisible
>>        }
>>        << \global \noten  >>
>> }
>> 
>>
>> Hope this helps!
>> Kieren.
>>
>


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


Re: smaller distance between first Staff and TimeSig

2009-03-20 Thread Stefan Thomas
Dear Kieren,
I've provided a new (musically senseless) example. What makes me wondering:
How it is possible, that the Metronome-mark is shown only in the
top-staff? I wish, this would be possible also with the ritardando
(which I don't need in the third Staff) and with the timesignature,
which unfortunately disappaers in the second system.
Is there a solution possible?

2009/3/20 Kieren MacMillan :
> Hi Stefan,
>
>> Because I have too many bar changes in the score
>
> There is no limit to the number of bar changes in my method.
>
>> and too many other things in the Time-Sig, like ritarrdando, etc.
>
> Those should be in a global variable as MetronomeMark (or at least
> RehearsalMark), so that you can have them appear at the top of each system
> (but not every staff) automatically.
>
>> Or is it maybee possible too hide the Staff, but not too hide the
>> TimeSignature?
>
> Yes, although I don't think you need to do that (from what I've seen of your
> score so far).
>
>> I don't know, how to do it in the below quoted example:
>
> It's not clear to me why you have a separate Staff context without any notes
> in it -- perhaps you're trying to do this:
>
> 
> \version "2.12.1"
>
> \layout
> {
>        \context { \RemoveEmptyStaffContext }
>        \context { \Score \override TimeSignature #'style = #'() }
>        \context { \Staff \override TimeSignature #'stencil = ##f }
> }
>
> noten = \relative
> {
>        c2 c4 d
>        e4 d e
>        f1 \break
>        d4 c d
>        e1
>        e4 f g a
>        g f e2
> }
>
> global =
> {
>        \repeat "unfold" 2 { \time 4/4 s1 \time 3/4 s2. }
>        \time 4/4 s1*3
> }
>
> \score
> {
>        \new Staff \with
>        {
>                \revert TimeSignature #'stencil
>                \override TimeSignature #'font-size = #3
>                \override TimeSignature #'X-extent = #'(0 . 0)
>                \override TimeSignature #'Y-offset = #6
>                \override TimeSignature #'break-align-symbol = #'staff-bar
>                \override TimeSignature #'X-offset: =
> #ly:self-alignment-interface::x-aligned-on-self
>                \override TimeSignature #'self-alignment-X = #CENTER
>                \override TimeSignature #'break-visibility =
> #end-of-line-invisible
>        }
>        << \global \noten  >>
> }
> 
>
> Hope this helps!
> Kieren.
>


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


Re: smaller distance between first Staff and TimeSig

2009-03-20 Thread Stefan Thomas
Dear Kieren,
thanks for Your help, but I guess, would be still to complicated.
Because I have too many bar changes in the score and too many other
things in the Time-Sig, like ritarrdando, etc.
Or is it maybee possible too hide the Staff, but not too hide the TimeSignature?
I don't know, how to do it in the below quoted example:
\version "2.12.1"
\layout
{
 \context { \RemoveEmptyStaffContext }
   \context { \Score \override TimeSignature #'style = #'() }
   \context { \Staff \override TimeSignature #'stencil = ##f }
}


   noten = \relative {
c2 c4 d
   e4 d e
   f1 \break
   d4 c d
   e1
   e4 f g a
   g f e2}
   global = {  \repeat "unfold" 2 { \time 4/4 s1 \time 3/4 
s2. }
\time 4/4  s1 *3 }
   \score { <<
   \new Staff \with
{   \revert TimeSignature #'stencil
\override TimeSignature #'font-size = #3
\override TimeSignature #'X-extent = #'(0 . 0)
\override TimeSignature #'Y-offset = #6
\override TimeSignature #'break-align-symbol = 
#'staff-bar
\override TimeSignature #'X-offset: =
#ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature #'self-alignment-X = #CENTER
\override TimeSignature #'break-visibility = 
#end-of-line-invisible }
<<\global  >>
   \new Staff  \noten  >> }

2009/3/20 Kieren MacMillan :
> Hi Stefan,
>
>> that sounds good, but I'm not sure if I understood You right. Do You
>> mean a Staff-context without notes, but with Time-Signatures? Could
>> You give me please a very short example?
>
> Hope this helps!
> Kieren.
>
> %
> \version "2.12.2"
>
> filler = \repeat "unfold" 48 { c'4 }
>
> \layout
> {
>        \context
>        {
>                \Score
>                \override TimeSignature #'style = #'()
>        }
>        \context
>        {
>                \Staff
>                \override TimeSignature #'stencil = ##f
>        }
> }
>
> global =
> {
>        \time 4/4 s1
>        \time 5/4 s4*5
>        \time 3/4 s4*3
>        \time 4/4 s1*3
> }
>
> \score
> {
>        \new GrandStaff
>        <<
>                \new Staff \with
>                        {
>                                \revert TimeSignature #'stencil
>                                \override TimeSignature #'font-size = #3
>                                \override TimeSignature #'X-extent = #'(0 .
> 0)
>                                \override TimeSignature #'Y-offset = #6
>                        }
>                        << \global \filler >>
>                \new Staff << \global \filler >>
>                \new Staff << \global \filler >>
>        >>
> }
>


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


Re: smaller distance between first Staff and TimeSig

2009-03-19 Thread Stefan Thomas
Dear Kieren,
that sounds good, but I'm not sure if I understood You right. Do You
mean a Staff-context without notes, but with Time-Signatures? Could
You give me please a very short example?

2009/3/19 Kieren MacMillan :
> Hi Stefan,
>
> Have you considered abandoning the TimeSig context, and simply adjusting the
> TimeSignature of the topmost Staff directly? Using #'font-size, #'X-extent,
> and #'X-offset (or #'extra-offset), you can get the same effect, with
> perfect spacing every time -- the only thing you need to worry about is
> \RemoveEmptyStaffContext, but that can also be worked around (with a few
> well-placed macros).
>
> Hope this helps!
> Kieren.
>


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


re: smaller distance between first Staff and TimeSig

2009-03-19 Thread Stefan Thomas
Dear Lilypond users,
I still have the problem with getting the right distance between first
staff and TimeSig.
In the below quoted snippet, the first staff is not alwys the same.
How can I (if possible,  automatically) control the distance between
TimeSig and first staff?
Here is the snippet:

\version "2.12.1"

\paper {

  ragged-last-bottom = ##f
  system-separator-markup = \slashSeparator

}

 \layout{
  \context {
\type "Engraver_group"
   \consists "Time_signature_engraver"
\consists "Text_spanner_engraver"
\consists "Text_engraver"
\consists "Dynamic_engraver"
 \consists "Axis_group_engraver"
   \name "TimeSig"
   \override TimeSignature #'font-size = #3
\override TimeSignature #'break-align-symbol = #'staff-bar
\override TimeSignature #'X-offset: =
#ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature #'self-alignment-X = #CENTER
  }
  \context {
\Score \accepts TimeSig
  }





 \context { \Score \override VerticalAlignment #'max-stretch =
#ly:align-interface::calc-max-stretch }

\context {
\RemoveEmptyStaffContext
}
\context { \Staff
   \remove "Time_signature_engraver"
% \override VerticalAxisGroup #'minimum-Y-extent = #'(-0 . 4)
  }
  \context { \TimeSig  \override TimeSignature #'extra-offset = #'(0 . 3 )
  }
  \context { \Score \override RehearsalMark #'extra-offset = #'(0 . 4) }
}

%%ENDE Layout!

global = {
\time 3/4  s2.   \mark \default \time 4/4 s1  \break \time 5/4 s4*5
\mark \default  \time 4/4 s1 \break \time 3/4 s2. \time 4/4 s1 }
notenA = \relative { \set Staff.instrumentName = "InstrumentA" \set
Staff.shortInstrumentName ="A" c4 e g c1 R4*9 c4 e g c1}
notenB = \relative  { \set Staff.instrumentName = "InstrumentB" \set
Staff.shortInstrumentName ="B"
R4*7
   c2 c4 e g c1 R4*7 }
notenC = \relative {\set Staff.instrumentName = "InstrumentB" \set
Staff.shortInstrumentName ="C"
R4*7 R4*9
 c4 e g c1  }
instrumentA = \new Staff {  \notenA  }
instrumentB = \new Staff { \notenB  }
instrumentC = \new Staff { \notenC  }
tempotakt = \new TimeSig

  { \override Score.TimeSignature #'style = #'( )  \global }
\score { <<
\tempotakt
\instrumentA
\instrumentB
\instrumentC
>> }
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: smaller distance between first Staff and TimeSig

2009-03-11 Thread Stefan Thomas
Dear Neil,
thanks for Your help, but what can I do, if the first Staff below the
time-signature isn't always the same?

2009/3/10 Neil Puttock :
> 2009/3/6 Stefan Thomas :
>> Dear all,
>> I forgot to switch on
>> \override Score.VerticalAlignment #'max-stretch =
>> #ly:align-interface::calc-max-stretch
>> If I do so, the distance between topmost-Staff and TimeSig is too
>> large, in my opinion.
>
> I've already explained what you should do: set
> 'keep-fixed-while-stretching in the stave below TimeSig.  In your
> amended example, you still have it set for TimeSig.
>
> As for the duplicated time signature, be careful when using
> \removeEmptyStaffContext.  It overrides any previous \Staff \layout
> overrides, such as your removal of the Time_signature_engraver.  See
> the warning here:
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Changing-context-default-settings#Changing-context-default-settings
>
> Regards,
> Neil
>


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


auto-completion in vim

2009-03-09 Thread Stefan Thomas
Dear Lilypond users,
I wanted to switch on auto-completion for lilypond-files i vim.
I tried it with adding
autocmd FileType lilypond set omnifunc=lilypondcomplete#Complete
but without success.
How can I get it?


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


Re: smaller distance between first Staff and TimeSig

2009-03-06 Thread Stefan Thomas
Dear all,
I forgot to switch on
\override Score.VerticalAlignment #'max-stretch =
#ly:align-interface::calc-max-stretch
If I do so, the distance between topmost-Staff and TimeSig is too
large, in my opinion.


2009/3/6, Stefan Thomas :
> Dear Neil,
> I think I have solved the problem with the vertical distance, but now
> the time-signatures don't disappear in the staves and I don't
> understand why!
>
> \version "2.12.0"
> \paper {
>
>   ragged-last-bottom = ##f
>
>   page-limit-inter-system-space-factor = 1.3
>
>
>   #(set-paper-size "a4" )
>system-separator-markup = \slashSeparator
>
> }
>
>  \layout{
>   \context {
> \type "Engraver_group"
>\consists "Time_signature_engraver"
> \consists "Text_spanner_engraver"
> \consists "Text_engraver"
> \consists "Dynamic_engraver"
> \consists "Axis_group_engraver"
> \name "TimeSig"
>\override TimeSignature #'font-size = #3
> \override TimeSignature #'break-align-symbol = #'staff-bar
>
> \override TimeSignature #'X-offset: =
> #ly:self-alignment-interface::x-aligned-on-self
> \override TimeSignature #'self-alignment-X = #CENTER
>   }
>   \context {
> \Score \accepts TimeSig
>   }
>
>
>   \context { \Staff
>\remove "Time_signature_engraver"
>   }
>   \context { \TimeSig \override VerticalAxisGroup
> #'keep-fixed-while-stretching = ##t
>\override VerticalAxisGroup #'Y-extent = #'(-33 . 0)
>  \override VerticalAxisGroup #'minimum-Y-extent = ##f
>  %durch diese Einstellung wird gewährleistet, dass die Taktartkangabe
> immer im gleichen Abstand über der Partitur erscheint!
>
>   }
> }
> \layout {
>   \context {
> \RemoveEmptyStaffContext
>   }
>   \context { \Staff \override VerticalAxisGroup #'remove-first = ##t }
> }
>
>
> %%ENDE Layout!
>
> global = { \time 3/4 s2. \time 4/4 s1 \break \time 5/4 s4*5 \time 4/4 s1 }
> melodie = \relative { c4 c c c c c c R 4*5 R1}
> nochnemelodie =  \relative { R2. R1 e4 e e e e e e e e }
> instrumentA = \new Staff { \melodie }
> instrumentB = \new Staff { \nochnemelodie }
> tempotakt = \new TimeSig
> % \with { \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
>   { \override Score.TimeSignature #'style = #'( ) %heißt: die
> Viervierteltakte werden nicht altmodisch angezeigt
> %\override Score.BarNumber #'break-visibility = ##(#t
> #t #t) %jede Taktzahl wird gezeigt, spaeter wieder loeschen!!
> \override TimeSig.VerticalAxisGroup #'minimum-Y-extent
> = #'(-0 . 1)
> %  \override Score.VerticalAlignment #'max-stretch =
> #ly:align-interface::calc-max-stretch
> \global }
> \score { <<
> \tempotakt
> \instrumentA
> \instrumentB
>>> }
>
>
> 2009/3/6, Neil Puttock :
>> 2009/3/5 Stefan Thomas :
>>> Dear Lilypond-users,
>>> I have the problem, in the below quoted example, that I can't reduce
>>> the distance
>>> between the TimeSig and the first Staff of the Score.
>>> How can I do it? I tried it with
>>> \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t
>>> but without success.
>>
>> You want to prevent the spacing engine from pulling the first stave
>> away from the time signature, so you need to set
>> 'keep-fixed-while-stretching in the Staff context *below* TimeSig (see
>> the relevant docs here:
>> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Vertical-spacing-inside-a-system#Vertical-spacing-inside-a-system)
>>
>>>\override TimeSignature #'X-:set =
>>> #ly:self-alignment-interface::x-aligned-on-self
>>
>> Should be #'X-offset.  Lilypond won't report a type-check failure here
>> since the garbled property (#'X-:set) is set to a procedure.
>>
>> Regards,
>> Neil
>>
>
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: smaller distance between first Staff and TimeSig

2009-03-06 Thread Stefan Thomas
Dear Neil,
I think I have solved the problem with the vertical distance, but now
the time-signatures don't disappear in the staves and I don't
understand why!

\version "2.12.0"
\paper {

  ragged-last-bottom = ##f

  page-limit-inter-system-space-factor = 1.3


  #(set-paper-size "a4" )
   system-separator-markup = \slashSeparator

}

 \layout{
  \context {
\type "Engraver_group"
   \consists "Time_signature_engraver"
\consists "Text_spanner_engraver"
\consists "Text_engraver"
\consists "Dynamic_engraver"
\consists "Axis_group_engraver"
\name "TimeSig"
   \override TimeSignature #'font-size = #3
\override TimeSignature #'break-align-symbol = #'staff-bar

\override TimeSignature #'X-offset: =
#ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature #'self-alignment-X = #CENTER
  }
  \context {
\Score \accepts TimeSig
  }


  \context { \Staff
   \remove "Time_signature_engraver"
  }
  \context { \TimeSig \override VerticalAxisGroup
#'keep-fixed-while-stretching = ##t
   \override VerticalAxisGroup #'Y-extent = #'(-33 . 0)
 \override VerticalAxisGroup #'minimum-Y-extent = ##f
 %durch diese Einstellung wird gewährleistet, dass die Taktartkangabe
immer im gleichen Abstand über der Partitur erscheint!

  }
}
\layout {
  \context {
\RemoveEmptyStaffContext
  }
  \context { \Staff \override VerticalAxisGroup #'remove-first = ##t }
}


%%ENDE Layout!

global = { \time 3/4 s2. \time 4/4 s1 \break \time 5/4 s4*5 \time 4/4 s1 }
melodie = \relative { c4 c c c c c c R 4*5 R1}
nochnemelodie =  \relative { R2. R1 e4 e e e e e e e e }
instrumentA = \new Staff { \melodie }
instrumentB = \new Staff { \nochnemelodie }
tempotakt = \new TimeSig
% \with { \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
  { \override Score.TimeSignature #'style = #'( ) %heißt: die
Viervierteltakte werden nicht altmodisch angezeigt
%\override Score.BarNumber #'break-visibility = ##(#t
#t #t) %jede Taktzahl wird gezeigt, spaeter wieder loeschen!!
\override TimeSig.VerticalAxisGroup #'minimum-Y-extent
= #'(-0 . 1)
%  \override Score.VerticalAlignment #'max-stretch =
#ly:align-interface::calc-max-stretch
\global }
\score { <<
\tempotakt
\instrumentA
\instrumentB
>> }


2009/3/6, Neil Puttock :
> 2009/3/5 Stefan Thomas :
>> Dear Lilypond-users,
>> I have the problem, in the below quoted example, that I can't reduce
>> the distance
>> between the TimeSig and the first Staff of the Score.
>> How can I do it? I tried it with
>> \override VerticalAxisGroup #'keep-fixed-while-stretching = ##t
>> but without success.
>
> You want to prevent the spacing engine from pulling the first stave
> away from the time signature, so you need to set
> 'keep-fixed-while-stretching in the Staff context *below* TimeSig (see
> the relevant docs here:
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Vertical-spacing-inside-a-system#Vertical-spacing-inside-a-system)
>
>>    \override TimeSignature #'X-:set =
>> #ly:self-alignment-interface::x-aligned-on-self
>
> Should be #'X-offset.  Lilypond won't report a type-check failure here
> since the garbled property (#'X-:set) is set to a procedure.
>
> Regards,
> Neil
>


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


Re: smaller distance between first Staff and TimeSig

2009-03-05 Thread Stefan Thomas
Dear Robin,
thanks for Your help. But I do need max-stretch. Off course not for
this snippet, but in "real" scores!

2009/3/5 Robin Bannister :
> Stefan Thomas wrote:
>>
>> I can't reduce the distance between the TimeSig and
>
> the first Staff of the Score. How can I do it?
> Um,   -  don't override max-stretch?
>
> Cheers,
> Robin
>


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


smaller distance between first Staff and TimeSig

2009-03-05 Thread Stefan Thomas
Dear Lilypond-users,
I have the problem, in the below quoted example, that I can't reduce
the distance
between the TimeSig and the first Staff of the Score.
How can I do it? I tried it with
\override VerticalAxisGroup #'keep-fixed-while-stretching = ##t
but without success.
Here is the snippet:
%begin%

\version "2.12.1"
\paper {

  ragged-last-bottom = ##f
  %{%das letzte System kann unter Umständen einen Seitenrand nach unten belassen
  top-margin = 20 \mm
  right-margin = 8 \mm
  left-margin = 8 \mm
  bottom-margin = 12 \mm
  horizontal-shift = 2 \mm
  between-system-space = 7 \mm %sorgt fuer ordentliche abstaende,
zwischen den einzelnen Notenzeilen
  between-system-padding = 14 \mm %der Standardwert ist bei 4mm! Der
Abstand zwischen den Systemen
  page-limit-inter-system-space = ##t
  % das heißt: der Maximal Abstand zwischen Systemen wird begrenzt
  page-limit-inter-system-space-factor = 1.3
  %er kann bis zu 30 Prozent mehr betragen
  %das heißt:
  #(set-paper-size "a4" )
  %}system-separator-markup = \slashSeparator

}

 \layout{
  \context {
\type "Engraver_group"
   \consists "Time_signature_engraver"
\consists "Text_spanner_engraver"
\consists "Text_engraver"
\consists "Dynamic_engraver"
\consists "Axis_group_engraver"
\name "TimeSig"
   \override TimeSignature #'font-size = #3
\override TimeSignature #'break-align-symbol = #'staff-bar

\override TimeSignature #'X-:set =
#ly:self-alignment-interface::x-aligned-on-self
\override TimeSignature #'self-alignment-X = #CENTER

  }
  \context {
\Score \accepts TimeSig
  }
  \context { \Score
\override VerticalAlignment #'max-stretch = #100
  }
  %evtl ist es sinnvoll, den Time-Signature-Engraver aus der Partitur
zu entfernen!
  \context { \Staff
   \remove "Time_signature_engraver"
  }
}
global = { \time 3/4 s2. \time 4/4 s1 \break \time 5/4 s4*5 \time 4/4 s1 }
melodie = \relative { c4 c c c c c c c c c c c c c c c }
instrument = \new Staff { \melodie }
tempotakt = \new TimeSig \with {
\override VerticalAxisGroup #'keep-fixed-while-stretching = ##t }
  { \override Score.TimeSignature #'style = #'( ) %heißt: die
Viervierteltakte werden nicht altmodisch angezeigt
%\override Score.BarNumber #'break-visibility = ##(#t
#t #t) %jede Taktzahl wird gezeigt, spaeter wieder loeschen!!
\override TimeSig.VerticalAxisGroup #'minimum-Y-extent
= #'(-0 . 1)
\global }
\score { <<
\tempotakt
\instrument >> }


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


substitution in layout-block

2009-03-02 Thread Stefan Thomas
Dear lilypond-users,
I tried to make a substitution in the layout-block, but without
success. I don't know what could be wrong.
Here is the short snippet:
\version "2.12.0"
keineTaktart = \layout { \context { \Staff   \remove
"Time_signature_engraver"} }
keineTaktzahl = \layout{ \context { \Score \remove
"Bar_number_engraver" } }
\relative {c4 d e f \break g1  }
\layout { \keineTaktart } \layout{ \keineTaktzahl }


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


re:Frescobaldi 0.7.6 released

2009-02-25 Thread Stefan Thomas
Dear Wilbert,
many thanks for Your fine Lilypond-editor Frescobaldi!
It looks fine and is a very convenient tool to work with lilypond.
I'm only missing a feature, that can change pitches enharmonically,
e.g. convert a cis to des.
Is it possible to write a plugin for this?


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


Re: problem with installing frescobaldi

2009-02-25 Thread Stefan Thomas
Dear Chris,
thanks very much for Your help! I successfully installed Frescobaldi!

2009/2/24, Chris Snyder :
> Stefan Thomas wrote:
>> I tried to install Frescobaldi from source.
>> But I get the following error message:
>> The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a
>>   simple test program.
>> I don't undertand the meaning of it-
>> I use Kubuntu, with KDE 4.2
>
> It looks to me like you don't have a proper build environment (including
> a C++ compiler) installed. You can get what you need by installing the
> build-essential package.
>
> Alternatively, I've been working on setting up an Ubuntu PPA (personal
> package archive) that contains Frescobaldi. While I have been told that
> Frescobaldi will likely be included in Ubuntu Jaunty, I'm planning to
> always have the most recent version available in this archive. I also
> provide the latest version of LilyPond (currently 2.12.1 - I haven't
> been able to get a 2.12.2 package to compile because of documentation
> issues that I believe are fixed in git), since LilyPond releases occur
> much more frequently than Ubuntu ones.
>
> You can access the PPA by going to the following address:
>
> https://launchpad.net/~csnyder/+archive/ppa
>
> That page also gives instructions for adding it to your sources.list.
>
> If anyone does use this archive, I'd appreciate feedback. Thanks.
>
> -Chris Snyder
>


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


problem with installing frescobaldi

2009-02-24 Thread Stefan Thomas
Dear lilypond-users,
I tried to install Frescobaldi from source.
But I get the following error message:
The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a
  simple test program.
I don't undertand the meaning of it-
I use Kubuntu, with KDE 4.2


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


strange error message with tuplet

2009-02-05 Thread Stefan Thomas
Dear lilypond-users,
when compiling one of my scores I get the following error message,
which I don't understand:

musik/musik_ab115.ly:63:16: warning: No tuplet to end
 s8\fp\<  s\f\>
\times 4/6 { s32*5\p\< s 32\!}  \pedtrem  s4...\ff
\startTextSpan s32 \stopTextSpan  }%lautleise 115-118
Why  there is no "no tuplet to end?


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


Re: staff collision because of a postscript line

2009-02-01 Thread Stefan Thomas
Dear Robin,
excellent! It works now! What does this \with-dimensions-command exactly do?
Is it explained in the manual?

2009/2/1 Robin Bannister :
> Stefan Thomas wrote:
>>
>> Is there a possibilitie to avoid automatically this collision
>
> The eyeglasses example in NR B.8.3. uses the \with-dimensions command for
> this.
> \with-dimensions #'(0 . 3.5) #'(0 . 4)   for your case?
>
> Cheers,
> Robin
>


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


staff collision because of a postscript line

2009-02-01 Thread Stefan Thomas
Dear Lilypond-users,
in the below quoted snippet I get a collision between the two staves.
Is there a possibilitie to avoid automatically this collision, without
increasing the distace between the two staves generally?
Here is the snippet:

\version "2.12.0"
%%some definitions
  onBeat = \markup { \postscript #"
0.1 setlinewidth
0.5 4   moveto
0.5 0   lineto
0.2 0.6 lineto
0.5 0   moveto
0.8 0.6 lineto
0.5 4   moveto
3.5 4 lineto
stroke
"}
standardped = { \override Staff.PianoPedalBracket #'style =
#'bracket \set Staff.pedalSustainStyle = #'mixed }
smaller = {\set fontSize = #-3 \override DynamicText #'font-size =
#+3 \override TextSpanner
  #'font-size = #+3 } %noten so schnell wie moeglich; Dynamik und
TextSpanner normale Groesse
  % das habe ich bisher noch nicht benutzt
  normal = {\unset fontSize \revert DynamicText #'font-size
\revert TextSpanner #'font-size } % Noten und Dynamik normale Groesse!

  % the music itself
%%

  UpStaff = \new Staff \relative c {
\clef bass  \scaleDurations #'(32 . 35) { \standardped
\smaller f32[\f\>^\onBeat \sustainOn g e] \normal dis1
\sustainOff \p } }

  DownStaff = \new  Staff \relative c { \clef bass
\scaleDurations #'(32 . 36) { \standardped
\smaller a32 [ \sustainOn \f \>^\onBeat c cis d ]  \normal es1
\sustainOff } }


  \score { << \UpStaff
\DownStaff >> }


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


Re: cue notes, snippet does not work

2009-01-25 Thread Stefan Thomas
Dear Reinhold,
thanks! I didn't see that!

2009/1/25 Reinhold Kainhofer :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Am Sonntag, 25. Januar 2009 22:37:39 schrieb Stefan Thomas:
>> Dear lilypond-users,
>> I tried the example for cue notes I found in the snippet repository
>> http://lsr.dsi.unimi.it/LSR/Snippet?id=388
>> Unfortunately, I can't compile it with my version (2.12.0) of Lilypond.
>> Can someone help me?
>
> Yes, if you look at the comments in the file, you'll see:
>
> % Lilypond >= 2.11 changed the spelling to \addQuote, so use the following
> command instead
> % \addquote vIQuote { \vI }
>
> There's a typo, of course, but the text clearly indicates that lilypond >=
> 2.11 uses \addQuote instead of \addquote
>
> Cheers,
> Reinhold
>
> - --
> - --
> Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
>  * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
>  * http://www.fam.tuwien.ac.at/, DVR: 0005886
>  * LilyPond, Music typesetting, http://www.lilypond.org
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iD8DBQFJfN3gTqjEwhXvPN0RAtghAJ43tTWkncOTf3kXqtWHdQbl2TzTuQCggMlU
> iYHAS5d+88PEC/jFHEK8av0=
> =dKEw
> -END PGP SIGNATURE-
>


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


cue notes, snippet does not work

2009-01-25 Thread Stefan Thomas
Dear lilypond-users,
I tried the example for cue notes I found in the snippet repository
http://lsr.dsi.unimi.it/LSR/Snippet?id=388
Unfortunately, I can't compile it with my version (2.12.0) of Lilypond.
Can someone help me?
Thanks
Stefan


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


jeux inegales

2009-01-24 Thread Stefan Thomas
Dear lilypond-users,
the question I'm asking You is not directly connected with lilypond,
but I guess, that some of You could help me a lot.
I'm searching for instructive examples from the french baroque-music,
where the so called "jeux inegales" (it's a little bit like swing) has
tu be used. Mostly I'm interested in examples, where some of the notes
has to be played "inegal", and some not.
If You know some good example, please send it to me, if possible in
Lilypond-code. I'm searching for this for my students. I brace myself
for a lecture about rhythms, ornaments and so on during the baroque
era.
Thanks for Your help!
Stefan


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


Re: not so nice slur

2009-01-12 Thread Stefan Thomas
Dear Kieren,
Yes, I'm trying to make it not cross through the stemsm

2009/1/11 Kieren MacMillan :
> Hi Stefan,
>
>> with me version of lilypond it looks like in the attached png-file.
>
> Looks just like mine… and I like it!
>
> Are you trying to make it not cross through the stems?
> Kieren.


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


Re: not so nice slur

2009-01-11 Thread Stefan Thomas
Dear Kieren,
with me version of lilypond it looks like in the attached png-file.

2009/1/11 Kieren MacMillan :
> Hi Stefan,
>
>> in the below quoted example (from the mutopia library)
>> the slur doesn't look very nice.
>
> What isn't nice about it? It looks quite nice to my eye…
>
>> How can I change it?
>
> What do you want changed?
> Kieren.
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: accidentals in chords

2009-01-11 Thread Stefan Thomas
Dear Neil,
thanks for Your answer. I think the problem should be solved. Off
course one can add manually  the "!" to the notes, but it would be
better, to get this automatically. The dodecaphonic style isn't a good
solution, in my opinion, because You get to many naturals, even for
those notes, where it is obvious.

2009/1/10 Neil Puttock :
> Hi Stefan,
>
> 2009/1/10 Stefan Thomas :
>> Dear lilypond-users,
>> I have question about the accidentals in the "neo-modern-style". In my
>> opinion, it should also add extra-naturals, if you have chords with
>> cis and c' together. Unfortunately it does not do this, as the below
>> quoted snippet shows.
>
> See the `Known issues and warnings' at the bottom of this page:
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Displaying-pitches#Automatic-accidentals
>
>> How this can be changed?
>
> Either use a different style, like Jon suggests, or manually force the
> accidental using ! or ?.
>
> Regards,
> Neil
>


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


not so nice slur

2009-01-11 Thread Stefan Thomas
Dear lilypond-users,
in the below quoted example (from the mutopia library) the slur
doesn't look very nice.
How can I change it? I now there is a snippet in the snippet repository
http://lsr.dsi.unimi.it/LSR/Snippet?id=134
but I don't understand it !
Thanks for Your help.
Here is the snippet:
%%% begin %
 \version "2.12.0"
 \include "english.ly"
  \relative g {
\clef bass
\key c \minor
\time 4/4
% 1 - 4

   4\(   << { 8. 16 } \\
 { 4
  } >> \) |}
% END 


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


accidentals in chords

2009-01-10 Thread Stefan Thomas
Dear lilypond-users,
I have question about the accidentals in the "neo-modern-style". In my
opinion, it should also add extra-naturals, if you have chords with
cis and c' together. Unfortunately it does not do this, as the below
quoted snippet shows.
How this can be changed?

\version"2.12.0"
\new Staff \relative {
#(set-accidental-style 'neo-modern)
bes'4 b, g' f 1 }


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


Re: automatic numbers for examples

2009-01-10 Thread Stefan Thomas
Dear Kieren,
thanks! I did'nt think on the possibilitie to do this with latex!

2009/1/10 Kieren MacMillan :
> Hi Stefan,
>
>> I'm searching for a possibilitie to get automatic numberings for
>> different short music examples.
>
> With lilypond-book (and LaTeX) it would be quite easy — don't know about
> lilypond native…
>
> HTH!
> Kieren.


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


automatic numbers for examples

2009-01-10 Thread Stefan Thomas
Dear Lilypond-users,
I'm searching for a possibilitie to get automatic numberings for
different short music examples. Something like this:

\markup  { example 1}
\scoreOne
\markup  { example 2}
\scoreTwo

and so on.

Is it possible?


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


Re: beam-settings for triplets and sixtuplets

2009-01-05 Thread Stefan Thomas
Dear Trevor,
thanks for Your advice! It works now!

2009/1/5 Trevor Daniels :
> Stefan
>
> The default behaviour is to end 1/8 triplets at 1/4 beats in 4 4 time.
> So to beam sextuplets you need to revert the default beaming rules
> which end 1/12 notes at the 1/4 and 3/4 beats.
>
> The relevant default rules are (see scm/auto-beam.scm):
>
>   ((end * * 4 4) . ,(ly:make-moment 1 2))
>   ((end 1 12 4 4) . ,(ly:make-moment 1 4))
>   ((end 1 12 4 4) . ,(ly:make-moment 3 4))
>
> so I think this will do what you wanted:
>
> AT = #(define-music-function (parser location x) (ly:music?)
> #{
> %  #(override-auto-beam-setting '(end 1 12 * *) 1 4 'Staff)
> %  #(override-auto-beam-setting '(end 1 12 * *) 2 4 'Staff)
> %  #(override-auto-beam-setting '(end 1 12 * *) 3 4 'Staff)
>  \set tupletSpannerDuration = #(ly:make-moment 1 4 )
>  \times 2/3 { $x } \unset tupletSpannerDuration
>  #(revert-auto-beam-setting '(end 1 12 4 4) 1 4 'Staff)
> %  #(revert-auto-beam-setting '(end 1 12 * *) 2 4 'Staff)
>  #(revert-auto-beam-setting '(end 1 12 4 4) 3 4 'Staff)
> #})
>
> Trevor
>
> - Original Message - From: "Stefan Thomas"
> 
> To: "lilypond-user" 
> Sent: Monday, January 05, 2009 3:06 PM
> Subject: beam-settings for triplets and sixtuplets
>
>
>> Dear Lilypond-users,
>> in the following snippet I changed succesfully the beam-settings for
>> 8th-triplet.
>> But I couldn't revert it, for the sixputplets.
>>
>> Here the example:
>>
>> \version "2.12.0"
>> AT = #(define-music-function (parser location x) (ly:music?)
>> #{
>>
>>  #(override-auto-beam-setting '(end 1 12 * *) 1 4 'Staff)
>>  #(override-auto-beam-setting '(end 1 12 * *) 2 4 'Staff)
>>  #(override-auto-beam-setting '(end 1 12 * *) 3 4 'Staff)
>>  \set tupletSpannerDuration = #(ly:make-moment 1 4 )
>>  \times 2/3 { $x } \unset tupletSpannerDuration
>>  #(revert-auto-beam-setting '(end 1 12 * *) 1 4 'Staff)
>>  #(revert-auto-beam-setting '(end 1 12 * *) 2 4 'Staff)
>>  #(revert-auto-beam-setting '(end 1 12 * *) 3 4 'Staff)
>> #})
>>
>> \new Staff \relative { \time 4/4\AT { d 8 e f g f e f e d  f e d}
>> %the beams behave like expected
>> \times 4/6 { c8 d e f e d } \times 4/6 { e f g a g f} %the beams,
>> unfortunatley, don't behave like expected
>> }
>>
>>
>> ___
>> 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


beam-settings for triplets and sixtuplets

2009-01-05 Thread Stefan Thomas
Dear Lilypond-users,
in the following snippet I changed succesfully the beam-settings for
8th-triplet.
But I couldn't revert it, for the sixputplets.

Here the example:

\version "2.12.0"
AT = #(define-music-function (parser location x) (ly:music?)
#{

  #(override-auto-beam-setting '(end 1 12 * *) 1 4 'Staff)
  #(override-auto-beam-setting '(end 1 12 * *) 2 4 'Staff)
  #(override-auto-beam-setting '(end 1 12 * *) 3 4 'Staff)
  \set tupletSpannerDuration = #(ly:make-moment 1 4 )
  \times 2/3 { $x } \unset tupletSpannerDuration
  #(revert-auto-beam-setting '(end 1 12 * *) 1 4 'Staff)
  #(revert-auto-beam-setting '(end 1 12 * *) 2 4 'Staff)
  #(revert-auto-beam-setting '(end 1 12 * *) 3 4 'Staff)
#})

\new Staff \relative { \time 4/4\AT { d 8 e f g f e f e d  f e d}
%the beams behave like expected
\times 4/6 { c8 d e f e d } \times 4/6 { e f g a g f} %the beams,
unfortunatley, don't behave like expected
}


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


Re: Diatonic/modal transposition function (John Mandereau)

2009-01-05 Thread Stefan Thomas
Dear John,
I tried now Your key-diatonic tranposition, but, in the below quoted
snippet, it doesn't work. I get the error message:
programming error: moving backwards in time
Here is the snippet:

%% begin %%
%
\version "2.12.0"
\include "intervalle.ly"

oberstimme = \relative c''
{ b8. c16 d8 r8 e r d r c r b r }

\score {
  <<
\new Staff { \key g \major \time 2/4 \oberstimme }
\new Staff { \key g \major  \time 2/4 \keyDiatonicTranspose b g
\oberstimme }
  >> }
%%%end %%%

2008/12/30 John Mandereau :
> Le lundi 29 décembre 2008 à 12:33 +0100, Tao Cumplido a écrit :
>> As far as I understand it it works independent from a key signature so
>> it doesn't matter if the key is in C or not.
>>
>> The function says taht you transpose a pattern in a given key for X
>> steps, so in your example you transpose a pattern in a-minor one step
>> up, and from C one step is D.
>
> Correct.
>
>
>> Would it be possible to make \diatonicTranspose recognize the key 
>> automatically?
>
> Yes, if you know how to retrieve a context property -- I've started
> looking at this, this is less trivial than setting context properties
> with \set.  It would not be named \diatonicTranspose, though, as this
> function must keep a general enough purpose; would \keyDiatonicTranspose
> be a sensible name?
>
>
>> It would save a lot of typing.
>> e.g.:
>>
>> motive = { c'8 d'8 }
>>
>> \new Staff
>> {
>>\key c \major
>>\motive
>>\diatonicTranspose #1 \motive
>>\diatonicTranspose #2 \motive
>> }
>
>
>> Maybe the same for modeTranspose, that I only have to specify the mode
>> I transpose into.
>> This would be especially useful for minor keys because a motive is
>> often transposed into minor melodic/harmonic.
>
> Certainly.  The problem is, it's not possible to retrieve the current
> key signature as a context property at parsing stage, because contexts
> (and thus context properties) are built in the next stage "music
> interpretation".  A dirty solution is defining a custom \key command
> (e.g. defining \myKey that calls \key and stores the tonic and scale in
> global variables), then reusing global variables in a
> \keyDiaonicTranspose command; the downside of this is, it would be too
> dirty for inclusion in LilyPond.  A clean solution is delaying
> evaluation of the diatonic applyContext; here's a sample based on
> functions I sent in
> http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00849.html
>
>
> %%% Begin snippet %%%
>
> #(define (lookup-context-property c symbol)
>  (if (ly:context? c)
>   (let ((v (ly:context-property c symbol)))
>(if (and v (not (null? v)))
> v
> (lookup-context-property (ly:context-parent c) symbol)))
>   #f))
>
>
> keyDiatonicTranspose =
> #(define-music-function
>  (parser location pitch-note1 pitch-note2 music)
>  (ly:music? ly:music? ly:music?)
>  "Transpose music diatonicly by from pitch-note1 to pitch-note2
> in scale on tonic-note."
>  (make-music 'ApplyContext
>   'origin location
>   'procedure (
> lambda (c)
> (let ((k (lookup-context-property c 'keySignature)))
>  (ly:interpret-music-expression
>   (make-music
>'ContextSpeccedMusic
>'property-operations
>'()
>'context-id
>(ly:context-id c)
>'context-type
>(ly:context-name c)
>'element
>(mode-transpose
> pitch-note1 pitch-note2 #{ c #} k #{ c #} k music))
>   (ly:context-find c 'Global))
>
> minorPattern = {
>  c'2 ~  c'8 d'16 ees' f' g' aes' bes' c''4 g' ees' c'
> }
>
> {
>  \key c \minor
>  \repeat unfold 2 c'1
>  \keyDiatonicTranspose c d \minorPattern
> }
>
> %%% End snippet %%%
>
> Note the strange spacing I get in the attached PNG; it even segfaults if
> I add c'1 after "\keyDiatonicTranspose c d \minorPattern".  I'll reduce
> try to reduce the problem down and submit a bug report.
>
>
>> I guess the best solution would be to have both options available,
>> e.g. just to specify the key if necessary and automatic recognition of
>> the current key if no key is specified.
>
> It is hardly possible to have optional arguments in music functions,
> because AFAIK the parser grabs next input tokens according to the music
> function prototype.  Having music functions with variable argument count
> would make the parser horribly complex and would create ambiguous cases.
>
>
>
>> Another thing I was thinking about is maybe using interval numbers
>> instead of steps for the integer, so that #2 tranposes a second up and
>> #-4 a fourth down etc.
>
> This would make the arithmetic more complicated (as it already does to
> people that learn western music theory :-P), a better solution is to use
> interval names as I suggested to Stefan, or even better replace this
> integer argument start pitch and final pitch as I proposed.
>
>
>> It's definitely an awesome function and it makes constructing a piece
>> with motives possible.
>
> 

Re: ANN: MIDI input plugin for jEdit

2009-01-01 Thread Stefan Thomas
Dear Bertalan,
I don't know the NoteNameMap and Note class. Can You explain me what it is?

2009/1/1 Bertalan Fodor :
> Remember you can use lilypondtool's NoteNameMap and Note class for quite 
> interesting things. Possibly for this as well.
>
>


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


Re: ANN: MIDI input plugin for jEdit

2009-01-01 Thread Stefan Thomas
Dear Andrew,
I think it's not so difficult to write this macro for jedit.
I think I can do it. But I have another question:
I would find it helpful to have also the possibilitie for absolute
pitches. I think, this should bve even easier.

2008/12/31 Andrew Hawryluk :
> I suppose that one could write a function that searches for the pitch
> preceding the caret in the text area and modifies it enharmonically.
> By assigning a keyboard shortcut you would then have the ability to
> enter ees from the MIDI keyboard and change it to dis by pressing
> CTRL-something. This is probably beyond my current skills, and it may
> be just as fast to type the pitches that have unusual spellings in a
> given key.
>
> This does bring up the point that MIDI input can be a tremendous
> timesaver for strongly diatonic music, but may not be as helpful for
> highly chromatic passages.
>
> Andrew
>
> On Wed, Dec 31, 2008 at 6:09 AM, Stefan Thomas
>  wrote:
>> Dear David,
>> thanks for Your answer. So, it should be possible to do this within
>> jedit, with a macro.
>>
>> 2008/12/31 David Picón Álvarez :
>>> I doubt such resolution is possible given that MIDI notes are given in a
>>> numeric form, meaning n semitones over the baseline. As far as I can tell
>>> MIDI is just not designed with that in mind.
>>>
>>> --David.
>>>
>>>
>>
>>
>> ___
>> 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: ANN: MIDI input plugin for jEdit

2008-12-31 Thread Stefan Thomas
Dear David,
thanks for Your answer. So, it should be possible to do this within
jedit, with a macro.

2008/12/31 David Picón Álvarez :
> I doubt such resolution is possible given that MIDI notes are given in a
> numeric form, meaning n semitones over the baseline. As far as I can tell
> MIDI is just not designed with that in mind.
>
> --David.
>
>


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


Re: ANN: MIDI input plugin for jEdit

2008-12-31 Thread Stefan Thomas
Dear Andrew,
I've downloaded Your very useful plugin. It is grat, but in my opinon
is one important feature missing;
as far as I see, the enharmonic spelling of a note can't changed
immediatels with this tool. This would be very helpful, because an
"es" can also be a "dis", even in c-major.

Good news, fellow LilyPond-ers!
I have written a small jEdit plugin (attached) that converts MIDI key
strokes to LilyPond pitches in relative mode. It is also available
from http://www.musicbyandrew.ca/MidiInput.jar. Source code can be
found at http://www.musicbyandrew.ca/MidiChords-source.zip.
Instructions on manually installing a jEdit plugin are found at
http://plugins.jedit.org/install.php.

Features:
- enharmonic resolution in any major/minor key or church mode
- distinguishes very well between single pitches and chords, producing
chord constructs where needed
- supports all LilyPond pitch languages (nederlands, arabic, catalan,
deutsch, english, español, italiano, norsk, portugues, suomi, svenska,
vlaams)

I have tested the plugin successfully with a Roland UM-1 USB MIDI
adapter under Ubuntu 8.04 and Windows Vista. Some preliminary testing
suggests that I am between 2 and 3.5 times faster at entering pitches
with MIDI keyboard than by typing, so I am very happy to have this.
The biggest improvements occur when entering keyboard music in keys
with many sharps or flats.

I believe that this is the first time that MIDI input is available
across all three major platforms (but correct me if I'm wrong).
Bertalan has expressed interest in including this as part of
LilyPondTool at some point in the future, but in the meantime, I hope
someone else finds this as helpful as I have. Feedback welcome.

Happy New Year,
Andrew


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


beams in a two quarter bar

2008-12-29 Thread Stefan Thomas
Dear lilypond-users,
I have the following, I guess very simple problem, that I can't solve.
How can I get the beams in the below quoted example automatically?
Thanks for Your help
Stefan


\new Staff \relative { \time 2/4
c8 [ d e f ] g2 %this works, but it isn't automatic
 #(override-auto-beam-setting '(end * * 2 4) 4 8 'Score) %this
unfortunately doesn't help
c,8 d e f g2 }


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


Re: Diatonic/modal transposition function (John Mandereau)

2008-12-29 Thread Stefan Thomas
Dear John,
I understood now. You have a note 0 in c major and in a minor, which
is a c. In my opinion it would be better to understand for a musician,
if You could use the intervall-names. I suggest something like:
diatonicfourthup= #(define-music-function (parser location x) (ly:music?)
#{
  $x \diatonicTranspose c \major #3 { $x }
#})
But, what can be done, if the key is not c?
2008/12/29 Stefan Thomas :
> Dear John,
> many thanks for Your fantastic macro! There is only one thing, I don't
> understand. I tried to transpose to a minor. Why does it, in the below
> quoted example, start with d? The first note should be a, I assume.
>
> pattern = \relative c' { c2~ c8 d16 e f g a b c4 g e c }
>  \new Staff {
>  \pattern
>  \diatonicTranspose a \minor #1 \pattern
> }
>


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


Re: Diatonic/modal transposition function (John Mandereau)

2008-12-29 Thread Stefan Thomas
Dear John,
many thanks for Your fantastic macro! There is only one thing, I don't
understand. I tried to transpose to a minor. Why does it, in the below
quoted example, start with d? The first note should be a, I assume.

pattern = \relative c' { c2~ c8 d16 e f g a b c4 g e c }
 \new Staff {
  \pattern
  \diatonicTranspose a \minor #1 \pattern
}


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


Re: error message I don't understand

2008-12-28 Thread Stefan Thomas
Dear Trevor,
thanks for Your advice! Now it works!

2008/12/28 Trevor Daniels :
> A stencil cannot be overridden to #t.  You need to use \revert
> to recover the default behaviour (if that is what you intended):
>
> mitzahl ={ \revert TupletNumber #'stencil }
>
> Trevor
>
> - Original Message - From: "Stefan Thomas"
> 
> To: "lilypond-user" 
> Sent: Sunday, December 28, 2008 11:54 AM
> Subject: error message I don't understand
>
>
>> Dear lilpond-users,
>> when compiling the below quoted file I get the error message:
>> warning: type check for `stencil' failed; value `#t' must be of type
>> `unknown'
>> I think it has to do with the tuplets, but I don't understand, what
>> I've done wrong. Here is the snippet:
>>
>>
>> \version "2.11.65."
>> klammernormal = {  \override TupletBracket #'bracket-visibility =
>> #'if-no-beam }
>> % Klammer und Zahl werden  ganz normal gezeigt
>> klammeran =  { \override TupletBracket #'bracket-visibility = ##t }
>> klammeraus = { \override TupletBracket #'bracket-visibility = ##f }
>> mitzahl ={ \override TupletNumber #'stencil = ##t }
>> ohnezahl = { \override TupletNumber #'stencil = ##f }
>> standardxtol = { \klammernormal \mitzahl }
>>
>> \relative {
>> \times 2/3  { c8  d e } \ohnezahl \times 2/3 { f e f } \standardxtol
>> \times 2/3  { d e f }
>> \times 2/3 { g f g } }
>>
>>
>> ___
>> 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


error message I don't understand

2008-12-28 Thread Stefan Thomas
Dear lilpond-users,
when compiling the below quoted file I get the error message:
warning: type check for `stencil' failed; value `#t' must be of type `unknown'
I think it has to do with the tuplets, but I don't understand, what
I've done wrong. Here is the snippet:


\version "2.11.65."
klammernormal = {  \override TupletBracket #'bracket-visibility = #'if-no-beam }
% Klammer und Zahl werden  ganz normal gezeigt
klammeran =  { \override TupletBracket #'bracket-visibility = ##t }
klammeraus = { \override TupletBracket #'bracket-visibility = ##f }
mitzahl ={ \override TupletNumber #'stencil = ##t }
ohnezahl = { \override TupletNumber #'stencil = ##f }
standardxtol = { \klammernormal \mitzahl }

\relative {
\times 2/3  { c8  d e } \ohnezahl \times 2/3 { f e f } \standardxtol
\times 2/3  { d e f }
\times 2/3 { g f g } }


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


Re: problem with substitution

2008-12-23 Thread Stefan Thomas
Dear Carl,
thanks for Your explanation!
Now I understand it!

2008/12/22 Carl D. Sorensen :
>
>
>
> On 12/22/08 2:30 AM, "Stefan Thomas" 
> wrote:
>
>> Dear Lilypond-users,
>> I trie to substitute the variable "zackigschnell' with "APZ', but
>> without sucess.
>> What is wrong with the following snippet?
>
>>
>> \version "2.11.60"
>> \include "rhythmustest.ly"
>> \new Staff { \APZ { c' d' e' f' } }
>
> There's nothing wrong with the snippet.
>
> The problem occurred in rhythmustest.ly.
>
> You had the following:
> zackigschnell = #(define-music-function (parser location music) (ly:music?)
> #{  \makeRhythm $music "16. 32"  #})
> APZ =  { \zackigschnell }
>
> The way LilyPond substitution works, \zackigschnell needs to be followed by
> a music expression.  And in your definition of APZ, there is no music
> expression following \zackigschnell.  If you literally do the substitution,
> you'll get
>
> \new Staff { { \zackigschnell } {c' d' e' f' } }
>
> and you can see that there is no music expression for \zackigschnell to
> operator on.
>
> If you literally want to just add a new name for a function, the way to do
> it is with a scheme trick.
>
> Simply add
>
> #(define APZ zackigschnell)
>
> and now APZ and zackigschnell are the same thing with two different names.
>
> I've tried it on your code, and this works.
>
> Good luck,
>
> Carl
>
>


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


problem with substitution

2008-12-22 Thread Stefan Thomas
Dear Lilypond-users,
I trie to substitute the variable "zackigschnell' with "APZ', but
without sucess.
What is wrong with the following snippet?

\version "2.11.60"
\include "rhythmustest.ly"
\new Staff { \APZ { c' d' e' f' } }


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


Re: New LilyPondTool version available for testing

2008-12-17 Thread Stefan Thomas
Dear Lilypond-users,
I get the following error message now (from the linux bash):
[main] [error] PluginJAR: Cannot load plugin
/home/Stefan/.jedit/jars/antlr-runtime-3.0.1.jar
14:07:08 [main] [error] PluginJAR: java.util.zip.ZipException: error
in opening zip file
14:07:08 [main] [error] PluginJAR:  at java.util.zip.ZipFile.open(Native Method)
14:07:08 [main] [error] PluginJAR:  at
java.util.zip.ZipFile.(ZipFile.java:114)
14:07:08 [main] [error] PluginJAR:  at
java.util.zip.ZipFile.(ZipFile.java:75)
14:07:08 [main] [error] PluginJAR:  at
org.gjt.sp.jedit.PluginJAR.getZipFile(PluginJAR.java:355)
14:07:08 [main] [error] PluginJAR:  at
org.gjt.sp.jedit.PluginJAR.generateCache(PluginJAR.java:1205)
14:07:08 [main] [error] PluginJAR:  at
org.gjt.sp.jedit.PluginJAR.init(PluginJAR.java:1021)
14:07:08 [main] [error] PluginJAR:  at
org.gjt.sp.jedit.jEdit.addPluginJAR(jEdit.java:1101)
14:07:08 [main] [error] PluginJAR:  at
org.gjt.sp.jedit.jEdit.addPluginJARsFromDirectory(jEdit.java:1149)
14:07:08 [main] [error] PluginJAR:  at
org.gjt.sp.jedit.jEdit.initPlugins(jEdit.java:3306)
14:07:08 [main] [error] PluginJAR:  at
org.gjt.sp.jedit.jEdit.main(jEdit.java:432)
14:07:08 [main] [error] ErrorListDialog$ErrorEntry:
/home/Stefan/.jedit/jars/antlr-runtime-3.0.1.jar:
14:07:08 [main] [error] ErrorListDialog$ErrorEntry: Cannot load:
java.util.zip.ZipException: error in opening zip file
14:07:08 [main] [error] ErrorListDialog$ErrorEntry: The most likely
reason is that the JAR file is corrupt; try
14:07:08 [main] [error] ErrorListDialog$ErrorEntry: reinstalling it.
See Utilities->Troubleshooting->Activity Log
14:07:08 [main] [error] ErrorListDialog$ErrorEntry: for a full stack trace.
14:07:08 [main] [error] ErrorListDialog$ErrorEntry:
/home/Stefan/.jedit/jars/LilyPondTool.jar:
14:07:08 [main] [error] ErrorListDialog$ErrorEntry: Requires JAR file
/home/Stefan/.jedit/jars/antlr.jar.
14:07:08 [main] [error] ErrorListDialog$ErrorEntry: This JAR file is
part of this plugin, but it cannot be found.
14:07:08 [main] [error] ErrorListDialog$ErrorEntry: Try reinstalling
this plugin.


2008/12/17 Valentin Villenave :
> 2008/12/17 Bertalan Fodor (LilyPondTool) :
>> You can find the antlr-runtime-3.0.1.jar file in the same location as the
>> others. If antlr.jar is missing, then that also.
>> http://www.organum.hu/fileadmin/lilypondtool/2.11-r2/antlr-runtime-3.0.1.jar
>> I hope this is the correct link.
>
> If i may, perhaps you'd better temporarily upload a relevant .htaccess
> here to allow users to access this whole http directory without having
> to type the exact filenames one by one...
>
> Cheers,
> Valentin
>


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


Re: New LilyPondTool version available for testing

2008-12-17 Thread Stefan Thomas
Dear Lilypond-users,
I tried to install the new Lilypond-Tool but I get the error-message
(when starting jedit):

~/.jedit/jars$ 11:03:00 [main] [error] ErrorListDialog
   $ErrorEntry:
/home/Stefan/.jedit/jars/LilyPondTool.jar:
11:03:00 [main] [error] ErrorListDialog$ErrorEntry: Requires JAR file
/home/Stef
an/.jedit/jars/antlr-runtime-3.0.1.jar.
11:03:00 [main] [error] ErrorListDialog$ErrorEntry: This JAR file is
part of this plugin, but it
cannot be found.
11:03:00 [main] [error] ErrorListDialog$ErrorEntry: Try reinstalling
this plugin.
11:03:01 [AWT-EventQueue-0] [warning] Buffer: invalid 'folding'
property: lilypond

What shall I do, to solve the problem?


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


change barnumber in the layout block

2008-12-15 Thread Stefan Thomas
Dear lilypondusers,
is it possible to change the first barnumber in the layoutblock?
I tried it with:
\layout { \context { \Score
\set currentBarNumber  #115 } }
but without succes.
Is there another possibilitie?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


questions about the TimeSig-context

2008-12-14 Thread Stefan Thomas
Dear lilypond-users,
I have again some questions concerning the TimeSig context.
I made a comment to those lines I do not understand. It would be very kind
if someone could explain the mening of these lines to me.
Thanks!
Stefan
\layout{
 \context {
   \type "Engraver_group"
\consists "Bar_engraver"
\consists "Span_bar_engraver"
\consists "Time_signature_engraver"
   \consists "Text_spanner_engraver"
   \consists "Text_engraver"
   \consists "Dynamic_engraver"
   \consists "Axis_group_engraver"
   \name "TimeSig"
   \override TimeSignature #'font-size = #3
   \override TimeSignature #'break-align-symbol = ##f % I don't understand
the sense of it.
% I found out, that, if switched to #t the time-signature will not go left,
although if there are clef changes in other voices.

   \override TimeSignature #'X-offset =
#ly:self-alignment-interface::x-aligned-on-self %What does it do?
   \override TimeSignature #'self-alignment-X = #0
   \override TimeSignature #'after-line-breaking =
#shift-right-at-line-begin %What does it do?
 }
 \context {
   \Score \accepts TimeSig
 }
 \context { \Staff
   \remove "Time_signature_engraver"
}
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


timeSig and clef changes

2008-12-13 Thread Stefan Thomas
Dear lilypond-users,
I found out that in a timeig-context the time-signature too far on the left
side, if there are clef-changes. In the below quoted snippet the second
score-block looks good, but the first doesn't.
How can I avoid it?
Thanks for Your help!
Stefan

\version "2.11.60"

\layout{
 \context {
   \type "Engraver_group"
   \consists "Time_signature_engraver"
   \consists "Text_spanner_engraver"
   \consists "Text_engraver"
   \consists "Dynamic_engraver"
   \consists "Axis_group_engraver"
   \name "TimeSig"
   \override TimeSignature #'font-size = #3
   \override TimeSignature #'break-align-symbol = ##f
   \override TimeSignature #'X-offset =
   #ly:self-alignment-interface::x-aligned-on-self
   \override TimeSignature #'self-alignment-X = #0
   \override TimeSignature #'after-line-breaking =
#shift-right-at-line-begin
 }
 \context {
   \Score \accepts TimeSig
 }
 \context { \Staff
   \remove "Time_signature_engraver"
 }
}

timeSignatures = { \time 2/4 s2 \mark \default \time 3/4 s2. \time 4/4 s1 }

\score {
  <<
\override Score.BarNumber #'fontsize = #2
\set Score.currentBarNumber = #150
  \new TimeSig \timeSignatures
 \new Staff \relative { c'2 c2.  c1 }
 \new Staff { c'2 \clef bass  a2.\clef treble  a'1}
  >>
}

\score {
<<
\override Score.BarNumber #'fontsize = #2
\set Score.currentBarNumber = #150
\new TimeSig \timeSignatures
   \new Staff \relative { c'2 c2.  c1 }
   \new Staff { c'2 a2.a'1}
>>
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: automatic beams over rests

2008-12-07 Thread Stefan Thomas
Dear Mark,
thanks for Your answer. I knew that it is possible, to get the beamnings
with putting the beams and the music into the same context. But I wanted to
ask, if there is maybee a possibilitie to do this fully automatically. I
know that there is a possibilitie to do this in Finale and Sibelius. Beams
over rest can be very useful in rhythmic complex contermporary music and it
would be great if one could switch on the beams over rests automatically.
Can be done something like this with a sheme-script?

2008/12/7 Mark Polesky <[EMAIL PROTECTED]>

> Stefan,
>
> see http://lists.gnu.org/archive/html/lilypond-user/2008-11/msg00213.html
>
> - Mark
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


automatic beams over rests

2008-12-07 Thread Stefan Thomas
Dear lilypond-users,
I have a question: is it possible, to get the beams in the below quoted
example automatically?
\relative { r8 [ c 8] r8 [ r16 d] r16 [ e8. ] r8 [ d] }

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


Re: Quick-insert mode for vim -- work in progress

2008-11-28 Thread Stefan Thomas
If You are interested: I made short-cuts for jedit by myself. I type, q qi
wi ei and I get c'', dis'', dis'' und eis'' for example and I can input
chords quicker. I type asd (shift enter) and then I get . I You
are interested, I can send it to You. But now I use most of the time
lilykde, which I prefer because of the RUMOR implementation.


2008/11/21 Bertalan Fodor <[EMAIL PROTECTED]>

> Also there is a quick insert mode work in progress for jEdit /
> LilyPondTool. However, I could not make enough progress yet, but the
> foundations are there, so in the after-the-next release it will be
> available.
>
> However, my quick insert mode will be really a virtual piano made from the
> keyboard. I found that approach much better. It will sport automatic
> accidental handling. For example if you want to write
>
> c es c bes, b c
>
> in quick lily you type:
> d g e d l , e d
>
> In LilyPondTool you'll be able to type:
>
> c g c s x c (try it!)
>
> Much more natural. However, it makes it complicated, because the software
> must know the key. So for example is c minor it will be rendered as
> c es c bes, b c
> but in h major, it will be rendered as
> c dis c ais, b c
>
> But will make it the fastest possible way to enter notes on a computer
> keyboard.
>
> Bert
>
> > Great work. However, I find there is only one thing wrong with it:
> > it's for vim. :-)
> >
> > 2008/11/21 Eyolf Řstrem <[EMAIL PROTECTED]>:
> >> The most useful and simple tool I've had the pleasure to work on
> >> lilypond
> >> files with, is Nicolas Sceaux's lyqi mode (lilypond quick insert). There
> >> is
> >> only one thing wrong with it: it's for emacs. I therefore decided to
> >> make
> >> my own version of it for vim.
> > --
> > Francisco Vila. Badajoz (Spain)
> > http://www.paconet.org
> >
> >
> > ___
> > 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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


same heigth of markups

2008-11-24 Thread Stefan Thomas
Dear Lilypond-users,
I would like to have, in the below quoted example, the "Dsechsvier" on the
same heigth as the "T".
How can I get this?
Thanks for Your help,
Stefan

\version "2.11.60"

Dsechsvier =  \markup { D \super { \combine \raise #1.1  6   4   }  }
T =  \markup {T}
\new Staff \relative c {  \clef bass c1_\T c1_\Dsechsvier }
\layout{
  \context { \Staff  \override TextScript #'staff-padding = #3 }  }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


slashed stems, but not beams

2008-11-16 Thread Stefan Thomas
Dear Lilypond-users,
these days I found the great function with the slashed stems.
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Special-rhythmic-concerns#Special-rhythmic-concerns

Unfortunately, in the below quoted example, it does not work with the beamed
notes.

\version "2.11.60"
  \relative c'' {
\override Stem #'stroke-style = #"grace"
\autoBeamOff c32( d e f) g2.. \autoBeamOn c,32( d e f) g2..
  }

Is there a way to get this too?
Thanks
Stefan
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


dotted brevis

2008-11-13 Thread Stefan Thomas
Dear Lilypond users,
how can I get a dotted brevis with lilypond?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


half diminished chord

2008-11-13 Thread Stefan Thomas
Dear Lilypond-users,
in the below quoted example the symbol for the half diminished chord is, in
my opinion, not printed correctly.
How can I get the right one?
\version "2.11.59"
\header { title ="Beautiful love" composer = "Victor Young" }
melodie = { \key d \minor \time 4/4 \partial 2.
d'4 e' f'
a' 2. g'4
f'4 . e'8 d'4 e'8 f' ~
f'1 ~
f'8 f'4. g'4 a'
c'' 2. bes' 4
a'4. g'8 f'4 g'8 a' }
   akkorde = \chordmode { e2.: e1:m7.5- %% this should be the half
diminished diminished chord, but it comes out wrong
a1:7 }
\score {
  <<
\new ChordNames {
  \set chordChanges = ##t
  \akkorde
}
\new Staff \melodie
  >>
  \layout{ }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: five sixteenth note

2008-11-03 Thread Stefan Thomas
Dear Mark,
I use the "Wanderer"(I call this rhythm because it is the basic motive in
the Wanderer-Fantasie by Schubert ) and "Sarabande" rhythms like this:

\include "rhythmen.ly"
\relative {
  \wanderer { c d e f e d }
  \time 3/4 \sarabande { e d c g' f e  } }
But, this is not my idea! You can find the rhythm- template at:
http://lsr.dsi.unimi.it/LSR/Item?id=390


2008/11/3 Mark Polesky <[EMAIL PROTECTED]>

> Mats Bengtsson wrote:
>
> > what's wrong with c16*5 or c4*5/4
>
> Mats,
> Check out the png. He's doing something totally different.
>
>
> Stefan,
>
> that's neat!
> But you need to change the last line of the main file to this:
>
> \relative { \time 5/16 \vs c \vs d \vs e \vs f \vs  }
>
> it's always helpful to attach a png demo to eliminate confusion.
>
> Also, I think this would be a valuable addition to the LSR, but
> can the rhythm.ly file be trimmed down a little? Maybe translate
> the German into English?
>
> By the way, can you explain how your functions "sarabande" and
> "wanderer" work? I recognize the rhythms, but how do you use them?
> Looks intriguing.
>
> Mark
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: five sixteenth note

2008-11-02 Thread Stefan Thomas
Dear lilypond-users,
here is the file "rhythmen.ly".
Now the code should work.


2008/11/2 Mats Bengtsson <[EMAIL PROTECTED]>

> As has already been pointed out, you haven't included your
> file rhythm.ly so we do not have any possibility to test your
> code, but if you want a note with a duration of 5 sixteenth,
> what's wrong with
> c16*5 or c4*5/4
>
>  /Mats
>
> Stefan Thomas wrote:
>
>> Dear Lilypond users,
>> I hope, I am not boring. But I found out a possibilitie to get very easily
>> a five-sixteenth note.
>> with the use of  the "make-rhythm"-function. If You like it, please feel
>> free to use it!
>>
>> \version "2.11.60"
>> \include "rhythm.ly <http://rhythm.ly>"
>> viertelsechzehntel = #(define-music-function (parser location music)
>> (ly:music?) #{  \makeRhythm $music "4 16"  #})
>>
>> vs = #(define-music-function (parser location x) (ly:music?)
>> #{
>>  \context Voice <<  { \viertelsechzehntel  { $x $x } } { s4 ~ s16 } >>
>> #})
>> \relative { \time 5/16 \vs c \vs d \vs e \vs \vs 4  }
>>
>> 
>>
>> ___
>> 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>
> =
>
>


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


five sixteenth note

2008-11-02 Thread Stefan Thomas
Dear Lilypond users,
I hope, I am not boring. But I found out a possibilitie to get very easily a
five-sixteenth note.
with the use of  the "make-rhythm"-function. If You like it, please feel
free to use it!

\version "2.11.60"
\include "rhythm.ly"
viertelsechzehntel = #(define-music-function (parser location music)
(ly:music?) #{  \makeRhythm $music "4 16"  #})

vs = #(define-music-function (parser location x) (ly:music?)
#{
  \context Voice <<  { \viertelsechzehntel  { $x $x } } { s4 ~ s16 } >>
#})
\relative { \time 5/16 \vs c \vs d \vs e \vs \vs 4  }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: too much space for text

2008-11-02 Thread Stefan Thomas
Dear Nick,
I don't know why, but it has to do with the clusters.
Se below quoted example works as expected:
\version "2.11.63"
geklaster = \markup { \teeny \italic \column { "(Cluster stumm
niederdrücken," "mit drittem Pedal halten)" }}
ganzunten = {\clef bass
  \textLengthOff
  \ottava #-1
  \oneVoice  1 ~  ^\geklaster
   1 ~
1 ~
   4~   8
r8 r2
  \ottava #0
  }

\new Staff { \ganzunten }

2008/11/2 Stefan Thomas <[EMAIL PROTECTED]>

> Dear Nick,
> thanks for Your tipp!
> But I still don't understand the reason, why this text needs so much space.
> But this looks much better than befor, I have to admit!
>
> 2008/11/2 Nick Payne <[EMAIL PROTECTED]>
>
>   If you want it to take less space horizontally, you could set set it in
>> two columns:
>>
>>
>>
>> \version "2.11.63"
>>
>> ganzunten = {\clef bass
>>
>> \textLengthOff
>>
>> \ottava #-1
>>
>> %es wird zweistimmig!
>>
>> <<
>>
>> { \once \override TextScript #'baseline-skip = #2
>>
>> \oneVoice  1 ~ ^\markup { \teeny \italic
>> \column { "Cluster stumm niederdrücken," "mit drittem Pedal halten" }}
>>
>>
>>
>> \repeat unfold 2 {   1 ~ }
>>
>>4~  > > 8  r8 r2  } \\
>>
>>   { %die zweite Stimme
>>
>> {\makeClusters {  32  32  } s16*15
>> |  }
>>
>>
>>
>>   }
>>
>> >>
>>
>>
>>
>> \ottava #0  }
>>
>> \new Staff { \ganzunten }
>>
>>
>>
>> *From:* [EMAIL PROTECTED]:
>> lilypond-user-bounces+nick.payne =
>> [EMAIL PROTECTED] *On Behalf Of *Stefan Thomas
>> *Sent:* Sunday, 2 November 2008 20:49
>> *To:* lilypond-user
>> *Subject:* too much space for text
>>
>>
>>
>> Dear lilypond-users,
>> in the below quoted example the text takes, in my opinion, too much space,
>> athough I wrote the command \textLengthOff.
>> How can I avoid it?
>> Here is the snippet:
>>
>> \version "3.11.60"
>> ganzunten = {\clef bass
>> \textLengthOff
>> \ottava #-1
>> %es wird zweistimmig!
>> <<
>>   { \oneVoice  1 ~ ^\markup { \teeny
>> \italic "(Cluster stumm niederdrücken, mit drittem Pedal halten" }
>>
>> \repeat unfold 2 {   1 ~ }
>>4~  > > 8  r8 r2  } \\
>>   { %die zweite Stimme
>> {\makeClusters {  32  32  } s16*15
>> |  }
>>
>>   }
>> >>
>>
>> \ottava #0  }
>> \new Staff { \ganzunten }
>>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: too much space for text

2008-11-02 Thread Stefan Thomas
Dear Nick,
thanks for Your tipp!
But I still don't understand the reason, why this text needs so much space.
But this looks much better than befor, I have to admit!

2008/11/2 Nick Payne <[EMAIL PROTECTED]>

>  If you want it to take less space horizontally, you could set set it in
> two columns:
>
>
>
> \version "2.11.63"
>
> ganzunten = {\clef bass
>
> \textLengthOff
>
> \ottava #-1
>
> %es wird zweistimmig!
>
> <<
>
> { \once \override TextScript #'baseline-skip = #2
>
> \oneVoice  1 ~ ^\markup { \teeny \italic
> \column { "Cluster stumm niederdrücken," "mit drittem Pedal halten" }}
>
>
>
> \repeat unfold 2 {   1 ~ }
>
>4~  
> 8  r8 r2  } \\
>
>   { %die zweite Stimme
>
> {\makeClusters {  32  32  } s16*15 |
> }
>
>
>
>   }
>
> >>
>
>
>
> \ottava #0  }
>
> \new Staff { \ganzunten }
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> lilypond-user-bounces+nick.payne =
> [EMAIL PROTECTED] *On Behalf Of *Stefan Thomas
> *Sent:* Sunday, 2 November 2008 20:49
> *To:* lilypond-user
> *Subject:* too much space for text
>
>
>
> Dear lilypond-users,
> in the below quoted example the text takes, in my opinion, too much space,
> athough I wrote the command \textLengthOff.
> How can I avoid it?
> Here is the snippet:
>
> \version "3.11.60"
> ganzunten = {\clef bass
> \textLengthOff
> \ottava #-1
> %es wird zweistimmig!
> <<
>   { \oneVoice  1 ~ ^\markup { \teeny
> \italic "(Cluster stumm niederdrücken, mit drittem Pedal halten" }
>
> \repeat unfold 2 {   1 ~ }
>4~  
> 8  r8 r2  } \\
>   { %die zweite Stimme
> {\makeClusters {  32  32  } s16*15 |
> }
>
>   }
> >>
>
> \ottava #0  }
> \new Staff { \ganzunten }
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


too much space for text

2008-11-02 Thread Stefan Thomas
Dear lilypond-users,
in the below quoted example the text takes, in my opinion, too much space,
athough I wrote the command \textLengthOff.
How can I avoid it?
Here is the snippet:

\version "3.11.60"
ganzunten = {\clef bass
\textLengthOff
\ottava #-1
%es wird zweistimmig!
<<
  { \oneVoice  1 ~ ^\markup { \teeny
\italic "(Cluster stumm niederdrücken, mit drittem Pedal halten" }

\repeat unfold 2 {   1 ~ }
   4~  
8  r8 r2  } \\
  { %die zweite Stimme
{\makeClusters {  32  32  } s16*15 |
}

  }
>>

\ottava #0  }
\new Staff { \ganzunten }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: slashed noteheads

2008-10-25 Thread Stefan Thomas
Dear Bayley,
sorry, I expressed it not quite clearly. I thought of a  stroked out (hope
this is the right expression in english) notehead.

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

> Yes, see section 1.1.4 of the Notation reference on NoteHeads.
>
> Am 25.10.2008 um 19:03 schrieb Stefan Thomas:
>
>  Dear lilypond-users,
>> is it possible to get slashed note-heads?
>>
>> ___
>> 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


slashed noteheads

2008-10-25 Thread Stefan Thomas
Dear lilypond-users,
is it possible to get slashed note-heads?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


urgent: people for a fair-copy needed

2008-10-25 Thread Stefan Thomas
Dear lilypond-users,
the e-mail I'm writing is not directly concerned with lilypond , but:
Mr. Becker-Foss in Hameln/Germany searches urgently people to make a fair
copy of the first movement of "Les Beatitudes" by Cesar Franck.
He and his team have already done this work but the datas got lost. So, he
is really in a very bad situation and searches for people that could help
him.
The score  (it is a copy of the manuscript) has about 60(!) pages and it is
for a large ensemble (23 different staves are needed).
Of course he can offer some (not a lot )money (he spoke about 5 € per page
but maybee one could ask for a little more).
The problem is: he needs it until next Friday.
I promised to try to help him, but I can't do this work in this short time.
But if we would be about 10-15 people, it could be possible.
You can contact Mr. Becker Foss at any time at

[EMAIL PROTECTED]

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


<    2   3   4   5   6   7   8   9   10   >