Re: Wanted: documentation editor

2009-11-19 Thread Frédéric Bron
> - estimated time: 30 minutes a week.  (not counting normal reading
>  of mailists)

Can you say how you do it in 30 minutes because each time I want to
update the NR after a small modification, its 15 to 20 minutes of
compilation...
Do you have a secret to make it quicker?

Frédéric


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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-19 Thread Frédéric Bron
> Didn't you already push it?  It appeared in my git tree, but maybe
> I committed it locally but forgot about it?
>
> If it's already pushed, you'll need to make a new patch against
> master; go ahead and push that.

Hi Graham, I don't think I have write permissions in the git
repository so if it has been pushed it's from Carl.

Frédéric


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


Re: losing information: can anybody write 3 lines of text?

2009-11-19 Thread Marc Hohl

Graham Percival schrieb:

On Sat, Nov 14, 2009 at 05:49:19PM +0100, Marc Hohl wrote:
  

Graham Percival schrieb:


All we need is somebody to write 3 (or maybe 4) lines of text.
Into a text file.  And then send us a patch.
  
  

Is the attached one ok?



Thanks!  It had a few minor formatting issues (@code{} around the
Voice, 

Ups, sorry.

avoid at all costs having text after the music),

I didn't know that either.

 but I
fixed those.
  

Thanks!

Marc

Cheers,
- Graham

  




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


Re: [frogs] Re: cadenza causes barcheck failure?

2009-11-19 Thread Marc Hohl

Valentin Villenave schrieb:

On Tue, Nov 10, 2009 at 8:18 PM, Carl Sorensen  wrote:
  

Could someone volunteer to create a patch to the documentation by adding
this to the Known issues and warnings section of Unmetered music in
rhythms.itely?



In the meantime, I'm CCing to bug- (mostly so I can keep track of it).
  

I sent a patch some time ago to lilypond-devel. Is that patch lost?

Marc



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


Re: Embedded PS graphics into scores

2009-11-19 Thread Patrick McCarty
On 2009-11-19, Jesús Guillermo Andrade wrote:
> Thank you very much Patrick. Although the snippet is not functional
> yet. I tried compiling it using just one variable but to no avail.
> Perhaps something else is missing?

I forgot that I had to change the \version to "2.13.7", since I was
testing with 2.13.7.  Besides that, it compiles fine for me as is.

Can you post the error message?

> BTW. Since I need to create some glyphs that are fundamental for the
> cuatro, and I dont know how to use fontforge, and more to the point,
> have no idea how to create font glyphs to add them to emmentaler,
> the only feasible option would be to create ps graphics to insert
> into the scores

If you want to add glyphs to Emmentaler, you'll have to write them in
Metafont.  You can find the sources in the mf/ directory in the source
code.

-Patrick


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


Re: time signature: 3.5/4

2009-11-19 Thread Kieren MacMillan

Hi Stefan,


Do you have any idea how to do this override stuff?


Lots of examples in the LSR:


Hope this helps!
Kieren.


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


Re: Embedded PS graphics into scores

2009-11-19 Thread Jesús Guillermo Andrade
Thank you very much Patrick. Although the snippet is not functional  
yet. I tried compiling it using just one variable but to no avail.

Perhaps something else is missing?

BTW. Since I need to create some glyphs that are fundamental for the  
cuatro, and I dont know how to use fontforge, and more to the point,  
have no idea how to create font glyphs to add them to emmentaler, the  
only feasible option would be to create ps graphics to insert into the  
scores


Guillermo


El 19/11/2009, a las 02:40 p.m., Patrick McCarty escribió:


Hi,

On 2009-11-19, Jesús Guillermo Andrade wrote:

