David B. Stocker | 30 Jun 04:17 2015
Picon

Re: Changing notehead sizes within chords

Klaus and Thomas,

Thank you. These are exactly the kind of thing I was looking for.

I've been starting to fool around with scheme and it's going very 
slowly. Maybe examining these and learning how/why they work will help 
me with the lilypond-specific scheme knowledge required to start solving 
some of these challenges.

Do either of you recommend a source on Scheme for beginners?

Thanks,

David

On 06/29/2015 06:32 PM, lilypond-user-request <at> gnu.org wrote:
>> Maybe there's a way to have a function tweak all the notes in a music
>> >expression, but that's far beyond my scheme knowledge.
>> >
>> >Cheers,
>> >Klaus
>
>
> Maybe:
>
> \version "2.18.2"
>
> font-size-tweak =
> #(define-music-function (parser location music) (ly:music?)
>     (map-some-music
(Continue reading)

Cate Sheller | 30 Jun 02:16 2015

download trouble


I have attempted to download the lilypond executable for Windows using two different browsers (Chrome and
Firefox). I am using my home computer, so there are no unusual firewall issues, but the download starts out
slow and then consistently fails every time. Any suggestions for how I might obtain the software?

Cate Sheller
Professor, Computer Science
Math/Science Department, Kirkwood Community College
Cedar Rapids, IA 52402 USA
http://faculty.kirkwood.edu/cshelle

Privileged/Confidential Information may be contained in this message.  If you are not the addressee
indicated in this message (or responsible for delivery of the message to such person), you may not copy or
deliver this message to anyone.  In such case, you should destroy this message and kindly notify the sender
by reply email. Please advise immediately if you or your employer do not consent to Internet email for
messages of this kind. Opinions, conclusions and other information in this message that do not relate to
the official business of my organization shall be understood as neither given nor endorsed by it.
Nick Payne | 29 Jun 23:47 2015
Picon

PDF portfolio of 2.19.22 docs

A fully indexed portfolio of the 2.19.20 PDF docsis available at 
https://www.dropbox.com/s/3j7d0alo7y2l37b/lilydoc-2.19.22.pdf?dl=0 (38Mb).

Needs Adobe Reader - I haven't found a 3rd party PDF viewer that can use 
the index in PDF portfolios.

Nick
Urs Liska | 29 Jun 23:37 2015

Re: Frescobaldi not using correct lilypond version


Am 29.06.2015 um 23:12 schrieb N. Andrew Walsh:
> As I explained in another thread, gentoo uses a rolling, "live" version
> number (ie program-9999) to build directly from Git/Subversion versions
> of certain packages. Lilypond is one of these, and my current instance
> of 'lilypond -v' returns the following:
> 
> $ lilypond -v
> GNU LilyPond 2.19.23
> 
> Copyright (c) 1996--2015 by 
> [etc etc]
> 
> However, if I run Frescobaldi, the snippet to insert the lilypond
> version (Shift-Ctrl-V for me) inserts the line 
> 
> \version "2.19.22"
> 
> and running lily on a current project also tries to run version 2.19.22. 
> 
> Is this just something goofy with using a live version that reports
> itself as .23, but which is identified from the outside (by whatever
> mechanism frescobaldi uses to identify the current lily version) as .22?

No, there's nothing wrong, it's simply that Frescobaldi doesn't
automatically detect when the version has changed. I think it stores the
version numbers somewhere in its settings.
To update the version for the \version command and the display in the
log go to Edit->Preferences->LilyPond Preferences, select your version
and open the "edit..." dialog once. You don't have to do anything there
(Continue reading)

N. Andrew Walsh | 29 Jun 23:12 2015
Picon

Frescobaldi not using correct lilypond version

As I explained in another thread, gentoo uses a rolling, "live" version number (ie program-9999) to build directly from Git/Subversion versions of certain packages. Lilypond is one of these, and my current instance of 'lilypond -v' returns the following:

$ lilypond -v
GNU LilyPond 2.19.23

Copyright (c) 1996--2015 by 
[etc etc]

However, if I run Frescobaldi, the snippet to insert the lilypond version (Shift-Ctrl-V for me) inserts the line 

\version "2.19.22"

and running lily on a current project also tries to run version 2.19.22. 

Is this just something goofy with using a live version that reports itself as .23, but which is identified from the outside (by whatever mechanism frescobaldi uses to identify the current lily version) as .22? Is there something else at work here? 

Cheers,

A
_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Stefan Thomas | 29 Jun 15:20 2015
Picon

transposable figured bass?

Dear community,
I run in a problem, when I transpose the below quoted figured bass from g to f.
In this  special case the natural sign before the "5" in the 2nd chord should be a flat sign. Is it possible to get a transposable version of this figured bass?

Here is my example:

\version "2.18.2"
global= { \key g \major \time 4/4 }
Music = \relative g { \clef "bass" \global  g1 b, c d  g, \bar"|."  }
fgbass = \figuremode { s1
<6 5!> % here's the problem, it must be a flat sign in f major
s
<6 4>2 <5 3>
}


\markup{A figured bass in g major:}
\score {
  <<
    \new Staff \Music
    \new FiguredBass {\global \fgbass }
  >>
}

Music = \transpose g f \Music
\markup{The same thing in f major:}
\score {
  <<
    \new Staff \Music
    \new FiguredBass{ \transpose g f { \global \fgbass } }
  >>
}
_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
David B. Stocker | 29 Jun 14:21 2015
Picon

Changing notehead sizes within chords

Hello group,

Is there a way to apply a NoteHead font-size once to a single music expression and then combine it with one or more other music expressions to get different notehead sizes on a single set of stems (i.e., one Voice context)?

This is a common notation for pop music where there is typically one lead vocal part with one or more harmony voices which are mixed lower.

Please see my tiny example below.

Thanks,

David

%%% Tiny Example %%%

\version "2.18.2"


%% Lead voice with backing harmony voices


leadVoice = \relative c'' { c4( d e2 ) }


bkgdVoiceI = \relative c'' { g4( b c2 ) }


bkgdVoiceII = \relative c'' { e4( f g2 ) }


%% Desired output


\new Voice \relative c'' {

<\tweak font-size #-3 g c \tweak font-size #-3 e >4(

<\tweak font-size #-3 b d \tweak font-size #-3 f >

<\tweak font-size #-3 c e \tweak font-size #-3 g >2 )

}


%% Actual output


\new Voice <<

\override NoteHead.font-size = #-3 {

\bkgdVoiceII

}

