Help

2024-03-02 Thread George
Hi, I congratulate you on your excellent creation. I am glad that it is
still accessible to those who are passionate but without money. I would
like to know if your program can export as Picture and PDF. Thank you.
George


"Squished" tie between 2 notes

2024-02-11 Thread George
At the moment I am having an issue with a tie from the alto part where it
is automatically "squished" by Lillypond. I didn't find an answer anywhere
else on how to create some space between or make the tie somewhat
noticeable. Also using the command* \shape* on the tie was not the right
choice this time (which I successfully used on some colliding ties
somewhere else in the piece).

This is how it looks in the original source:
[image: tie.png]
and this is how Lilypond engraved it (notice the tie became a very little
dot):
[image: bar 78 lily.png]
Here is the relevant part of my code (I include one measure before and one
after to preserve the layout) :
_
\version "2.24.3"


global = { \time 4/4 \key a \minor }


soprano = \relative d'' {
  \voiceOne
d8 c16 b d c b a b2~ |
8 gis a4~ 16 b c8~ 16 a fis! b |
a gis fis e a8 a~ 16 gis a fis gis8.^\trill a16

}

alto = \relative e' {
  \voiceTwo

e4 a2 gis8. b16 |
e,4~ 8 dis16 e fis8  r16 fis~  8 8|
e4~ 16 e fis! dis e2 |

}


tenor = \relative g {
  \voiceOne
r8 gis a c f, d' b d~|
8 b c4~ 8 r8  a b |
c2 b |

}

bass = \relative c, {
  \voiceTwo

c8 r r f' d16 e f8~ 16 d b d |
c d e8~ 16 c a c dis,4 r8 dis' |
e1 |
}

\score {
  \new PianoStaff <<

\new Staff = "up" <<
  \global
  \clef "treble"
  \new Voice = "soprano" { \soprano }
  \new Voice = "alto" { \alto }
>>

\new Staff = "down" <<
  \global
  \clef "bass"
  \new Voice = "tenor" { \tenor }
  \new Voice = "bass" { \bass }
>>

  >>

  \layout {
    \context {
  \Score
  \override SpacingSpanner.common-shortest-duration = #(ly:make-moment
1/8 )
}
  }
}

I would really appreciate your help.

Best,
George


Rest space in between fugue's voices

2024-02-10 Thread George
Hi everyone,

Currently, I am transcribing Bach's *Fantasia and Fugue in a minor* (BWV
904), but I am dealing with a rest collision between the fugue voices on
measure 69. Specifically, on the 4th beat I have not found a way to give
distance between the *a'* from the alto and the 16th rest from the tenor. I
have tried to override it using *NoteColumn.force-hshift* but it doesn't
move the *a**'* in the alto to the left at all or the rest in the tenor to
the right (or its subsequent 16th notes). The best I have done is using*
Rest.extra-offset = #'(0.5 . -1)* on the tenor, but it really does not give
a satisfactory space between the voices, and the subsequent 16th notes in
the tenor remain still.  Here it is a picture from the original source and
how it should look:
[image: bar 69.png]
and this is how it looks on lilypond without any modification:

[image: bfar 69 lily.png]

And here I include an excerpt from my code (I colored the voices for an
easier view):
_
\version "2.24.3"


global = { \time 4/4 \key a \minor }


soprano = \relative f'' {
  \voiceOne

\override NoteColumn.force-hshift = #-1 \shape #'((0 . 2) (0 . 2.5) (0 .
2.5) (0 . 2)) Tie  \override Beam.color = #darkgreen \override
NoteHead.color = #darkgreen \override Stem.color = #darkgreen
f4~ 16 a g f  e4 f |
\shape #'((0 . 2) (0 . 2.5) (0 . 2.5) (0.8 . 2)) Tie g~
\once \override Dots.extra-offset = #'(-1.3 . 0)
g8. f16 \revert NoteColumn.force-hshift  e4 r4 |
s4
}

alto = \relative e'' {
  \voiceTwo

\stemUp \tieDown \override NoteHead.color = #blue \override Stem.color =
#blue \override Beam.color = #blue
e16 e d cis d4~ 16 b cis! e~ 16 cis d f~ |
16 d e cis a cis d8 \stemDown \once \override Beam.positions = #'(-3 .
-3.5) e16 d cis b! \tieUp  a4~  |
a4
}