Thanks Patrick for your advice: Im sending a working minimal example
for your (and everybody's!) consideration. I cannot figure out this
behaviour.  Here it follows:


I removed the "showpage" operator from your Postscript code, and that
solved the problem of extra pages.  I changed the strategy for
variable assignments so that everything works correctly.  The
alignment of the arrows does not look accurate, but hopefully this new
snippet will help you achieve what you're trying to do:

%%% Begin snippet %%%

\version "2.13.8"
%\include "comunes.ily"
%\include "predefined-cuatro-fretboards.ily"
%\include "predefined-strokes.ily"

% Finger stroke symbols
strokeUp = "
/arrowdict 14 dict def
arrowdict begin
   /mtrx matrix def
end

/arrow
 {arrowdict begin
   /headlength exch def
   /halfheadthick exch 2 div def
   /halfthick exch 2 div def
   /tipy exch def  /tipx exch def
   /taily exch def /tailx exch def

   /dx tipx tailx sub def
   /dy tipy taily sub def
   /arrowlength dx dx mul dy dy mul add sqrt def
   /angle dy dx atan def
   /base arrowlength headlength sub def

   /savematrix mtrx currentmatrix def

   tailx taily translate
   angle rotate

   0 halfthick neg moveto
   base halfthick neg lineto
   base halfheadthick neg lineto
   arrowlength 0 lineto
   base halfheadthick lineto
   base halfthick lineto
   0 halfthick lineto
   closepath

   savematrix setmatrix
 end
} def
   newpath
   4 3 4 .9 .9 2 2 .2 sqrt mul 2 div
arrow .65 setgray fill
"

strokeDown = "
  0.3 setlinewidth
  0.5 0   moveto
  0.5 2   lineto
  0.2 1.4 lineto
  0.5 2   moveto
  0.8 1.4 lineto
  stroke
"

%%% NOW COMES THE FILE
\paper{
  %annotate-spacing = ##t
  %after-title-space=20\mm
  indent=0\mm
  line-width=190\mm
  #(set-paper-size "letter")
}

\header {
  tagline = ##f
  title = "Viajera del Río"
  subtitle = "Vals Venezolano"
  composer = \markup {
\column \roman \right-align {"Manuel YÁNEZ"
 \lower #2 \tiny "Transcrito por Jesús G. Andrade."
 \lower #1 \tiny "Conservatorio Vicente E. Sojo."
 \vspace #1
}
  }
  meter = \markup {
\postscript #strokeUp
\postscript #strokeUp
\postscript #strokeDown
\postscript #strokeDown
\postscript #strokeUp
  }
}

%%% HEADER END.

%%% MUSIC PART

melody = \relative c' {
%  \override Score.RehearsalMark #'break-visibility = #begin-of-line- 
invisible

\override Score.RehearsalMark #'font-size = #-2
%  \override MultiMeasureRestText #'self-alignment-X = #DOWN
  \time 3/4
  \clef treble
  \key a \major
  r4 e8 fis\( \times 2/3 {fis\)gis a} %1
  \bar "||"
  gis4 r8 e8 fis gis16 a %2
  }

  \score {
  <<
  \new Voice = "melodia" { \melody }



  %\midi { }
}

%%% End snippet %%%


-Patrick




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


Lilypond incipits

2009-11-19 Thread J.
Hi every one and thank you all again for the advice on the text editors.
If some one can help or point me to documentation in how to make 20 note 
incipits in Lilypond for a large folk song collection I am working to publish 
from the linux computer I have inherited. 
I want to take the opening phrase of each one and create an index which I want 
to print as a work referance and later to incorporate it into the book.
Thank you all in advance.
Jonnie___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Wanted: documentation editor

2009-11-19 Thread Graham Percival
I'm taking care of a few recent doc contributions, but I
**REALLY** want somebody else to do this.  I want to be working on
gub and the build system stuff.  _You_ should want me to be
working on that stuff.

Required tasks for the documentation editor:
- estimated time: 30 minutes a week.  (not counting normal reading
  of mailists)
- if somebody sends a doc patch, don't lose it.  Reply within 3-4
  days with either the task done, or promising them that you have
  the patch and will get to it later.
- check if the patch compiles and conforms to our doc policy.  If
  it doesn't, then either make a fix, or reject the patch.  Up to
  you, your available time, and your mood.
- train your replacement in those duties.  I'm getting really
  maoing tired of training doc people.  Yes, this means that
  you need to stick around for long enough to find+train a
  replacement.


NOT required tasks:
- writing anything yourself
- checking English spelling / grammar / weird ESL speech
- knowing anything about the docs at the moment.  I will, *sigh*,
  train anybody who is willing and seems trustworthy.
- mentoring new doc contributors, explaining anything not clear in
  the Contributor's Guide, etc.


Yes, it would be nice if the doc editor could also do things in
the "not required" list, but I'll settle for just the "required"
things.

- Graham

PS if you sent me a doc patch in the past week, I'm doing them
now, and should reply within an hour.



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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-19 Thread Graham Percival
On Thu, Nov 19, 2009 at 11:45:32PM +0100, Frédéric Bron wrote:
> > Sorry for the delay.  Is the \bar "|." vital for this issue?  If
> > not, policy is to omit it.
> 
> Can be removed. Here is the patch without it.

Didn't you already push it?  It appeared in my git tree, but maybe
I committed it locally but forgot about it?

If it's already pushed, you'll need to make a new patch against
master; go ahead and push that.

Cheers,
- Graham


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


Re: losing information: can anybody write 3 lines of text?

2009-11-19 Thread Graham Percival
On Sat, Nov 14, 2009 at 05:49:19PM +0100, Marc Hohl wrote:
> Graham Percival schrieb:
>> All we need is somebody to write 3 (or maybe 4) lines of text.
>> Into a text file.  And then send us a patch.
>>   
> Is the attached one ok?

Thanks!  It had a few minor formatting issues (@code{} around the
Voice, avoid at all costs having text after the music), but I
fixed those.

Cheers,
- Graham


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


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-19 Thread Frédéric Bron
> Sorry for the delay.  Is the \bar "|." vital for this issue?  If
> not, policy is to omit it.

Can be removed. Here is the patch without it.
Frédéric