\leadVoice

\override NoteHead.font-size = -3 {

\bkgdVoiceI

}

>>

p, li { white-space: pre-wrap; }
_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Peter Gentry | 29 Jun 12:54 2015
Picon

Tweaking in scheme


Tweaking in scheme

The heart of the scheme procedure  I'm trying is

#(define (instrumentrange music instrument ) 
   (  ly:music? string? ) 
; extract the various portions of the music object
(let ((es (ly:music-property music 'elements))      
           (e   (ly:music-property music 'element)) 
           (p   (ly:music-property music 'pitch)));rebuild the pitch and if a changed pitch add the color tweak
...
...

(if (ly:pitch? p)
          (let ((new-pitch (naturalize-instrument-range p instrument)))
          (ly:music-set-property! music 'pitch new-pitch)
          (if (and (not (equal? p new-pitch)) (color? my-color))
              (ly:music-set-property! music 'tweaks
              (acons
                'color my-color
               (ly:music-property music 'tweaks))))))

     music))

This works fine and I have used \displayMusic to show the music stream to investigate other possible
properties that can be
specified in this way.

I would like to specify note head style but this does not seem to appear as a property that can be applied in the
acons list.
In display music there is a complex list

(make-music
'ContextSpeccedMusic
'contextt-type
'Bottom
'element
(make-music
 'OverrideProperty
'pop-first
#t
'grob-property-path
(list (quote style))
'grob-value
'harmonic
'symbol
'NoteHead))

Can this in any way be implimented by  the 'tweaks method. 

regards
Peter Gentry 
Patrick Karl | 27 Jun 23:21 2015

placement of \trill script

I am having a problem with the following snippet:

\version "2.19.20"

  \new PianoStaff <<
    \new Staff
    { \relative c'' { 
        <<
       \new Voice="first"      { \voiceOne b8 a a2 \oneVoice r4 }
       \new Voice="second" { \voiceTwo d,8  e <fis\trill d>2}
       >>
      }
    }
    \new Staff {
        \clef bass
        \relative c' { b4 c r r }
    }
  >>
}

which produces:


The problem is the ambiguous placement of the “trill” script.  It is only the F# that should be trilled, but the output seems to me to indicate that it is either the d2 or the middle C in the left-hand staff that is to be trilled.

The document I am trying to reproduce has the trill sign in the bottom space of the treble clef, just to the left of the F#.  I would be satisfied with that solution, but have been unsuccessful in accomplishing it.

Can anyone either show me how to do it, or offer a better suggestion?

Thanks,
Pat

_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Sam Frybyte | 27 Jun 15:57 2015
Picon

ossia label?

 I'm using 2.18.2 and have 1 measure then 1 measure of \new Staff {\clef
    treble ....) below (though I'd like it above both existing staves that's
    less important) then ten measures and 3 measures of a \new Staff etc both
    I'd like to label with an instrument (1st Clarinet 2nd Viola).
    Using the ossia format I've not figured this out...Please direct me to the
    correct part of manuals.
    I realize that I could score it for 3 staves but this seemed easier right
    up until I wanted instrument labels
    Thanks
    Jay

--
Jay Hamilton 
Sound and Silence 
 206-328-7694
_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Luca Danieli | 27 Jun 13:43 2015
Picon

move tremolo beams

Hello Lilyponders,

I happened to write this code

\repeat tremolo 8 { 
    \once\override Hairpin.circled-tip = ##t 
        e'16\< 
    \once\override Hairpin.circled-tip = ##t 
        eh\>\fermata 
}

and I see that the accidental and the beams overlap.
How to fix this problem to clear the view for the performer?

Luca

_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Gmane