avoid slur help

2008-12-26 Thread james
I'm having some difficulty understanding the 'avoid-slur property.  
This doesn't work:

\version 2.11.65

\relative c'' {
   \override TextScript #'avoid-slur = #'inside
   c2*1/2( s4^\markup {\natural} d4.) c8
}

In fact, it increases the space between the slur and the notes, but  
doesn't move the markup down.
inline: avoid slur.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


also, lyric help

2008-12-26 Thread james
I'm trying to figure out ways to incorporate lyrics associated with  
different voices. I can only seem to get it to work using  
associatedVoice. Is this possible using \lyricsto?

\version 2.11.65

instrument = \relative c' {
   \context Voice = NumberOne { c4 d e f }
   \context Voice = NumberTwo { c4 d e f }
   \context Voice = NumberThree { c4 d e f }
   \context Voice = NumberOne { c'4 b a g }
   \context Voice = NumberTwo { c4 b a g }
   \context Voice = NumberThree { c b a g }
}

Text = \context Lyrics {
   \lyricsto NumberOne { Cee Dee Eee Eff }
   \lyricsto NumberTwo { Doh Re Mi Fa }
   \lyricsto NumberThree { This is my text. }
   \lyricsto NumberOne { Cee Bee Ay Gee }
   \lyricsto NumberTwo { Doh Ti La Sol }
   \lyricsto NumberThree { Here is some more. }
}

TextTwo = \context Lyrics \lyricmode {
   \set associatedVoice = #NumberOne { Cee4 Dee Eee Eff }
   \set associatedVoice = #NumberTwo { Doh4 Re Mi Fa }
   \set associatedVoice = #NumberThree { This4 is my text. }
   \set associatedVoice = #NumberOne { Cee4 Bee Ay Gee }
   \set associatedVoice = #NumberTwo { Doh4 Ti La Sol }
   \set associatedVoice = #NumberThree { Here4 is some more. }
}

\score {
   
  \new Staff \instrument
  \Text
   
}
\score {
   
  \new Staff \instrument
  \TextTwo
   
}



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


Re: avoid slur help

2008-12-26 Thread Jonathan Kulp

james wrote:
I'm having some difficulty understanding the 'avoid-slur property. This 
doesn't work:

\version 2.11.65

\relative c'' {
   \override TextScript #'avoid-slur = #'inside
   c2*1/2( s4^\markup {\natural} d4.) c8
}

In fact, it increases the space between the slur and the notes, but 
doesn't move the markup down.




Hi James,

So, do you want to move the natural markup down?  When I comment out the 
avoid-slur line in your code, the result looks pretty good to me (much 
better than it does with the avoid-slur).  If you want to move the 
natural closer to the staff, though, it's certainly possible. Try 
looking at the Moving Objects section in the Learning Manual to see 
how to move the markup around:


http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Moving-objects#Moving-objects

HTH,

Jon

--
Jonathan Kulp
http://www.jonathankulp.com


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


Re: avoid slur help

2008-12-26 Thread James E. Bailey


Am 26.12.2008 um 13:15 schrieb Jonathan Kulp:


james wrote:
I'm having some difficulty understanding the 'avoid-slur property.  
This doesn't work:

\version 2.11.65
\relative c'' {
   \override TextScript #'avoid-slur = #'inside
   c2*1/2( s4^\markup {\natural} d4.) c8
}
In fact, it increases the space between the slur and the notes,  
but doesn't move the markup down.


Hi James,

So, do you want to move the natural markup down?
No, I want the natural under the slur. Which I what I thought inside  
did.



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


Re: avoid slur help

2008-12-26 Thread Jonathan Kulp

James E. Bailey wrote:


Am 26.12.2008 um 13:15 schrieb Jonathan Kulp:


james wrote:
I'm having some difficulty understanding the 'avoid-slur property. 
This doesn't work:

\version 2.11.65
\relative c'' {
   \override TextScript #'avoid-slur = #'inside
   c2*1/2( s4^\markup {\natural} d4.) c8
}
In fact, it increases the space between the slur and the notes, but 
doesn't move the markup down.


Hi James,

So, do you want to move the natural markup down?

No, I want the natural under the slur. Which I what I thought inside did.



You can make it go under the slur with extra-offset:

\version 2.11.65

\relative c'' {
  \override TextScript #'extra-offset = #'( 0.0 . -4.0)
%   \override TextScript #'avoid-slur = #'inside
   c2*1/2( s4^\markup {\natural} d4.) c8
}

Is the natural sign supposed to apply to the D?  If so then I'd just use 
d!4. instead.


Jon
--
Jonathan Kulp
http://www.jonathankulp.com


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