0001-known-issue-in-NR-extra-cautionnary-accidentals-in-a.patch
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: modern accidentals rule (was: Re: Bad spacing (gap) when large interval and accidental)

2009-11-19 Thread Graham Percival
On Tue, Nov 17, 2009 at 10:14:33PM +0100, Frédéric Bron wrote:
> >> Could you prepare a patch adding the known behavior and this workaround to
> >> the Known Issues in Displaying pitches in pitches.itely?
> 
> Here is a patch for the Notation Reference.

Sorry for the delay.  Is the \bar "|." vital for this issue?  If
not, policy is to omit it.
(I haven't looked at the actual thread)

Other than that, thanks for the fix!

Cheers,
- Graham


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


Re: Force staff height

2009-11-19 Thread Neil Puttock
2009/11/17 George_ :

> So...erm...how would I go about doing that?

Simply remove the \context block (inside \layout { }) which defines
the Dynamics context; it should look similar to this:

\context {
  \type "Engraver_group"
  \name Dynamics
  \alias Voice
  \consists "Output_property_engraver"
  \consists "Piano_pedal_engraver"
  \consists "Script_engraver"
  \consists "New_dynamic_engraver"
  \consists "Dynamic_align_engraver"
  \consists "Text_engraver"
  \consists "Skip_event_swallow_translator"
  \consists "Axis_group_engraver"

  pedalSustainStrings = #'("Ped." "*Ped." "*")
  pedalUnaCordaStrings = #'("una corda" "" "tre corde")
  \override DynamicLineSpanner #'Y-offset = #0
  \override TextScript #'font-size = #2
  \override TextScript #'font-shape = #'italic
  \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
}

Regards,
Neil


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


Re: Are these results possible with LilyPond?

2009-11-19 Thread Benedikt Hager
Hi Reinhold!

Thanks  a lot for all the advices.

I didn't know that sth like LSR even existed -- so your informations mean a 
huge leap forward for me!

Benedikt

PS: Beste Grüße von der Uni Wien…


On 18.11.2009, at 23:38, Reinhold Kainhofer wrote:

> Am Mittwoch, 18. November 2009 20:01:23 schrieb Kieren MacMillan:
>> Hi Benedikt,
>> 
>> The LSR is your friend!  =)
> 
> The URL is 
> http://lsr.dsi.unimi.it/
> 
>>> A: Bracketed clefs, time signatures and key signatures at the
>>> beginning of a staf or piece.
>>> B, D, E: Bracketed elements of almost any kind within a staf.
>> 
>> 
> 
> Yes, that can be used to bracketify note, rests, articulations, etc.
> http://lsr.dsi.unimi.it/LSR/Item?id=564
> 
> (It's better to give the link to /LSR/Item rathern than /LSR/Snippet, since 
> the former will show the image of the result...)
> 
> Other bracketing functions for other types of objects:
> -) time signature in brackets:
>http://lsr.dsi.unimi.it/LSR/Item?id=169
> -) clefs and key signatures in brackets:
>http://lsr.dsi.unimi.it/LSR/Item?id=647
> 
> -) dynamic marks in parentheses (simply replace ( and ) by [ and ] to get
>square brackets instead):
>http://lsr.dsi.unimi.it/LSR/Item?id=382
> -) brackets around whole passages of music
>http://lsr.dsi.unimi.it/LSR/Item?id=377
> -) brackets in markup:
>http://lsr.dsi.unimi.it/LSR/Item?id=252
> 
> 
> Bracketifying dots (in dotted notes and dotted rests) can be done similarly 
> to 
> clefs/key/time signature. Unfortunately, though, the brackets are not 
> properly 
> aligned and have the wrong height (since the dot's stencil seems to have 
> suboptimal stencil extents...), so the following snippet needs some more love 
> to make it really usable in professional scores:
> 
> dotBracketed = {
>  \once\override Dots #'stencil = #(lambda (grob) (bracketify-stencil
> (ly:dots::print grob) Y 0.1 0.1 0 ))
> }
> \relative c'' {
>  \time 12/8
>  c4. r4. \dotBracketed c4. \dotBracketed r4.
> }
> 
> 
> I think that we should probably collect such functions for critical editions 
> in a critical-edition.ily include file, so they are available in the standard 
> lilypond distribution.
> 
> 
>>> C, F: Struck through elements of any kind
>> 
>> You might want to box the element
>> 
>> 
>> 
>> and then change the box stencil to have a diagonal "strikethrough".
>> This will be more effort than the first, I fear.
> 
> If you only want to strike through one grob (graphical object), then you can 
> define your own function (like the make-stencil-boxer or bracketify-stencil), 
> which simply combines the given stencil with your own created strike-through-
> line.
> 
> However, I suppose that in most cases, you don't want to strike through only 
> one graphical object (one note head or one stem or one dot or one rest or one 
> accidental), but rather a whole group. This problem is harder, and I'm 
> currently not aware of a solution to this problem. (Another complication is 
> that the striken notes should not count towards the measure length / time 
> signature!)
> 
> So, in your example, 
> A is solved, 
> B needs some more tweaking (but is easily possible), 
> C is hard and probably needs some ugly hacks rather than an elegant solution
> D is solved,
> F is solved
> 
> 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



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


