lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond-user Digest, Vol 152, Issue 74


From: Brother Gabriel-Marie
Subject: Re: lilypond-user Digest, Vol 152, Issue 74
Date: Tue, 21 Jul 2015 15:22:03 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1

Malte,

Okay, that does work for suppressing the key signatures in the latter staves, but I start my melody with a \partial 8 and the spacer throws off the count.

So I took that line:
\omit Staff.KeySignature

and threw it in after the leading note in the melody and it worked!

As it turns out, that's all I had to do in the first place.
Let the signature print the first time and *then* disable it.

Thanks!

On 7/21/2015 2:56 PM, address@hidden wrote:
Send lilypond-user mailing list submissions to
	address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.gnu.org/mailman/listinfo/lilypond-user
or, via email, send a message with subject or body 'help' to
	address@hidden

You can reach the person managing the list at
	address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lilypond-user digest..."


Today's Topics:

   1. Re:CueVoice related display problem (Menu Jacques)
   2. Re:Problem with merging notes and accidental placement in two
      voices (Simon Albrecht)
   3. Re:Attachment size (Malte Meyn)
   4. Re:Key Signature only on first staff (Brother Gabriel-Marie)
   5. Re:Key Signature only on first staff (Malte Meyn)
   6. RE:Attachment size (Stephen MacNeil)


----------------------------------------------------------------------

Message: 1
Date: Tue, 21 Jul 2015 21:24:28 +0200
From: Menu Jacques <address@hidden>
To: David Kastrup <address@hidden>
Cc: Menu Jacques <address@hidden>, lilypond-user
	<address@hidden>
Subject: Re: CueVoice related display problem
Message-ID: <address@hidden>
Content-Type: text/plain; charset=windows-1252

Hello David,

Thanks for your help!

I?ll look more into \cueDuring, but this solution is already fine.

JM

Le 21 juil. 2015 ? 19:19, David Kastrup <address@hidden> a ?crit :

Menu Jacques <address@hidden> writes:

Hello folks,

How can I get the rests parallel to the CueVoice to be as in the
attached PNG image, i.e right below the staff?
Well, there is a bit more manual work involved than I like (if your
quoted Voice is placed in a music quote, \cueDuring will take some of
that work away), but you can use something like

\version "2.19.22"

\relative {
 \clef "alto"
 \key d \major
 \time 2/4

 a16 ( [ cis16 a16 cis16 ) ] a8 -. r8 | % 232
 R2*2

 <<
   \new Voice { \voiceTwo
     R2 R2 R2 \tweak staff-position #-6 R2
     \cueClefUnset
   }
   \new CueVoice {
     \set instrumentCueName = "Fl?te"
     \cueClef "treble"
     \relative {
       a'8 -. [ a8 -. a8 -. a8 -. ] | % 234
       a4. r8 | % 235
       a8 -. [ a8 -. a8 -. a8 -. ] | % 236
       a8 -. [ b8 -. cis8 -. ] r8
     }
   }

          
 d,2 | % 239
 <a' e'>8 -. [ -. [ <a e'>8 -. -. <a e'>8 -. ] -. ] r8 | % 240
}


-- 
David Kastrup
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



------------------------------

Message: 2
Date: Tue, 21 Jul 2015 21:29:31 +0200
From: Simon Albrecht <address@hidden>
To: Ralph Palmer <address@hidden>, 	lilypond-user
	Mailinglist <address@hidden>
Subject: Re: Problem with merging notes and accidental placement in
	two voices
Message-ID: <address@hidden>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

Hi Ralph,

this is issue 1134 
<https://code.google.com/p/lilypond/issues/detail?id=1134>. There are 
workarounds tracked there.

HTH, Simon

Am 21.07.2015 um 21:13 schrieb Ralph Palmer:
Greetings -

(This is the second time - my original .png was too large.)

I'm running LilyPond 18.2 under Win7.

I'm attaching 3 files:
1) NoteMergeAndAccidentals.ly   :   LilyPond source file with no tweaks
2) NoteMergeAndAccidentals.pdf   :  a PDF of NoteMergeAndAccidentals.ly
3)NoteMergeAndAccidentalsOriginal.png   :   what I'm trying to replicate.

I'm having problems with some music in two vioces. I can "un-merge" 
the first two notes in the accompanying .ly file, but I can't seem to 
un-merge the accidentals. I'm also unable to get separate the a-flat 
and a-natural and get their accidentals next to the notes.

I would appreciate any help with these issues.

Thanks for your time and attention,

Ralph

-- 
Ralph Palmer
Brattleboro, VT
USA
address@hidden <mailto:address@hidden>


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/lilypond-user/attachments/20150721/5f257a54/attachment.html>

------------------------------

Message: 3
Date: Tue, 21 Jul 2015 21:44:41 +0200
From: Malte Meyn <address@hidden>
To: address@hidden
Subject: Re: Attachment size
Message-ID: <address@hidden>
Content-Type: text/plain; charset=windows-1252; format=flowed

The GIMP can export to jpg and png; in the export window you can change 
the compression level or quality ? higher compression means lower 
quality but also smaller files. How much the file size changes and which 
image format is better (in quality, file size, ?) depends on the image 
content.

Am 21.07.2015 um 20:55 schrieb Ralph Palmer:
Hello again -

While we're at it, does anyone have any suggestions for reducing image
size? I started with a .jpg with fairly high resolution, I guess. I have
Gimp2 installed, but I could not figure out how to get the file size down
below 2 Mb. I tried fiddling with the resolution and  exporting to .png and
to .pdf, but neither got the size below 2 Mb. Any suggestions?

Ralph



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