Re: avoid slur help

2008-12-26 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Freitag, 26. Dezember 2008 14:33:11 schrieb Jonathan Kulp:
 James E. Bailey wrote:
  Am 26.12.2008 um 13:15 schrieb Jonathan Kulp:
  james wrote:
  I'm having some difficulty understanding the 'avoid-slur property.
  This doesn't work:
  \version 2.11.65
  \relative c'' {
 \override TextScript #'avoid-slur = #'inside
 c2*1/2( s4^\markup {\natural} d4.) c8
  }
  In fact, it increases the space between the slur and the notes, but
  doesn't move the markup down.
 
  Hi James,
 
  So, do you want to move the natural markup down?
 
  No, I want the natural under the slur. Which I what I thought inside did.

Apparently, it reserves space for the natural below the slur, but still places 
the natural above the slur. Looks like a bug to me...

 You can make it go under the slur with extra-offset:

the problem with extra-offset is that this does not affect spacing at all! In 
particular, the skyline (that is used for staff spacing and for collisions 
with other objects) will still be the same old skyline as it was before the 
extra-offset. See the attached sample with skyline-debugging enabled. Notice 
that LilyPond still reserves space for the natural above the slur!

 Is the natural sign supposed to apply to the D?

I'm not sure.

 If so then I'd just use d!4. instead.

No, it was common practice to put accidentals above notes in older times. 
Sometimes these were meant to be optional, sometimes they were cautinary 
accidentals. In any case, if you try to be close to the source, you should 
write it above the note and not as d!4.

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)

iD8DBQFJVOTMTqjEwhXvPN0RAhQzAKC9VB0pceThf6fdyKNHrEgCkLC/lQCgpQuA
gCR/Ej1BwlrCACpJElI9eUc=
=a7vX
-END PGP SIGNATURE-
\version 2.11.65
#(ly:set-option 'debug-skylines #t)
\relative c'' {
   \override TextScript #'extra-offset = #'( 0.0 . -4.0)
%   \override TextScript #'avoid-slur = #'inside
c2*1/2( s4^\markup {\natural} d4.) c8
}


a.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: avoid slur help

2008-12-26 Thread Eyolf Østrem
On 26.12.2008 (15:06), Reinhold Kainhofer wrote:
  If so then I'd just use d!4. instead.
 
 No, it was common practice to put accidentals above notes in older times. 
 Sometimes these were meant to be optional, sometimes they were cautinary 
 accidentals. In any case, if you try to be close to the source, you should 
 write it above the note and not as d!4.

Slight correction: it is customary in modern editions to put editorial
accidentals above the note. They are not optional, but frequently left to
the performer to apply, according to more or less strict rules (see Musica
ficta in the docs).

Eyolf

-- 
It's all GNU to me. 

   -- From a Slashdot.org post


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


Re: avoid slur help

2008-12-26 Thread Neil Puttock
Hi James,

2008/12/26 James E. Bailey derhindem...@googlemail.com:

 No, I want the natural under the slur. Which I what I thought inside did.

You'll have to turn off 'outside-staff-priority for TextScript, since
it takes precendence over 'avoid-slur.

\override TextScript #'outside-staff-priority = ##f

Regards,
Neil


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


Re: also, lyric help

2008-12-26 Thread fiëé visuëlle


Am 2008-12-26 um 12:38 schrieb james:

I'm trying to figure out ways to incorporate lyrics associated with  
different voices. I can only seem to get it to work using  
associatedVoice. Is this possible using \lyricsto?

\version 2.11.65

instrument = \relative c' {
  \context Voice = NumberOne { c4 d e f }
  \context Voice = NumberTwo { c4 d e f }
  \context Voice = NumberThree { c4 d e f }
  \context Voice = NumberOne { c'4 b a g }
  \context Voice = NumberTwo { c4 b a g }
  \context Voice = NumberThree { c b a g }
}

Text = \context Lyrics {
  \lyricsto NumberOne { Cee Dee Eee Eff }
  \lyricsto NumberTwo { Doh Re Mi Fa }
  \lyricsto NumberThree { This is my text. }
  \lyricsto NumberOne { Cee Bee Ay Gee }
  \lyricsto NumberTwo { Doh Ti La Sol }
  \lyricsto NumberThree { Here is some more. }
}

TextTwo = \context Lyrics \lyricmode {
  \set associatedVoice = #NumberOne { Cee4 Dee Eee Eff }
  \set associatedVoice = #NumberTwo { Doh4 Re Mi Fa }
  \set associatedVoice = #NumberThree { This4 is my text. }
  \set associatedVoice = #NumberOne { Cee4 Bee Ay Gee }
  \set associatedVoice = #NumberTwo { Doh4 Ti La Sol }
  \set associatedVoice = #NumberThree { Here4 is some more. }
}