Re: time signature: 3.5/4

2009-11-19 Thread James E. Bailey
As a general rule, I would suggest the learning manual, chapter 4  
(and everything else before it) to understand a) how lilypond works,  
and b) how to make changes, i.e., \overrides


On 19.11.2009, at 20:48, stefankaegi wrote:


Do you have any idea how to do this override stuff? Sorry, I have no
clue. Will check out the forum.

Cheers, Stefan

Am Donnerstag, den 19.11.2009, 19:00 +0100 schrieb James E. Bailey:


On 19.11.2009, at 18:27, stefankaegi wrote:


Hi


I'd like to have the time signature "3+1/2 / 4"
(three and a half quarters).


How can I do this?


Thank you for your advice


Best wishes



The easiest way is probably to create a hidden 7/8 time signature,  
and

override the displayed time signature with markup showing what you
want.


If you speak german, there's a german lilypond forum at
www.lilypondforum.de


James E. Bailey









James E. Bailey



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


Re: time signature: 3.5/4

2009-11-19 Thread stefankaegi
Do you have any idea how to do this override stuff? Sorry, I have no
clue. Will check out the forum.

Cheers, Stefan

Am Donnerstag, den 19.11.2009, 19:00 +0100 schrieb James E. Bailey:
> 
> On 19.11.2009, at 18:27, stefankaegi wrote:
> 
> > Hi
> > 
> > 
> > I'd like to have the time signature "3+1/2 / 4" 
> > (three and a half quarters).
> > 
> > 
> > How can I do this?
> > 
> > 
> > Thank you for your advice
> > 
> > 
> > Best wishes
> 
> 
> The easiest way is probably to create a hidden 7/8 time signature, and
> override the displayed time signature with markup showing what you
> want.
> 
> 
> If you speak german, there's a german lilypond forum at
> www.lilypondforum.de
> 
> 
> James E. Bailey
> 
> 
> 
> 
> 



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


Re: Embedded PS graphics into scores

2009-11-19 Thread Patrick McCarty
Hi,

On 2009-11-19, Jesús Guillermo Andrade wrote:
> Thanks Patrick for your advice: Im sending a working minimal example
> for your (and everybody's!) consideration. I cannot figure out this
> behaviour.  Here it follows:

I removed the "showpage" operator from your Postscript code, and that
solved the problem of extra pages.  I changed the strategy for
variable assignments so that everything works correctly.  The
alignment of the arrows does not look accurate, but hopefully this new
snippet will help you achieve what you're trying to do:

%%% Begin snippet %%%

\version "2.13.8"
%\include "comunes.ily"
%\include "predefined-cuatro-fretboards.ily"
%\include "predefined-strokes.ily"

% Finger stroke symbols
strokeUp = "
/arrowdict 14 dict def
arrowdict begin
/mtrx matrix def
end

/arrow
  {arrowdict begin
/headlength exch def
/halfheadthick exch 2 div def
/halfthick exch 2 div def
/tipy exch def  /tipx exch def
/taily exch def /tailx exch def

/dx tipx tailx sub def
/dy tipy taily sub def
/arrowlength dx dx mul dy dy mul add sqrt def
/angle dy dx atan def
/base arrowlength headlength sub def

/savematrix mtrx currentmatrix def

tailx taily translate
angle rotate

0 halfthick neg moveto
base halfthick neg lineto
base halfheadthick neg lineto
arrowlength 0 lineto
base halfheadthick lineto
base halfthick lineto
0 halfthick lineto
closepath

savematrix setmatrix
  end
} def
newpath
4 3 4 .9 .9 2 2 .2 sqrt mul 2 div
arrow .65 setgray fill
"

strokeDown = "
   0.3 setlinewidth
   0.5 0   moveto
   0.5 2   lineto
   0.2 1.4 lineto
   0.5 2   moveto
   0.8 1.4 lineto
   stroke
"

%%% NOW COMES THE FILE
\paper{
   %annotate-spacing = ##t
   %after-title-space=20\mm
   indent=0\mm
   line-width=190\mm
   #(set-paper-size "letter")
}

\header {
   tagline = ##f
   title = "Viajera del Río"
   subtitle = "Vals Venezolano"
   composer = \markup {
 \column \roman \right-align {"Manuel YÁNEZ"
 \lower #2 \tiny "Transcrito por Jesús G. Andrade."
 \lower #1 \tiny "Conservatorio Vicente E. Sojo."
 \vspace #1
 }
   }
   meter = \markup {
 \postscript #strokeUp
 \postscript #strokeUp
 \postscript #strokeDown
 \postscript #strokeDown
 \postscript #strokeUp
   }
}

%%% HEADER END.

%%% MUSIC PART

melody = \relative c' {
%  \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible
\override Score.RehearsalMark #'font-size = #-2
%  \override MultiMeasureRestText #'self-alignment-X = #DOWN
   \time 3/4
   \clef treble
   \key a \major
   r4 e8 fis\( \times 2/3 {fis\)gis a} %1
   \bar "||"
   gis4 r8 e8 fis gis16 a %2
   }

   \score {
   <<
   \new Voice = "melodia" { \melody }
   >>
   %\midi { }
}

