Re: GDP: Rhythms rewrite

2007-10-07 Thread Hans Aberg

On 7 Oct 2007, at 01:13, Graham Percival wrote:

I've identified the following areas to work on; please add items or  
discuss them.


As for the section 6.6, the Harvard Concise Dictionary of Music  
calls it expression marks, which includes tempo and dynamic marks,  
legato, staccato, bowing, articulation phrasing, use of piano pedals,  
etc.


But ornaments seem not be included in this classification. The  
article ornaments [loc.cit.] mentions them as various  
embellishments by additions or variations of rhythms, melody or harmony.


Not a big point, perhaps, but it may make a difference when  
searching, and the musical treatment is somewhat different, also  
notationally. Pitched ornaments may require various embellishments  
(accidentals and grace notes), and the sections on these might be  
expanded.


For example, I am wrestling with the addition of accidentals to  
pitched ornaments (\trill, etc.), and following the manual, I have  
added the macros:

  above = { \once \override Script #'script-priority = #-100 }
  below = { \once \override TextScript #'script-priority = #-100 }
Even with these, the addition of accidentals is somewhat cumbersome.

An idea that comes to my mind would if say the {...} could works as  
environments also in the markups. The idea is that writing

  fis{\trill^\flat}
\flat work work in the environment created by \trill, that is markup,  
and then ^ would be given local meaning as a super-positioning to  
the \trill symbol rather than to the note fis. Then the different  
accidentals could be added easily in a very compact notation. For  
example

  fis{\turn^sharp_\flat}
would be a turn with a sharp above and a flat below.

The section might be renamed to say: Expression marks and  
ornamentation.


  Hans Åberg




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


Re: GDP: Rhythms rewrite

2007-10-07 Thread Miguel Lopes Santos Ramos
 On 7 Oct 2007, at 01:13, Graham Percival wrote:

 I've identified the following areas to work on; please add items or =20=
 discuss them.

I don't know if this sort of thing is what you're asking for...

For me, the biggest problem is the one which is stated as a Bug in the manual
about the synchronization of grace notes (section 6.5.7 of the manual).

I very often write grace notes in scores with many staves (of course). In
Lilypond it often happens that I need to add grace spacing, \grace s8 for
instance, on other voices.
This makes no sense, grace notes do not take up any time of their own, by
definition, they steal it from real notes, and therefore it is correctly
labeled as a bug in the manual.
The problem is that the proposed work-around becomes unmanageable. Suppose
you're writing an orquestral score, and have the scores for each instrument even
perhaps in separate files. One problem you already have is maintaining the
synchronization of bars, that is, make sure no bar is missing on any score. But
this is supposed to be, and Lilypond has the appropriate tools to make sure the
bars stay in synch.
This need for grace spacing requires you to make sure that grace spacing
isn't missing in any score, you, the writer, are given by the program an
additional task, which not only makes no sense in music as is also very hard to
manage correctly. Whenever you add a set of grace notes to one score near some
bar line in some cases which I cannot predict correctly, you are forced to add
corresponding spacing to every other score.

So, I don't know if this is the kind of feature that you may be going to rework,
if it isn't, it's ok...
I do think this is something which must be considered a priority due to:
- It is not easily predictable when grace spacing is going to be necessary.
- It is very hard to manage that all staves of a given score have been added the
necessary spacing.

Greetings,

Miguel


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


Re: Long flat / sharp trills and trills ending at barline

2007-10-07 Thread Risto Vääräniemi

Hi Trevor,

Thanks for the tips. I studied the section you mentioned and found the
parameter that did the trick – the #'stencil-offset. I had to fiddle with
the numbers for a moment to align the wavy lines properly with the real
long trill line. Now it looks quite nice, though. :-)

The snippet below also contains an example how I tried to use the
#'to-barline = ##t parameter. I wonder if the syntax is OK?

-Risto

http://www.nabble.com/file/p13082975/trb2.png Snippet in PNG 

%%% Snippet revisited %%%
\version 2.11.32

trstyle = {
\override TextSpanner   #'style = #'trill
\override TextSpanner   #'edge-height = #'(0 . 1)
}

trflatstartI = {
\trstyle
\override TextSpanner #'bound-details #'left #'stencil-align-dir-y =
#CENTER
\override TextSpanner #'bound-details #'left #'stencil-offset = #'(-0.3
. 0.15)
\override TextSpanner #'bound-details #'left #'text =
\markup{\musicglyph #scripts.trill
\raise #1.0 \smaller \flat}
}

trflatstartII = {
\trstyle
\override TextSpanner #'bound-details #'left #'stencil-align-dir-y =
#CENTER
\override TextSpanner #'bound-details #'left #'stencil-offset = #'(-0.6
. 0.85)
\override TextSpanner #'bound-details #'left #'text =
\markup{ \column{\tiny\smaller\smaller\smaller{\flat}
{\musicglyph #scripts.trill}}}
}

one = \relative c' {
f2.. \startTrillSpan f8 \stopTrillSpan |
\trflatstartI f2..^\startTextSpan f8 \stopTextSpan |
\trflatstartII f2..^\startTextSpan f8 \stopTextSpan |
\override TextSpanner #'to-barline = ##t
\trflatstartI f1^\startTextSpan | f1\stopTextSpan
}

\new Staff {

\one

}
%% Snippet end %%




Trevor Bača-2 wrote:
 
 Hi Risto,
 
 (One of) the settings you seek is ...
 
\override TextSpanner #'bound-details #'left #'stencil-align-dir-y =
 #CENTER
 
 ... which you can, for example, include in your definition of
 trflatstartI. Like this:
 
 
  New snippet %
 
 ---8--
 
 % END %
 
 
 Other goodies like this can be found under 8.1.2 Trill and line
 spanners in the 2.11 version of the manual.
 
 As far as #'to-barline = ##t ... I think that that *was*, in fact,
 supposed to work in precisely this case, so that may be a bug; but
 I'll have to run a few more testfiles first.
 
 And, as a sidenote, the layered voices technique you're using is
 pretty common tool for many of us on the list; even though it looks
 like a pain when you first stumble upon it, the technique works
 surprisingly well. Two notes, though: skips like s4 do behave
 differently that (invisible) notes and rests for spacing purposes, as
 you're discovering; that's perfectly normal (but I think there may be
 a PaperColumn override to make skips behave the same way in the
 spacing problem; again I need to check). Also, you can get rid of the
 clashing note columns (which are quite common when you use hidden
 voices) with the incantation ...
 
\override NoteColumn #'ignore-collision = ##t
 
 ... which you can either set globally for an entire voice or score (or
 call selectively).
 
 I haven't adjusted the y alignment on trflatstartII; if you figure it
 out could you post back to the list?
 
 
 
 
 Trevor.
 
 
 -- 
 Trevor Bača
 [EMAIL PROTECTED]
 
 

-- 
View this message in context: 
http://www.nabble.com/Long-flat---sharp-trills-and-trills-ending-at-barline-tf4575448.html#a13082975
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


lyric-ties within a word (spacing/hyphenation issue)

2007-10-07 Thread Monk Panteleimon

Hello, Lilypond list.

I would like to use lyric ties on syllables within a single word,
without the syllables looking -- for the presence of hyphen-less space 
-- like two short words.

The problem is that there seems to be a minimum amount of space between
the syllables that are tied, and it doesn't seem affected by LyricSpace.
Nor can one put hyphens between tied syllables, e.g [ hy~ -- phen ]. So, 
they look like

separate words.
Behold:


\version 2.10

% Of course, I could just do this:
\score { \relative c''
  { c b }
  \addlyrics
  { plen- -- teous }
\layout{ ragged-right = ##t }
}

% But I'd rather combine this:
\score { \relative c''
  { c b }
  \addlyrics
  { plen- -- te~ous }
\layout{ ragged-right = ##t }
}

%with  something like this:
% (I've used a middle-dot here, which I think works better than a hyphen 
in this case.)

\score { \relative c''
  { c b }
  \addlyrics
  { plen- -- te·ous }
\layout{ ragged-right = ##t }
}

%But that makes this (even without any LyricSpace):
\score { \relative c''
  { c b }
  \addlyrics
  { plen- -- \override LyricSpace #'minimum-distance = #0  te~·ous }
\layout{ ragged-right = ##t }
}
%%%

My intention, btw, is that these syllables should be less articulated 
than if they had each an 8th note,

but slightly more than if we simply pronounced them tyus.
Thank you very much for lilypond and all of the assistance I have 
received from this list.

--
Monk Panteleimon
Hermitage of the Holy Cross
Wayne, WV, USA
[EMAIL PROTECTED]


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


Not recognizing \notes, install problem?

2007-10-07 Thread Seumas McX

Hi,

This is probably something really simple, but I'm trying to compile the
following file and I get a lot of errors (including not recognizing \notes
as a command). I'm guessing it's an installation error and probably
something obvious  - can anyone point me to a fix for this?

Cheers,

Seumas

Install info: Lilypond 2.10.5 installed via synaptic package manager on
Ubuntu 7.04 (Feisty)

File that does compile:
---
{
  c' e' g' e'
}

---
File that doesn't compile:
---

\include bagpipe.ly

\paper {
linewidth = 8.0 \in
raggedright = ##t
}

\score {
 \notes {
\key a \mixolydian
\gGr a4 \gGr b \gGr c
\gGr d \gGr e \gGr f \haGr g
ha4
}
}
---
Error message for above:
---
grace.ly:10:9: error: unknown escaped string: `\notes'
 
 \notes {
grace.ly:10:9: error: syntax error, unexpected STRING
 
 \notes {
grace.ly:12:16: error: unknown escaped string: `\gGr'

\gGr a4 \gGr b \gGr c
grace.ly:12:16: error: syntax error, unexpected STRING

\gGr a4 \gGr b \gGr c
grace.ly:12:24: error: unknown escaped string: `\gGr'
\gGr a4 
\gGr b \gGr c
grace.ly:12:31: error: unknown escaped string: `\gGr'
\gGr a4 \gGr b 
   \gGr c
grace.ly:13:16: error: unknown escaped string: `\gGr'

\gGr d \gGr e \gGr f \haGr g
grace.ly:13:23: error: unknown escaped string: `\gGr'
\gGr d 
   \gGr e \gGr f \haGr g
grace.ly:13:30: error: unknown escaped string: `\gGr'
\gGr d \gGr e 
  \gGr f \haGr g
grace.ly:13:37: error: unknown escaped string: `\haGr'
\gGr d \gGr e \gGr f 
 \haGr g
grace.ly:10:16: error: errors found, ignoring music expression
 \notes 
{
]]
error: failed files: grace.ly
---

-- 
View this message in context: 
http://www.nabble.com/Not-recognizing-%22%5Cnotes%22%2C-install-problem--tf4583945.html#a13084929
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Not recognizing \notes, install problem?

2007-10-07 Thread David Bobroff

Seumas McX wrote:

Hi,

This is probably something really simple, but I'm trying to compile the
following file and I get a lot of errors (including not recognizing \notes
as a command). I'm guessing it's an installation error and probably
something obvious  - can anyone point me to a fix for this?

Cheers,

Seumas

Install info: Lilypond 2.10.5 installed via synaptic package manager on
Ubuntu 7.04 (Feisty)

File that does compile:
---
{
  c' e' g' e'
}

---
File that doesn't compile:
---

\include bagpipe.ly

\paper {
linewidth = 8.0 \in
raggedright = ##t
}

\score {
 \notes {
\key a \mixolydian
\gGr a4 \gGr b \gGr c
\gGr d \gGr e \gGr f \haGr g
ha4
}
}


I've never done any setting of bagpipe music so I'm not sure what \gGr 
is supposed to do, but I *do* know that the '\notes' syntax was done 
away with a LONG time ago (couple years maybe, not sure how many 
releases, ago).  Perhaps there has been a syntax change in the bagpipe 
definitions.  Are you returning to LilyPond from a long break?


Hope this points you in the right direction.

-David Bobroff


---
Error message for above:
---
grace.ly:10:9: error: unknown escaped string: `\notes'
 
 \notes {

grace.ly:10:9: error: syntax error, unexpected STRING
 
 \notes {

grace.ly:12:16: error: unknown escaped string: `\gGr'

\gGr a4 \gGr b \gGr c
grace.ly:12:16: error: syntax error, unexpected STRING

\gGr a4 \gGr b \gGr c
grace.ly:12:24: error: unknown escaped string: `\gGr'
\gGr a4 
\gGr b \gGr c

grace.ly:12:31: error: unknown escaped string: `\gGr'
\gGr a4 \gGr b 
   \gGr c

grace.ly:13:16: error: unknown escaped string: `\gGr'

\gGr d \gGr e \gGr f \haGr g
grace.ly:13:23: error: unknown escaped string: `\gGr'
\gGr d 
   \gGr e \gGr f \haGr g

grace.ly:13:30: error: unknown escaped string: `\gGr'
\gGr d \gGr e 
  \gGr f \haGr g

grace.ly:13:37: error: unknown escaped string: `\haGr'
\gGr d \gGr e \gGr f 
 \haGr g

grace.ly:10:16: error: errors found, ignoring music expression
 \notes 
{

]]
error: failed files: grace.ly
---





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


Re: Not recognizing \notes, install problem?

2007-10-07 Thread Seumas McX

Thanks for your reply. I realize now that the file grace.ly is quite old. I
am new to Lilypond, so hadn't realized this.

I found a newer version of bagpipe.ly that installed with Lilypond, and see
that most of the command names have changed over the older version of the
file I had. I've managed to edit the file grace.ly to make it produce the
expected output.

-
\include bagpipe.ly

\paper {
linewidth = 8.0 \in
raggedright = ##t
}

\score {
{
\mixolydian
\grg a4 \grg b \grg c
\grg d \grg e \grg f \grA g A
}
}
-

(except for some sharp-signs, ,but those I can track down ...)

Cheers,

Seumas
-- 
View this message in context: 
http://www.nabble.com/Not-recognizing-%22%5Cnotes%22%2C-install-problem--tf4583945.html#a13085979
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: GDP: Rhythms rewrite

2007-10-07 Thread Graham Percival

Miguel Lopes Santos Ramos wrote:

On 7 Oct 2007, at 01:13, Graham Percival wrote:

I've identified the following areas to work on; please add items or =20=
discuss them.


I don't know if this sort of thing is what you're asking for...

For me, the biggest problem is the one which is stated as a Bug in the manual
about the synchronization of grace notes (section 6.5.7 of the manual).


Unfortunately, that it outside the scope of this project.  This is the 
Grand _Documentation_ Project.  The goal of documentation is to 
accurately and clearly describe how to use the program.  I agree that 
grace note synchronization is buggy, but all I can do is document the 
bug and the workaround.


Cheers,
- Graham


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


Re: GDP: Rhythms rewrite

2007-10-07 Thread Graham Percival

Hans Aberg wrote:

On 7 Oct 2007, at 01:13, Graham Percival wrote:

I've identified the following areas to work on; please add items or 
discuss them.


As for the section 6.6, the Harvard Concise Dictionary of Music calls 
it expression marks, which includes tempo and dynamic marks, legato, 
staccato, bowing, articulation phrasing, use of piano pedals, etc.


Err... I'm discussing section 1.2 Rhythms in the GDP docs.  Section 6.6 
is Scheme procedures as properties.  You may see the GDP docs here:

http://opihi.cs.uvic.ca/~gperciva/

We will probably start discussing expressive marks in two weeks, once 
Pitches is finished and Rhythms is almost finished.


Cheers,
- Graham


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


Re: GDP: Rhythms rewrite

2007-10-07 Thread Miguel Lopes Santos Ramos
 Unfortunately, that it outside the scope of this project.  This is the 
 Grand _Documentation_ Project.

Ah!
My mistake. :-)
Perhaps I can help after I finnish this piece.
I know LISP well, but this is a particularly intricate program,
very hard to understand.

See you,
Miguel


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