tenor = \relative d' {
  \voiceOne

\change Staff = "up" \stemDown \tieDown \override NoteHead.color = #red
\override Stem.color = #red \override Beam.color = #red \override
Rest.color = #red
d8 e f d a'4 b,8\rest d |
bes'4 b,8\rest d  \once \override NoteColumn.force-hshift = #0.4 a'4
e16\rest g f e   |
\stemUp \tieUp d e f d
}

bass = \relative d {
  \voiceTwo

d8 r r4 r2 |
r4 d cis c! |
b
}

\score {
  \new PianoStaff <<

\new Staff = "up" <<
  \global
  \clef "treble"
  \new Voice = "soprano" { \soprano }
  \new Voice = "alto" { \alto }
>>

\new Staff = "down" <<
  \global
  \clef "bass"
  \new Voice = "tenor" { \tenor }
  \new Voice = "bass" { \bass }
>>

  >>

  \layout {
\context {
  \Score
  \override SpacingSpanner.common-shortest-duration = #(ly:make-moment
1/8 )
}
  }
}

Any suggestions please? Thanks in advance


Create staff for Congas

2016-03-25 Thread George
I'd like to notate a congas part in one of my lilypond scores,
and I found the official lilypond documentation for doing so:

http://www.lilypond.org/doc/v2.16/Documentation/notation/common-notation-for-
percussion#percussion-staves

However, even with the aid of the docs, I don't know how to create a conga 
staff.

I'm struggling to understand:
"set the property drumStyleTable in context DrumVoice"

Please, can someone post an example conga part they created?

Any help will be much appreciated!

Thank you all,
George


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


HELP: Trill line without 'tr' written before it

2016-03-16 Thread George
If you'd like a detailed explanation
of my problem you can have a look
at the question I posted here:
http://bit.ly/1WpUjqA

I am trying to create a zig-zagged line after a note head,
currently I am using this code:

\version "2.18.2"
\new DrumStaff \with {
  instrumentName = #"Güiro "
  shortInstrumentName = #"Guir. "
}
{
  \stopStaff
  \override Staff.StaffSymbol.line-count = #1
  \startStaff
  \override NoteHead.style = #'cross
  r4 c4\startTrillSpan e8\stopTrillSpan c8 c4 |
}