%%% End snippet %%%


-Patrick


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


Re: time signature: 3.5/4

2009-11-19 Thread James E. Bailey


On 19.11.2009, at 18:27, stefankaegi wrote:


Hi

I'd like to have the time signature "3+1/2 / 4"
(three and a half quarters).

How can I do this?

Thank you for your advice

Best wishes


The easiest way is probably to create a hidden 7/8 time signature,  
and override the displayed time signature with markup showing what  
you want.


If you speak german, there's a german lilypond forum at  
www.lilypondforum.de


James E. Bailey



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


Re: time signature: 3.5/4

2009-11-19 Thread James E. Bailey


On 19.11.2009, at 18:27, stefankaegi wrote:


Hi

I'd like to have the time signature "3+1/2 / 4"
(three and a half quarters).

How can I do this?

Thank you for your advice

Best wishes


The easiest way is probably to create a hidden 7/8 time signature,  
and override the displayed time signature with markup showing what  
you want.


If you speak german, there's a german lilypond forum at  
www.lilypondforum.de


James E. Bailey



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


Re: time signature: 3.5/4

2009-11-19 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Donnerstag, 19. November 2009 18:27:16 schrieb stefankaegi:
> Hi
> 
> I'd like to have the time signature "3+1/2 / 4"
> (three and a half quarters).
> 
> How can I do this?

How about 7/8?

If you want special beam grouping, you'll need some tweaks.
Also, if you want it to display as 3.5/4, you'll also need some \overrides.

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)

iD8DBQFLBYWlTqjEwhXvPN0RAvwdAJ48ZUuJxhi4PFGe3rPIzSI1GsfTVgCeMdD7
xuMgnOUnhr1w6UBd2VmoBAE=
=7djP
-END PGP SIGNATURE-


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


time signature: 3.5/4

2009-11-19 Thread stefankaegi
Hi

I'd like to have the time signature "3+1/2 / 4" 
(three and a half quarters).

How can I do this?

Thank you for your advice

Best wishes



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


Re: No string for pitch #

2009-11-19 Thread Jesús Guillermo Andrade
Carl: This is a minimal example. I've been trying to write a complete  
implementation of the instrument in lilypond. In fact, my other post  
regarding the inclusion of ps figures inside the pdf output is  
directly related to this work. Getting back to our thread, the warning  
shows even with one predefined chord. But the output is still correct.  
So, what can be the problem causing the warning? Would these frets  
transpose easily? Do I have to break down each chord into its  
components?


\version "2.13.8"
melody = \relative c' {
\override Score.RehearsalMark #'font-size = #-2
  \time 3/4
  \clef treble
  \key a \major
  r4 e8 fis\( \times 2/3 {fis\)gis a} %1
  \bar "||"
  gis4 r8 e8 fis gis16 a %2
  }
%%% CHORDS!
cuatrotuning = #'(11 18 14 9)
%%  C chords
\storePredefinedDiagram \chordmode {e:7}
#cuatrotuning
#"2-2;o;2-2;o;"
harmonies = \chordmode {
  e2.:7 %a2.:maj7 c2.:dim   a2.:maj7 cis2.:min7
}

\score {
  <<
  \new ChordNames {
  \override ChordName #'font-size = #-1
  \set chordChanges = ##t
  \harmonies
}
  \new FretBoards {
  \set stringTunings = #cuatrotuning
  \override FretBoard
#'(fret-diagram-details string-count) = #'4
  \override FretBoard
#'(fret-diagram-details finger-code) = #'in-dot
  \harmonies
}
  \new Voice = "melodia" { \melody }
  >>
}


I really hope this can help to shed some light into the problem.

Thanks!


Guillermo


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


Re: No string for pitch #

2009-11-19 Thread Carl Sorensen



On 11/19/09 5:59 AM, "Jesús Guillermo Andrade" 
wrote:

> David:
> El 18/11/2009, a las 02:51 a.m., David Kastrup escribió:
> 
>> Sounds like Lilypond is running out of strings for the given chords.
>> Just a wild guess.
> 
> Yes.. it is kind of shocking right?. But fact is that the notes listed
> by lilypond, I have surmised, are part of the chords I have already
> specified using this method:
> 
> %(define-public cuatro-tuning '(4 -1 -5 -10 -15 -20))
> cuatrotuning = #'(11 18 14 9)
> %%  C chords
> 
> \storePredefinedDiagram \chordmode {c}
>  #cuatrotuning
>  #"3-3;2-2;1-1-(;1-1-);"
> \storePredefinedDiagram \chordmode {c:7}
>  #cuatrotuning
>  #"1-1-(;2-2;;1-1-);"

Have you tested this terse-mode string to make sure it works properly?  I'm
not positive what the behavior of the fret-diagram code is given a missing
fret number for a string.  I suppose it should default to 0, but I'm not
positive it does.  And right now my time is limited so I can't test it for a
few days.

> 
> Then, after storing several chords of the same id as before (i.e. c, c:
> 7 etc) in the harmonies variable, I used this form to make the
> conversion into good frets:
> 
>   \new FretBoards {
>\set stringTunings = #cuatrotuning
>\override FretBoard
>  #'(fret-diagram-details string-count) = #'4
>\override FretBoard
>  #'(fret-diagram-details finger-code) = #'in-dot
>\harmonies
> }
> 
> So... the only thing that comes to my mind is that lilypond, somehow,
> constructs these chords as it sees fit (in terms of octave placement)
> then checks if all notes CAN or COULD be played by the strings. if the
> pitch is out of range, then it prints the warning. All that said,
> though, it should be possible to force lilypond into not going up, but
> down the neck of the instrument.
> Now: any ideas?

Somehow the chord you are calling is not one of the predefined diagrams,
perhaps because the octave is wrong.  The predefined diagrams are octave
specific; if the music is more than an octave away from the predefined
diagrams, the predefined diagram will not be used.

If the chord is one of the predefined diagrams, the code that creates the
error message you have seen is never used.

The error message you have seen is caused when LilyPond is trying to
calculate its own fret diagram based on the pitches.

If you will get a minimal example (e.g. one chord) that shows the problem,
then I will be able to figure out what's going on.

HTH,

Carl



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


Re: [frogs] Re: cadenza causes barcheck failure?

2009-11-19 Thread Valentin Villenave
On Tue, Nov 10, 2009 at 8:18 PM, Carl Sorensen  wrote:
> Could someone volunteer to create a patch to the documentation by adding
> this to the Known issues and warnings section of Unmetered music in
> rhythms.itely?

In the meantime, I'm CCing to bug- (mostly so I can keep track of it).

> On 11/10/09 7:46 AM, "Mats Bengtsson"  wrote:
>
>> It seems that you have to explicitly create a Voice context when you
>> start a piece with \cadenzaOn:
>>
>> \include "english.ly"
>> \new Voice \relative c'{
>>     \cadenzaOn
>>     c16^"Solo Free Time" d ef f g2. as4 gs g32 gs g8~ g1 g4 f16 ef d f d
>> ef c4 ef8 c16 d g,1 \bar "" c16 d ef f g2 g \glissando g' g16 f ef d c b
>> a g f e d c4 b2 e b16 e b1 \bar "||"
>>     \cadenzaOff
>> }
>>
>> There are a few situations like these, where you explicitly have to
>> create a context since LilyPond isn't able to figure out the right thing
>> to do itself. I got the clue to this solution by looking at the log
>> printouts from LilyPond, which included the line
>> warning: cannot find or create `Timing' called `'
>> Of course, you have to be a LilyPond nerd to have any idea of what the
>> warning means, though.
>> You could just as well have done \new Staff instead of \new Voice.
>>
>>      /Mats
>>
>> chip wrote:
>>> Thankyou for the reply - why is it that when I remove the " c1 | "
>>> from the beginning and end of your corrected example I then get bar
>>> lines throughout the cadenza? I don't want those c1's, they're not
>>> part of the piece. Do I have to do some override to make the bar lines
>>> invisible? Isn't that part of what \cadenza does (more or less)?
>>> I don't understand why a \cadenza section, a completely free-form
>>> unmetered cadenza, is causing problems with the other parts. My piece
>>> is made up of 7 instrument parts. I've added the entire piece at the
>>> bottom of this message.
>>> (Oh, btw, there are no forced bar checks anywhere in my piece, so I
>>> don't understand why I would get the failure.)
>>> Thanks again,
>>> Chip
>>>
>>> Mats Bengtsson wrote:


 chip wrote:
> why would a
>
>     \cadenzaOn
>     c16^"Solo Free Time" d ef f g2. as4 gs g32 gs g8~ g1 g4 f16 ef d
> f d ef c4 ef8 c16 d g,1 \bar "" c16 d ef f g2 g \glissando g' g16 f
> ef d c b a g f e d c4 b2 e b16 e b1 \bar "||"
>     \cadenzaOff
>
> cause a bar check failure?
 It doesn't, at least not by itself! You can only get bar check
 failures if you have bar checks, i.e. if you have inserted a | where
 you expect the bar line to happen. I tried to turn your incomplete
 example into something that can be ran directly in LilyPond, like
 \version "2.12.0"
 \include "english.ly"
 \relative c'{
 c1 |
    \cadenzaOn
    c16^"Solo Free Time" d ef f g2. as4 gs g32 gs g8~ g1 g4 f16 ef d f
 d ef c4 ef8 c16 d g,1 \bar "" c16 d ef f g2 g \glissando g' g16 f ef
 d c b a g f e d c4 b2 e b16 e b1 \bar "||"
    \cadenzaOff
 c1 |
 }
 and I don't see any bar check failures. It's much much easier to
 provide relevant answers to a question like this if you include a
 complete (but small) example of an .ly file that illustrates your
 problem.

    /Mats