------------------------------

Message: 4
Date: Tue, 21 Jul 2015 14:48:57 -0500
From: Brother Gabriel-Marie <address@hidden>
To: Simon Albrecht <address@hidden>, address@hidden
Subject: Re: Key Signature only on first staff
Message-ID: <address@hidden>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

Okay, well, I have actually read the learning manual, just 
so everyone knows.

If I place \omit Staff.KeySignature anywhere significant, it 
removes the key signature, but it removes it also from the 
first staff too.  I want the key signature at the very 
beginning.

On 7/21/2015 2:02 PM, Simon Albrecht wrote:
Am 21.07.2015 um 20:29 schrieb Brother Gabriel-Marie:
Mr. Albrecht,
Where do I add the
\omit Staff.KeySignature
in my composition?
After the first note or measure, so it affects all but the 
first key signatures.
You are using a different setup.
Or do I have to change the way I'm laying it out?
You have to do nothing. Laying out one?s LilyPond files 
can be a quite personal decision on what you like best; I 
was merely proposing a way which proves to be robust for 
larger and more complicated setups also.

In general, I?d suggest the Learning Manual as a must-read 
gentle introduction to LilyPond: 
<http://lilypond.org/doc/v2.18/Documentation/learning/index.html>.

Happy Ponding,
Simon

global = {
    \time 4/4
    \tempo 4=90
    \key b \major
}

melody = \relative c' {
    \global
   ...the music...
}

wordsOne = \lyricmode{
   \set stanza = "1"
    ...the lyrics...
}
wordsTwo = \lyricmode{
   \set stanza = "2"
    ...the lyrics...
}

\score {
    <<
        \new Staff {
            \melody
        }
        \addlyrics { \wordsOne }
        \addlyrics { \wordsTwo }
        \addlyrics { \wordsThree }
        \addlyrics { \wordsFour }
    >>
    \layout {
        \context {
        \Score
        }
        \context {
            \Lyrics
        }
    }
  \midi { }
}
On 7/21/2015 12:43 PM, Simon Albrecht wrote:
Hello Brother Gabriel,

Am 21.07.2015 um 19:11 schrieb BGM:
My piece is in B Major and the repetition of the key 
signature takes up a lot
of room on the page.

I would like to show it on the first staff only and 
suppress the rest.
That is unusual, but I?ve seen it done in hymn books on 
small formats.
What do I do?
The LilyPond command you want is very straightforward: 
\omit KeySignature.
I attach an example which also features a parallel music 
_expression_ containing layout information and omits the 
clefs.


        

      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/lilypond-user/attachments/20150721/01a8ee2b/attachment.html>

------------------------------

Message: 5
Date: Tue, 21 Jul 2015 21:56:09 +0200
From: Malte Meyn <address@hidden>
To: address@hidden
Subject: Re: Key Signature only on first staff
Message-ID: <address@hidden>
Content-Type: text/plain; charset=windows-1252; format=flowed

You have to insert the \omit commands not in the first bar but later. 
The following code hopefully does what you want. Explanation: I used a 
spacer rest (s1) in global. Because this would move not only the \omits 
but also the beginning of the melody, I moved the \global from the 
beginning of the melody to the \new Staff, where melody and global are 
now simultaneous.

\version "2.19.22"

global = {
   \time 4/4
   \tempo 4=90
   \key b \major
   s1
   \omit Staff.KeySignature
   \omit Staff.Clef
}

melody = \relative c' {
   \repeat unfold 10 { cis dis e fis }
}

wordsOne = \lyricmode{
   \set stanza = "1"
   c d e f g
}
wordsTwo = \lyricmode{
   \set stanza = "2"
   c d e f g
}

\score {
   <<
     \new Staff <<
       \global
       \melody
     >>
     \addlyrics { \wordsOne }
     \addlyrics { \wordsTwo }
   >>
}

Am 21.07.2015 um 21:48 schrieb Brother Gabriel-Marie:
global = {
     \time 4/4
     \tempo 4=90
     \key b \major
}

melody = \relative c' {
     \global
    ...the music...
}

wordsOne = \lyricmode{
    \set stanza = "1"
     ...the lyrics...
}
wordsTwo = \lyricmode{
    \set stanza = "2"
     ...the lyrics...
}

\score {
     <<
         \new Staff {
             \melody
         }
         \addlyrics { \wordsOne }
         \addlyrics { \wordsTwo }
         \addlyrics { \wordsThree }
         \addlyrics { \wordsFour }
     >>
     \layout {
         \context {
         \Score
         }
         \context {
             \Lyrics
         }
     }
   \midi { }
}


------------------------------

Message: 6
Date: Tue, 21 Jul 2015 15:56:19 -0400
From: Stephen MacNeil <address@hidden>
To: address@hidden, 	Lilypond-User Mailing List
	<address@hidden>
Subject: RE:Attachment size
Message-ID:
	<address@hidden>
Content-Type: text/plain; charset="utf-8"

Not sure if this will help but, I only run LFS so no bells and whistles. So
to do this i wrote a few scripts that use ghostscript.

modify what you need or use it as it is

gsPdf - prints specified pages from a larger pdf
gsJpg - creates jpg images from pdf files

(all small in size)

they assume a  $HOME/tmp/ directory

http://mglessons.com/lilypond/gsPrint/gsJpg

http://mglessons.com/lilypond/gsPrint/gsPdf

Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/lilypond-user/attachments/20150721/d76ab7d6/attachment.html>

------------------------------

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


End of lilypond-user Digest, Vol 152, Issue 74
**********************************************



reply via email to

[Prev in Thread] Current Thread [Next in Thread]