\score {
  
 \new Staff \instrument
 \Text
  
}
\score {
  
 \new Staff \instrument
 \TextTwo
  
}



Your nesting seems strange to me.

Try:

upperVoice = \relative c'' {
%
}

lowerVoice = \relative c' {
%
}


textOne = \lyricmode {
% You know how to write ly -- rics, don’t you?
}

textTwo = \lyricmode {
% You know how to write ly -- rics, don’t you?
}

\score {

\context Staff = Upper 
\context Voice = one \upperVoice

\lyricsto one \new Lyrics { \textOne }
\context Staff = Lower 
\context Voice = two \lowerVoice

\lyricsto two \new Lyrics { \textTwo }

}


Maybe that's oldfashioned, but it works for me (with 2.10.33).


Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)




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


Re: avoid slur help

2008-12-26 Thread Francisco Vila
2008/12/26 james derhindem...@googlemail.com:
 I'm having some difficulty understanding the 'avoid-slur property. This
 doesn't work:
 \version 2.11.65

 \relative c'' {
   \override TextScript #'avoid-slur = #'inside
   c2*1/2( s4^\markup {\natural} d4.) c8
 }

What's the musical sense of this?
Maybe what you want is

\set suggestAccidentals = ##t
  c2( d!4.) c8
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: Custom articulations/pitched single-note trills

2008-12-26 Thread Neil Puttock
2008/12/21 gnomino gnom...@hotmail.com:
 I'm not top posting

 Thanks for your help.

 I was just wondering, is there any reason that \pitchedTrill only works with
 trill spanners?

That's just the way it's coded in the Pitched_trill_engraver; there's
no way of using it for any other purpose without recoding or hacking
trill spanners (see below).

 I soon discovered that I needed to typeset pitched mordents in
 addition to pitched trills, and since it would be tedious to create a set of
 \artSharp, \artNatural, \artFlat, \artSharpSharp, etc. for every 
 articulation, I
 came up with the following general function:

I've never seen a mordent typeset this way; it's customary to put the
pitch above or below the articulation.  Nevertheless, here's a hack
using a trill spanner which will allow you to typeset any articulation
with a parenthesized pitch:

pitchedArtic =
#(define-music-function (parser location str main-note paren next-note)
  (string? ly:music? ly:music? ly:music?)
  (let* ((get-notes (lambda (ev-chord)
  (filter
   (lambda (m) (eq? 'NoteEvent (ly:music-property m 'name)))
   (ly:music-property ev-chord 'elements
 (paren-notes (get-notes paren)))

(if (pair? paren-notes)
  (begin
(let*
((paren-pitch (ly:music-property (car paren-notes) 'pitch))
 (forced (ly:music-property (car paren-notes ) 'force-accidental #f)))

  (if (ly:pitch? paren-pitch)
(begin
  (ly:music-set-property! main-note 'elements
(cons (make-music
 'TrillSpanEvent
 'force-accidental forced
 'pitch paren-pitch
 'span-direction START)
(ly:music-property main-note 'elements)))

  (ly:music-set-property! next-note 'elements
(cons stopTrillSpan
(ly:music-property next-note 'elements
(begin
  (ly:warning (_ Second argument should be single note: ))
  (display paren-notes)))
  )))
(make-music 'SequentialMusic
'origin location
'elements (list #{
  \once \override TrillSpanner #'style = #'dashed-line
  \once \override TrillSpanner #'dash-period = #-1
  \once \override TrillSpanner #'(bound-details left text) =
#(make-musicglyph-markup (format scripts.~a $str))
  #}
main-note next-note

\relative c' {
  \pitchedArtic mordent cis b
  \pitchedArtic prall c des
  c2
}

Regards,
Neil


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


Re: avoid slur help

2008-12-26 Thread Graham Percival
On Fri, Dec 26, 2008 at 03:50:46PM +0100, Eyolf ?strem wrote:
 On 26.12.2008 (15:06), Reinhold Kainhofer wrote:
   If so then I'd just use d!4. instead.
  
  No, it was common practice to put accidentals above notes in older times. 
  Sometimes these were meant to be optional, sometimes they were cautinary 
  accidentals. In any case, if you try to be close to the source, you should 
  write it above the note and not as d!4.
 
 Slight correction: it is customary in modern editions to put editorial
 accidentals above the note. They are not optional, but frequently left to
 the performer to apply, according to more or less strict rules (see Musica
 ficta in the docs).

Thanks, Eyolf.  I was going to post something very sarcastic.  :)
No, wait -- I'm going to do that anyway.  *ahem*

To everybody apart from Eyolf who posted in this thread: musica
ficta can be found through a see also link under NR 1.1
Accidentals, directly in NR 2.8.3 Annotational accidentals (musica
ficta), or in NR appendix F index.

Cheers,
- Graham


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


rearrange music flow

2008-12-26 Thread Antanas Budriūnas
Hello Lily-users,

after few arrangements and engraving from my own manuscripts I'm
trying to move my composing work to Lilypond (without paper sheets). I
guess this is rare but IMHO worth to try.
Till now I puzzle over a problem each time when I need several
measures from one place in the score (all parts together, maybe with
lyrics) repeat somewhere in the middle of the piece or rearrange music
flow in general.
Some advance can be a naming (variables) relatively small chunks of
music, each bar or so. But this way source reading becomes
complicated.
I can imagine some intermediate element between Staff (StaffGroup) and
Score in the Lilypond hierarchy, which includes sevaral staves but
neither starts new line nor puts clef, key and time signature.
Maybe I'm missing something and a way does exist in Lilypond to
achieve such flexibility? (Sorry I'm not so brave to dive into Scheme
coding).

Season greatings!

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


Re: also, lyric help

2008-12-26 Thread James E. Bailey


Am 26.12.2008 um 16:24 schrieb fiëé visuëlle:



Am 2008-12-26 um 12:38 schrieb james:

I'm trying to figure out ways to incorporate lyrics associated  
with different voices. I can only seem to get it to work using  
associatedVoice. Is this possible using \lyricsto?

\version 2.11.65

instrument = \relative c' {
  \context Voice = NumberOne { c4 d e f }
  \context Voice = NumberTwo { c4 d e f }
  \context Voice = NumberThree { c4 d e f }
  \context Voice = NumberOne { c'4 b a g }
  \context Voice = NumberTwo { c4 b a g }
  \context Voice = NumberThree { c b a g }
}

Text = \context Lyrics {
  \lyricsto NumberOne { Cee Dee Eee Eff }
  \lyricsto NumberTwo { Doh Re Mi Fa }
  \lyricsto NumberThree { This is my text. }
  \lyricsto NumberOne { Cee Bee Ay Gee }
  \lyricsto NumberTwo { Doh Ti La Sol }
  \lyricsto NumberThree { Here is some more. }
}

TextTwo = \context Lyrics \lyricmode {
  \set associatedVoice = #NumberOne { Cee4 Dee Eee Eff }
  \set associatedVoice = #NumberTwo { Doh4 Re Mi Fa }
  \set associatedVoice = #NumberThree { This4 is my text. }
  \set associatedVoice = #NumberOne { Cee4 Bee Ay Gee }
  \set associatedVoice = #NumberTwo { Doh4 Ti La Sol }
  \set associatedVoice = #NumberThree { Here4 is some more. }
}

\score {
  
 \new Staff \instrument
 \Text
  
}
\score {
  
 \new Staff \instrument
 \TextTwo
  
}



Your nesting seems strange to me.

Try:

upperVoice = \relative c'' {
%
}

lowerVoice = \relative c' {
%
}


textOne = \lyricmode {
% You know how to write ly -- rics, don’t you?
}

textTwo = \lyricmode {
% You know how to write ly -- rics, don’t you?
}

\score {

\context Staff = Upper 
\context Voice = one \upperVoice

\lyricsto one \new Lyrics { \textOne }
\context Staff = Lower 
\context Voice = two \lowerVoice

\lyricsto two \new Lyrics { \textTwo }

}


Maybe that's oldfashioned, but it works for me (with 2.10.33).


I knew I would have to get into explaining this. There is no nesting.  
What I have are two verses, say,

{\autoBeamOff c8 d e4 f g}
and in the second verse,
{\autoBeamOff c8[ d] e4 f g}.
Engraving that isn't really a problem
\relative {\autoBeamOff {\voiceOne c8 d } \new Voice {\voiceTwo c8 
[ d] }\oneVoice e4 f g}
That's fine. I have it happening tons of times. The problem is then  
having lyrics automatically align to these notes. Usually I just name  
my voice context and be done with it:

\relative {
\context Voice = unbeamed notes
\autoBeamOff

{ \voiceone c8 d}
\context Voice = beamed notes { \voiceTwo c8[ d] }
 \oneVoice e4 f g
}
And then I automatically add text to it, using the above method.  
Problem is, with it happening 10 or more times in a single piece, I'm  
having problems aligning all of the lyrics to the appropriate notes.


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


Re: avoid slur help

2008-12-26 Thread James E. Bailey
Neil, thanks for the help, now I guess I move on to the next part of  
this problem:

\version 2.11.65

\relative c'' {
   \override TextScript #'avoid-slur = #'inside
   \override Script #'avoid-slur = #'inside
   \override TextScript #'script-priority = #-100
   \override TextScript #'outside-staff-priority = ##f
   c2*1/2( s4^\markup \center-column {\natural}^\turn d4.) c8
}
And it's so close, too.

Perhaps Graham can point me in the direction of the appropriate  
section of the documentation. It would be very helpful, and most  
appreciated.
inline: avoid slur.png

Am 26.12.2008 um 17:57 schrieb Graham Percival:


On Fri, Dec 26, 2008 at 03:50:46PM +0100, Eyolf ?strem wrote:

On 26.12.2008 (15:06), Reinhold Kainhofer wrote:

If so then I'd just use d!4. instead.


No, it was common practice to put accidentals above notes in  
older times.
Sometimes these were meant to be optional, sometimes they were  
cautinary
accidentals. In any case, if you try to be close to the source,  
you should

write it above the note and not as d!4.


Slight correction: it is customary in modern editions to put  
editorial
accidentals above the note. They are not optional, but frequently  
left to
the performer to apply, according to more or less strict rules  
(see Musica

ficta in the docs).


Thanks, Eyolf.  I was going to post something very sarcastic.  :)
No, wait -- I'm going to do that anyway.  *ahem*

To everybody apart from Eyolf who posted in this thread: musica
ficta can be found through a see also link under NR 1.1
Accidentals, directly in NR 2.8.3 Annotational accidentals (musica
ficta), or in NR appendix F index.

Cheers,
- Graham


___
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: avoid slur help

2008-12-26 Thread Graham Percival
On Fri, Dec 26, 2008 at 09:46:07PM +0100, James E. Bailey wrote:
 Neil, thanks for the help, now I guess I move on to the next part of  
 this problem:

What's the problem?

By that question, I mean what's the musical intent of that
lilypond code?.  Because to me, it looks like you're trying to
create a musica ficta accidental the wrong way.  But the solution
to that was already posted... so what *are* you trying to do?

Cheers,
- Graham


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


Re: avoid slur help

2008-12-26 Thread james
In the meantime, I figured out another solution: I can just do  
everything in markup, and set the baseline skip myself.

\version 2.11.65

\relative c'' {
   \override TextScript #'avoid-slur = #'inside
   \override TextScript #'outside-staff-priority = ##f
   c2*1/2( s4^\markup \tiny \override #'(baseline-skip . 1)  
{ \center-column {\musicglyph #accidentals.natural \musicglyph  
#scripts.turn } }d4.) c8

}

Am 26.12.2008 um 21:46 schrieb James E. Bailey:

Neil, thanks for the help, now I guess I move on to the next part  
of this problem:

\version 2.11.65

\relative c'' {
   \override TextScript #'avoid-slur = #'inside
   \override Script #'avoid-slur = #'inside
   \override TextScript #'script-priority = #-100
   \override TextScript #'outside-staff-priority = ##f
   c2*1/2( s4^\markup \center-column {\natural}^\turn d4.) c8
}
And it's so close, too.

Perhaps Graham can point me in the direction of the appropriate  
section of the documentation. It would be very helpful, and most  
appreciated.avoid slur.png

Am 26.12.2008 um 17:57 schrieb Graham Percival:


On Fri, Dec 26, 2008 at 03:50:46PM +0100, Eyolf ?strem wrote:

On 26.12.2008 (15:06), Reinhold Kainhofer wrote:

If so then I'd just use d!4. instead.


No, it was common practice to put accidentals above notes in  
older times.
Sometimes these were meant to be optional, sometimes they were  
cautinary
accidentals. In any case, if you try to be close to the source,  
you should

write it above the note and not as d!4.


Slight correction: it is customary in modern editions to put  
editorial
accidentals above the note. They are not optional, but frequently  
left to
the performer to apply, according to more or less strict rules  
(see Musica

ficta in the docs).


Thanks, Eyolf.  I was going to post something very sarcastic.  :)
No, wait -- I'm going to do that anyway.  *ahem*

To everybody apart from Eyolf who posted in this thread: musica
ficta can be found through a see also link under NR 1.1
Accidentals, directly in NR 2.8.3 Annotational accidentals (musica
ficta), or in NR appendix F index.

Cheers,
- Graham


___
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: emailed lilypond pdf's printout missing note bodies on reciepent's computer

2008-12-26 Thread John Mislan
Ralph Palmer palmer.r.violin at gmail.com writes:

 I've had some peculiar things happen, even using Adobe Acrobat to make the
PDFs and using Adobe Reader 9 to view them. Specifically, when I've uploaded
files generated at 1200 dpi to a Yahoo website, and then downloaded them to
another computer (both computers running Windows XP), I've gotten a box around
each staff. This was using ABC format to create the files, and then using Ghost
to view them and sending them to an Acrobat printer. This didn't seem to happen
always, and I don't think it happened at all if I set the printer to 720 dpi. I
don't see how the dpi could affect the noteheads, but I'd say there are clearly
possibilities out there for conflicts between generators and viewers.Peace,Ralph
 On Wed, Dec 24, 2008 at 4:33 PM, John Mislan jwmislan at gmail.com wrote:

 Guess I'll have to tell others to use Adobe - Acrobat or equivalent reader
 for PDF's next Time.
 Well that solves it then.
 Thanks again for your prompt response, and help on this .
  - Seasons Grettings to All -
 JWM
 
 - Ralph PalmerMontague City, MAUSApalmer.r.violin at gmail.com

 Hello Ralph 
 
I didn't tell my output to do any specific resolution - I just ran - the
'lilypond' command on them, and used the resulting PDF to send out to the
windows vista, and xp computer users. All the note heads had small boxes around
them. I wonder if their printer was set to too high of a resolution ??
I can't test any of this at present I have only, an old epson available to me
with up to 720 - but no 1200 dpi res.

I'm trying to get to some foolproof way to insure that my lilypond music pdf's
will universally print correctly. Telling recipients they should use Adobe
Acrobat and (not winword) for pdf's, and 720 dpi res. is a reasonable start I
suppose. There seems to be evidence of conflicts between generators and viewers
and maybe some other quirks for this behavior. I have seen from time to time,
similar complaints about the notehead boxes.
 Maybe some others have had experience with it - found some ways to avoid it or
other relevant insight.

JWM



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


Re: avoid slur help

2008-12-26 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Freitag, 26. Dezember 2008 21:46:07 schrieb James E. Bailey:
 Neil, thanks for the help, now I guess I move on to the next part of
 this problem:
 \version 2.11.65

 \relative c'' {
 \override TextScript #'avoid-slur = #'inside
 \override Script #'avoid-slur = #'inside
 \override TextScript #'script-priority = #-100
 \override TextScript #'outside-staff-priority = ##f
 c2*1/2( s4^\markup \center-column {\natural}^\turn d4.) c8
 }

Ah, so you are actually trying to create a delayed turn (where the lower note 
of the turn uses the natural).
I could swear that I have seen some lilypond code to create such turns (both 
with an accidental for the upper and one for the lower note of the turn), but 
I'm unable to find it, neither on LSR nor in the NR...

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)

iD8DBQFJVVJMTqjEwhXvPN0RAjk/AJ9obQBuMuP/AkgB6L//RE3R82r0CQCgi/rT
0FNRWObvnLy0yO28xS0G8wI=
=Vyy1
-END PGP SIGNATURE-


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


Re: emailed lilypond pdf's printout missing note bodies on reciepent's computer

2008-12-26 Thread fiëé visuëlle

Am 2008-12-26 um 22:40 schrieb John Mislan:
I didn't tell my output to do any specific resolution - I just ran -  
the
'lilypond' command on them, and used the resulting PDF to send out  
to the
windows vista, and xp computer users. All the note heads had small  
boxes around

them. I wonder if their printer was set to too high of a resolution ??
I can't test any of this at present I have only, an old epson  
available to me

with up to 720 - but no 1200 dpi res.

I'm trying to get to some foolproof way to insure that my lilypond  
music pdf's
will universally print correctly. Telling recipients they should use  
Adobe
Acrobat and (not winword) for pdf's, and 720 dpi res. is a  
reasonable start I
suppose. There seems to be evidence of conflicts between generators  
and viewers
and maybe some other quirks for this behavior. I have seen from time  
to time,

similar complaints about the notehead boxes.
Maybe some others have had experience with it - found some ways to  
avoid it or

other relevant insight.



I don't think it's a matter of resolution, but some GDL printers can't  
handle the output from Adobe Reader. Mostly checking print as  
image (or how it is called) in the printing dialog helps.


But I guess the boxes 'round the noteheads are from the links (point  
and click) - usable for debugging, but useless for readers.

Just switch them off:

#(ly:set-option (quote no-point-and-click))

HTH


Greetlings from Lake Constance
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net
http://angerweit.tikon.ch/lieder/
https://www.cacert.org (I'm an assurer)




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


Re: Naturals' position when key changes

2008-12-26 Thread Kieren MacMillan

Hello, Gilles et al:


So, in the property 'break-align-orders […]
you have to change in the second line


Okay… once again, there is *no* second place to Lilypond in the Best  
Engraving Software category.  =)

Kieren.

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


Re: avoid slur help

2008-12-26 Thread James E. Bailey


Am 26.12.2008 um 17:57 schrieb Graham Percival:


On Fri, Dec 26, 2008 at 03:50:46PM +0100, Eyolf ?strem wrote:

On 26.12.2008 (15:06), Reinhold Kainhofer wrote:

If so then I'd just use d!4. instead.


No, it was common practice to put accidentals above notes in  
older times.
Sometimes these were meant to be optional, sometimes they were  
cautinary
accidentals. In any case, if you try to be close to the source,  
you should

write it above the note and not as d!4.


Slight correction: it is customary in modern editions to put  
editorial
accidentals above the note. They are not optional, but frequently  
left to
the performer to apply, according to more or less strict rules  
(see Musica

ficta in the docs).


Thanks, Eyolf.  I was going to post something very sarcastic.  :)
No, wait -- I'm going to do that anyway.  *ahem*

To everybody apart from Eyolf who posted in this thread: musica
ficta can be found through a see also link under NR 1.1
Accidentals,


Perhaps you have a different version of the manual, but I don't see  
Accidentals under NR 1.1. I see Writing pitches, Changing multiple  
pitches, Displaying pitches and Note heads. Or were you talking about  
the 2.10 documentation? (Where I, incidentally, don't see a link to  
musica ficta.)



directly in NR 2.8.3 Annotational accidentals (musica
ficta), or in NR appendix F index.


Ah, I do see the musica ficta there, and, seeing as how you didn't  
provide an example, I am left to my own devices to solve a problem  
that I thought I said I was having difficulty solving. However, using  
the \set suggestAccidentals, which is all I can assume you meant to  
tell me about, I come to the conclusion of:

\version 2.11.65
\relative c'' {
   \override TextScript #'avoid-slur = #'inside
   {c2(} \new Voice { s4 \hideNotes \once \set suggestAccidentals  
= ##t cis4^\turn \unHideNotes} d4.) c8

}
which still doesn't have everything under the slur. So, Graham, while  
I thank you for your attempt, I find your help, without examples,  
rather unhelpful.



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


Re: avoid slur help

2008-12-26 Thread Graham Percival
On Fri, Dec 26, 2008 at 11:40:12PM +0100, James E. Bailey wrote:

 Am 26.12.2008 um 17:57 schrieb Graham Percival:

 To everybody apart from Eyolf who posted in this thread: musica
 ficta can be found through a see also link under NR 1.1
 Accidentals,

 Perhaps you have a different version of the manual, but I don't see  
 Accidentals under NR 1.1.

Ok.  NR 1.1.1.  I would consider that to be under NR 1.1, but I
admit that I forgot the final .1.

 directly in NR 2.8.3 Annotational accidentals (musica
 ficta), or in NR appendix F index.

 Ah, I do see the musica ficta there, and, seeing as how you didn't  
 provide an example, I am left to my own devices to solve a problem that I 
 thought I said I was having difficulty solving. However, using the \set 
 suggestAccidentals, which is all I can assume you meant to tell me about, 

Well, first start off with a simple example:

\version 2.11.65
\relative c'' {
   c4(
   \once \set suggestAccidentals = ##t
   cis d4.) c8
}

Hmm, it prints an error message.  It would be helpful to report
this to the bug list.


Then try to make it behave properly:

\version 2.11.65
\relative c'' {
   \override AccidentalSuggestion #'avoid-slur = #'inside
   c4(
   \once \set suggestAccidentals = ##t
   cis d4.) c8
}

Nope, it ain't moving.  Let's make sure that there's enough space:

\version 2.11.65
\relative c'' {
   \override Slur #'ratio = #8.0
   \override Slur #'height-limit = #8.0
   \override AccidentalSuggestion #'avoid-slur = #'inside
   c4(
   \once \set suggestAccidentals = ##t
   cis d4.) c8
}

Still ain't working.  OK, time for another bug report.  Oh wait;
first do a quick search to see if this has been reported before:
http://code.google.com/p/lilypond/issues/list?can=1q=suggestAccidentals
(I forgot this step just a day or two ago, and boy did I feel like
an idiot!)

Nope, not reported.  So now you send those two bug reports to the
bug list, and use some ugly hack with #'extra-offset and the Slur
overrides to get the output you want.  It's not pretty, but even
lilypond has bugs.  In fact, over 200 of them!

Once you've identified bugs, report them, use a workaround (and in
my experience, extra-offset is almost always the cheapest, easiest
thing to do) and get on with life.

Cheers,
- Graham


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


Re: avoid slur help

2008-12-26 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Freitag, 26. Dezember 2008 23:40:12 schrieb James E. Bailey:
 Am 26.12.2008 um 17:57 schrieb Graham Percival:
  To everybody apart from Eyolf who posted in this thread: musica
  ficta can be found through a see also link under NR 1.1
  Accidentals,

 Perhaps you have a different version of the manual, but I don't see
 Accidentals under NR 1.1. I see Writing pitches,

See NR 1.1.1 - Accidentals...

  directly in NR 2.8.3 Annotational accidentals (musica
  ficta), or in NR appendix F index.

 Ah, I do see the musica ficta there, and, seeing as how you didn't
 provide an example, I am left to my own devices to solve a problem
 that I thought I said I was having difficulty solving.

Actually, your problem has nothing to do with musica ficta. You are trying to 
typeset a turn ornament with an accidental above/below (see e.g. 
http://musicxml.org/xml/samples/MozaChloSample.pdf). The accidental in this 
case does NOT apply to the note itself, but to a note that is played as part 
of the turn. In particular, the c2 with the delayed turn (with the natural 
below the turn) is actually played as:

c4 d16 c16 b!16 c16

Without the natural below the turn (and assuming you were cutting that part 
from a piece set with at least one flat in the key signature, e.g. \key f 
\major), the turn would be played as

c4 d16 c16 bes16 c16

(Notice the difference in b and bes).

One possible solution is to print the turn and the accidental in one markup:
\markup {\column {\musicglyph #scripts.turn \natural}}

Of course, then you are still left with your slur problem. Plus, the natural 
sign is too far below the turn in this markup...

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)

iD8DBQFJVWPDTqjEwhXvPN0RAjcLAJwPmnFtIrl3PkLBUcKh4lg7Yu/Z5wCfeZ1F
SaiNinCPCzNepVCkokUc9uE=
=7pnG
-END PGP SIGNATURE-


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


Re: avoid slur help

2008-12-26 Thread James E. Bailey


Am 26.12.2008 um 23:59 schrieb Graham Percival:

Well, first start off with a simple example:

\version 2.11.65
\relative c'' {
   c4(
   \once \set suggestAccidentals = ##t
   cis d4.) c8
}

Hmm, it prints an error message.  It would be helpful to report
this to the bug list.


You know, I never know if those things are actual bugs, or simply due  
to my lack of understanding how the program works. I never know if  
what I'm seeing is erroneous output, or erroneous input.





Then try to make it behave properly:

\version 2.11.65
\relative c'' {
   \override AccidentalSuggestion #'avoid-slur = #'inside
   c4(
   \once \set suggestAccidentals = ##t
   cis d4.) c8
}
…use some ugly hack with #'extra-offset and the Slur
overrides to get the output you want.


This is the point at which I asked the list for help. I didn't come  
to the concept of using #'extra-offset on my own, and a simple try  
using #'extra-offset for the slur would probably have sufficed to  
point me in the direction I needed (in fact, jonathan kulp suggested  
it, and came very close to what I ended up using as my workaround. I  
did get useful help. But, from our resident chairman of the not-warm- 
and-fuzzy committee, I got premeditated sarcasm that related to a  
completely different issue, and when I forced the point of how *not*  
helpful that information was, I got tons of examples of how my  
problem was *not* solved, and a suggestion to do something that had  
already been suggested and illustrated. So, while this time, our  
resident not-warm-and-fuzzy committee chairman did provide examples  
so we didn't have to guess what he meant, he still omitted the  
easiest part of helping which could have simple been,  \override  
TextScript #'extra-offset = #'( 0.0 . -5.0), instead of the wonderful  
instruction in how to properly use lilypond.




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


Re: avoid slur help

2008-12-26 Thread Graham Percival
On Sat, Dec 27, 2008 at 01:01:19AM +0100, James E. Bailey wrote:

 he still omitted the easiest part of helping which could have 
 simple been,  \override TextScript #'extra-offset = #'( 0.0 . -5.0), 
 instead of the wonderful instruction in how to properly use lilypond.

Of course I omitted that.  You're assumed to have read the
Learning Manual.  In particular, LM 4.5.1 and 4.5.2.

Cheers,
- Graham


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


Again: Orchestra template

2008-12-26 Thread 胡海鹏 Hu Haipeng
Hello,
  I'm one Lilypond year old today! The day before yesterday, I posted my 
orchestral template, to see whether all are OK--I will contribute it to the LSR 
or to become part of LM's template appendix. Also, I own have difficulty in 
this, and hope you can solve the problem. My topic is orchestra template 
problem.
Sincerely
Haipeng


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