>>> % LilyPond
>>> \include "english.ly"
>>> \version "2.12.2"
>>>
>>> \header{
>>>    title = "Como"
>>>    composer = ""
>>>    arranger = ""
>>> }
>>> global = { \time 4/4
>>>  #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
>>>  #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
>>>  #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
>>>  %\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
>>>  %\override Score.BarNumber #'break-visibility = #end-of-line-invisible
>>>  %\override Score.BarNumber #'self-alignment-X = #-1
>>>  \override Glissando #'thickness = #3
>>>  \override Glissando #'style = #'zigzag
>>>  \override Glissando #'minimum-length = #6
>>>  \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
>>>  \override MultiMeasureRest #'expand-limit = 1
>>>  \set Score.skipBars = ##t
>>>  \numericTimeSignature
>>> }
>>> % This setup should give me the maximum usable staffs per page %
>>> \paper {
>>> top-margin = 0.1\cm
>>> page-top-space = 0.1\cm
>>> ragged-bottom = ##t
>>> left-margin = 20\mm
>>> line-width = 175\mm
>>> }
>>>
>>> % This script sets the 'footer' of the last page to show the
>>> current date %
>>> tagline = \markup {
>>>      \simple #(strftime "%b %d, %Y" (localtime (current-time)))
>>>       \with-url #"http://lilypond.org/web/";
>>>      { LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
>>> }
>>>
>>> Baritone = \transpose d b
>>>    \relative c' {
>>>     \clef treble \global \key d \major
>>>    <<{\cadenzaOn
>>>    s1*8_\markup { \halign #-0 "Alto Sax Intro" } s2. \bar "||"
>>>    \cadenzaOff}{r1 \fermata}>>
>>> e8 d r4 r8 b e d
>>> e d r4 r e8 d
>>> d2 cs
>>> a16 g a b cs b cs d e2
>>> d8 cs r4 r8 cs d cs
>>> d cs r d 

Re: No string for pitch #

2009-11-19 Thread Jesús Guillermo Andrade

David:
El 18/11/2009, a las 02:51 a.m., David Kastrup escribió:


Sounds like Lilypond is running out of strings for the given chords.
Just a wild guess.


Yes.. it is kind of shocking right?. But fact is that the notes listed  
by lilypond, I have surmised, are part of the chords I have already  
specified using this method:


%(define-public cuatro-tuning '(4 -1 -5 -10 -15 -20))
cuatrotuning = #'(11 18 14 9)
%%  C chords

\storePredefinedDiagram \chordmode {c}
#cuatrotuning
#"3-3;2-2;1-1-(;1-1-);"
\storePredefinedDiagram \chordmode {c:7}
#cuatrotuning
#"1-1-(;2-2;;1-1-);"

Then, after storing several chords of the same id as before (i.e. c, c: 
7 etc) in the harmonies variable, I used this form to make the  
conversion into good frets:


 \new FretBoards {
  \set stringTunings = #cuatrotuning
  \override FretBoard
#'(fret-diagram-details string-count) = #'4
  \override FretBoard
#'(fret-diagram-details finger-code) = #'in-dot
  \harmonies
}

So... the only thing that comes to my mind is that lilypond, somehow,  
constructs these chords as it sees fit (in terms of octave placement)  
then checks if all notes CAN or COULD be played by the strings. if the  
pitch is out of range, then it prints the warning. All that said,  
though, it should be possible to force lilypond into not going up, but  
down the neck of the instrument.

Now: any ideas?



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


Re: Embedded PS graphics into scores

2009-11-19 Thread Jesús Guillermo Andrade
Thanks Patrick for your advice: Im sending a working minimal example  
for your (and everybody's!) consideration. I cannot figure out this  
behaviour.  Here it follows:

\version "2.13.8"
%\include "comunes.ily"
%\include "predefined-cuatro-fretboards.ily"
%\include "predefined-strokes.ily"

% Finger stroke symbols
strokeUp = \markup { \postscript #"
/arrowdict 14 dict def
arrowdict begin
   /mtrx matrix def
end

/arrow
 {arrowdict begin
   /headlength exch def
   /halfheadthick exch 2 div def
   /halfthick exch 2 div def
   /tipy exch def  /tipx exch def
   /taily exch def /tailx exch def

   /dx tipx tailx sub def
   /dy tipy taily sub def
   /arrowlength dx dx mul dy dy mul add sqrt def
   /angle dy dx atan def
   /base arrowlength headlength sub def

   /savematrix mtrx currentmatrix def

   tailx taily translate
   angle rotate

   0 halfthick neg moveto
   base halfthick neg lineto
   base halfheadthick neg lineto
   arrowlength 0 lineto
   base halfheadthick lineto
   base halfthick lineto
   0 halfthick lineto
   closepath

   savematrix setmatrix
 end
} def
   newpath
   4 3 4 .9 .9 2 2 .2 sqrt mul 2 div
arrow .65 setgray fill
showpage
"}

strokeDown = \markup { \postscript #"
  0.3 setlinewidth
  0.5 0   moveto
  0.5 2   lineto
  0.2 1.4 lineto
  0.5 2   moveto
  0.8 1.4 lineto
  stroke
"}

%%% NOW COMES THE FILE
\paper{
  %annotate-spacing = ##t
  %after-title-space=20\mm
  indent=0\mm
  line-width=190\mm
  #(set-paper-size "letter")
}

\header {
  tagline = ##f
  title = "Viajera del Río"
  subtitle = "Vals Venezolano"
  composer = \markup {
\column \roman \right-align {"Manuel YÁNEZ"
 \lower #2 \tiny "Transcrito por Jesús G. Andrade."
 \lower #1 \tiny "Conservatorio Vicente E. Sojo."
 \vspace #1
}
  }
  meter = \markup {\strokeUp \strokeUp \strokeDown \strokeDown  
\strokeUp}

}

%%% HEADER END.

%%% MUSIC PART

melody = \relative c' {
%  \override Score.RehearsalMark #'break-visibility = #begin-of-line- 
invisible

\override Score.RehearsalMark #'font-size = #-2
%  \override MultiMeasureRestText #'self-alignment-X = #DOWN
  \time 3/4
  \clef treble
  \key a \major
  r4 e8 fis\( \times 2/3 {fis\)gis a} %1
  \bar "||"
  gis4 r8 e8 fis gis16 a %2
  }

  \score {
  <<
  \new Voice = "melodia" { \melody }
  >>
  %\midi { }
}


Thanks for your input.

Guillermo

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


Re: Problems with jail mode

2009-11-19 Thread Valentin Villenave
On Thu, Nov 19, 2009 at 10:47 AM, Bertalan Fodor (LilyPondTool)
 wrote:
> And I get this:
> GS exited with status: 32512

That's very strange.
Added as
http://code.google.com/p/lilypond/issues/detail?id=906

Cheers,
Valentin


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


Re: Problems with jail mode

2009-11-19 Thread Bertalan Fodor (LilyPondTool)

That wasn't exact. I use this:

sudo /usr/share/bin/lilypond --verbose -fps -dbackend=eps 
-jlily,lily,/mnt/lilyloop,/lilyhome --png test.ly


And I get this:

Converting to PNG...[test.eps]Invoking `gs  -dEPSCrop 
-dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dNOPAUSE -sDEVICE=png16m 
-sOutputFile="./test.png" -r101 "test.eps" -c quit'...

GS exited with status: 32512

Bertalan Fodor (LilyPondTool) wrote:

That doesn't matter, I'm already logged in as root.

So the command I'm using is:

/usr/share/lilypond/usr/bin/lilypond 
-jlily,lily,/mnt/lilyloop,/lilyhome test.ly


Bert

Valentin Villenave wrote:

On Thu, Nov 19, 2009 at 8:39 AM, Bertalan Fodor  wrote:
  

Yes, i already do that. The ps file is created, only ghostscript tells this 
cryptic message. Strace didn't help to find out.



Interesting. What if you don't invoke lilypond using sudo, but su?
Does this still happen?
(e.g. using `sudo bash' and then invoking lilypond, if your system
doesn't support a proper root account -- I *hate* sudo)

Valentin

  




___
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: Problems with jail mode

2009-11-19 Thread Bertalan Fodor (LilyPondTool)

That doesn't matter, I'm already logged in as root.

So the command I'm using is:

/usr/share/lilypond/usr/bin/lilypond -jlily,lily,/mnt/lilyloop,/lilyhome 
test.ly


Bert

Valentin Villenave wrote:

On Thu, Nov 19, 2009 at 8:39 AM, Bertalan Fodor  wrote:
  

Yes, i already do that. The ps file is created, only ghostscript tells this 
cryptic message. Strace didn't help to find out.



Interesting. What if you don't invoke lilypond using sudo, but su?
Does this still happen?
(e.g. using `sudo bash' and then invoking lilypond, if your system
doesn't support a proper root account -- I *hate* sudo)

Valentin

  


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


Re: Embedded PS graphics into scores

2009-11-19 Thread Patrick McCarty
Hi,

On 2009-11-17, Jesús Guillermo Andrade wrote:
> Any clues as to what can I do to get rid of this erroneous
> behaviour?  I appreciate your patience.

Try removing the "showpage" operator.  That might be what is causing
extra page(s) to appear.

By the way, it's *extremely* helpful to send examples that we can
copy/paste and compile without having to comment things out or add
\version lines.  For example, I had to comment out \strokeDown, since
it is undefined based on the information sent to the list.

Thanks,
Patrick


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