but this creates a trill line above the note
(I'd like it to appear on the stave) with 'tr' written before it 
(I'd like the zig-zag line to appear directly
after the note head, with no extra text, 
just the line.)

How can I accomplish this?

Thank you very much for your swift response,
George
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Moving notes re: text within markup

2012-08-05 Thread George Xu
I'm writing a work that has both scores and text, as well as music 
embedded within the text. For part of this, I want to put in notes 
without a staff, clef, or time signature, like so:


\markuplines {
\vspace #2
\justifiedlines
{ ...[text]...semiquavers and demisemiquavers are to be played in some 
such ways as \score { { \stemDown d''16( f'') d''-. d''-. } \layout {  
\context { \Staff \remove "Time_signature_engraver" \remove 
"Staff_symbol_engraver" \remove "Clef_engraver" fontSize = #-3 \override 
StaffSymbol #'staff-space = #(magstep -3) \override StaffSymbol 
#'thickness = #(magstep -3) } } } and \score { { b''32( b'' b'' b'') 
b''-. b''-. b''-. b''-. } \layout {  \context { \Staff \remove 
"Time_signature_engraver" \remove "Staff_symbol_engraver" \remove 
"Clef_engraver" fontSize = #-3 \override StaffSymbol #'staff-space = 
#(magstep -3) \override StaffSymbol #'thickness = #(magstep -3) } } } 
and...[more text]... }

}

I've attached what it looks like at the moment.

I was wondering it I could move the notes up and to the left; even 
though I've removed the time signature and clef, the notes don't move to 
fill in the space they left behind - as you can see in the picture, 
they're just sitting way out to the right.


I've looked through the docs but can't find anything that may be helpful 
here. Thanks in advance!


George
<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Footnotes documentation

2011-11-30 Thread George Xu
Oops, sorry. 2.14.2. I guess that explains why \auto-footnote doesn't work,
but it doesn't help much...

Thanks

George

On 1 December 2011 09:16, m...@apollinemike.com wrote:

> On Nov 30, 2011, at 9:08 PM, George_ wrote:
>
> >
> > I'm confused by what the notation reference has to say about footnotes:
> >
> > http://lilypond.org/doc/v2.15/Documentation/notation/other
> >
> > Regarding the example for \auto-footnote and \footnote (they are
> identical -
> > why?), where do the 'b' and 'd' go? The text says that \auto-footnote
> means
> > "The footnote will be annotated automatically" (I don't understand what
> this
> > means either), whereas for \footnote this is not the case. But using
> > \auto-footnote gives me an error saying the \auto-footnote is an unknown
> > escaped string.
> >
> > For example:
> >
> > \markup { \auto-footnote "one" "two" }
> >
> > prints "auto-footnote one two"
> >
> > and
> >
> > \markup { \footnote "one" "two" }
> >
> > prints "one" with no footnote.
> >
> > I don't care at this point whether the note is a footnote or endnote,
> I'll
> > be happy with either - preferably a footnote, but given that I can't get
> it
> > to print anything, even a working endnote would be an improvement.
>
> Hey George,
>
> What version of LilyPond are you using?
>
> Cheers,
> MS
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Trying to generate small musical excerpts

2006-09-25 Thread George
Hi,

I would like to generate some smaller musical excerpts using lilypond. Currently
I can do this by calling lilypond-book and picking the .eps files out of the
directory, but I would like to find a way to generate them exactly. I'm
wondering how lilypond-book does it. Does anyone know?

Thanks



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


midi2ly.py

2005-11-11 Thread george
When there are gaps between notes on the incoming midi file, the output 
is an appropriately sized 's' as in 's8'.  With a single voice this 
creates short measures.  I can see that this feature can be useful in 
polyphonic scores where one part drops out for some measures.  My work 
around is to change 's8' to 'r8'.


george



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


Running midi2ly.py

2005-11-11 Thread george
Thanks for the help. 

Apparently my problem stemmed from downloading development code instead 
of stable code.


With the stable version mid2ly.py works. 


george



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


Re: Running midi2ly.py

2005-11-09 Thread george

I'm using lilypond-2.7.12-1
on Windows XP

Mats Bengtsson wrote:


You will get much more useful help from the mailing list if you
tell which LilyPond version you use and on which operating system.

  /Mats

George wrote:


I tried:
 
>python midi2ly.py test.mid
 
and got:

Traceback (most recent call last):
  File "midi2ly.py", line 42, in ?
import midi
ImportError: No module named midi
 
This problem seems to have been reported before, but I haven't found 
a resolution.
 
Help please,
 
a lilypond newbie.
 
george




___
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


Running midi2ly.py

2005-11-09 Thread George



I tried:
 
>python midi2ly.py test.mid
 
and got:
Traceback (most recent call last):  File 
"midi2ly.py", line 42, in ?    import midiImportError: No 
module named midi
 
This problem seems to have been reported before, 
but I haven't found a resolution.
 
Help please,
 
a lilypond newbie.
 
george
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Midi input

2005-01-26 Thread George Whitfield



I am trying to convert a midi file into a printable score using Lilypond 
2.4 in Windows XP.
 
Do I have to use the Cygwyn Bash Shell or is it possible to write a .ly 
routine in my text editor?  Whichever, I would be grateful if you could 
show me an example as clarification.  I have tried invoking midi2ly in the 
Cygwin Bash Shell but keep getting error messages.
 
Regards
 
George Whitfield 
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Piano flash cards

2004-11-07 Thread George Geller
How hard would it be to make lilypond output piano flash cards for
beginning students?  The cards will print six to an 8 1/2 by 11 inch
page and show the treble and bass clefs with a single note or maybe a
chord or interval.

I haven't found where to set the page size in lilypond or how to combine
a number of "documents" to print on a single page.

I'm a good programmer, so I could modify the code if need be.

Thanks, George




___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: documentation, collisions, and context help

2002-05-16 Thread George Orwell


Ah.  Got it.

Yes, I read through the tutorial, but did not "work through" it- I read it 
and afterwards used it for reference rather than trying to create my own 
versions of each example concept.

The whole system becomes much clearer if thought of as a programming system 
rather than a music-entry system.  I can anticipate what I need to do now to 
get particular music features to appear, because I understand what context 
is and basically how the internal algorithms "think".  But if approached 
from a "do what I expect" usability perspective, one has to do some work 
before really getting a handle on the system.

I would like to put a plug in for "stupid mode" (sorry, a better word fails 
me now) that tries to work around things like the start-with-chord feature 
and/or warns a user if they're about to run into that sort of problem.  The 
chord feature for example is very consistent with the internal algorithm but 
not with apparent behavior, and so wastes your time a lot : ).
Has anything like that ever been thought about?  Should I put any work into 
it?

Thanks again,
Hans


>From: Han-Wen Nienhuys <[EMAIL PROTECTED]>
>To: "George Orwell" <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: documentation, collisions, and context help
>Date: Thu, 16 May 2002 12:21:42 +0200
>
>[EMAIL PROTECTED] writes:
> > 
>http://www.lilypond.org/stable/Documentation/user/out-www/lilypond/Context-properties.html
> > seems to imply that "Properties that are set in one context are 
>inherited by
> > all of the contained contexts."
> >
> > But I have not found this to be true.  For example,
> > \property Voice.NoteColumn \override #'force-hshift = #1.0
> >  < e f g > < c d e >
> > does what I want it to (collision detection on the seconds)
> >
> > but
> > \property Staff.NoteColumn \override #'force-hshift = #1.0
> >  < e f g > < c d e >
> > does not.
> >
> > Could someone clarify what that documentation means?
>
>You're bumping into something else. Perhaps the manual should state
>more clearly, in flashing neon:
>
>  USE EXPLICIT \context IF YOU START A PIECE WITH A CHORD!
>
>In the former case, the \property Voice make sure that the < > goes
>into a voice. In the latter, you get three stems and 3 note heads, in
>overprint. The force-hshift value hasn't got anything to do with it.
>
> > Finally, I am now comfortable with the layout of the site and the
> > terminology involved, but it was VERY time consuming (lots of 
>unnecessary
> > websearching, because I didn't know where to look within the site) to 
>learn
> > to use the non-note-entry parts of lilypond.  Clearer pointers to (for
> > example) \property syntax, why exactly you should care what a Grob is, 
>and
> > more examples of "weird" examples (rather than just "larger" as are 
>found on
> > the complex examples page) would be wonderful.
>
>ok. thanks for the tips -- we'll look into it. One question though:
>did you work through the tutorial from start to end, or did you simply
>dive in?
>
>--
>
>Han-Wen Nienhuys   |   [EMAIL PROTECTED]| http://www.cs.uu.nl/~hanwen/
>

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



documentation, collisions, and context help

2002-05-15 Thread George Orwell


Hi-
A few documentation and collision questions-
The documentation at
http://www.lilypond.org/stable/Documentation/user/out-www/lilypond/Context-properties.html
seems to imply that "Properties that are set in one context are inherited by 
all of the contained contexts."

But I have not found this to be true.  For example,
\property Voice.NoteColumn \override #'force-hshift = #1.0
 < e f g > < c d e >
does what I want it to (collision detection on the seconds)

but
\property Staff.NoteColumn \override #'force-hshift = #1.0
 < e f g > < c d e >
does not.

Could someone clarify what that documentation means?

Also, not to be picky, but it seems "standard" typesetting behavior to do 
this kind of "collision avoidance" (i.e. reverse which side of the stem a 
note is when dealing with seconds)- why is it not the default for lilypond, 
as this kind of collision behavior is obviously well supported?

Finally, I am now comfortable with the layout of the site and the 
terminology involved, but it was VERY time consuming (lots of unnecessary 
websearching, because I didn't know where to look within the site) to learn 
to use the non-note-entry parts of lilypond.  Clearer pointers to (for 
example) \property syntax, why exactly you should care what a Grob is, and 
more examples of "weird" examples (rather than just "larger" as are found on 
the complex examples page) would be wonderful.

On the whole, though, great work!

Thanks,
Hans


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user