Re: First steps in Lilypond k

2018-04-02 Thread Patrick Smith
I will be

On Mon, Apr 2, 2018, 7:46 AM foxfanfare  wrote:

> Hi everybody,
>
> Instead of spoiling the thread about  OpenLilyLib
> <
> http://lilypond.1069038.n5.nabble.com/OpenLilyLib-with-Windows-td208760.html
> >
> I started to ask some questions, I thought better to start a separate
> thread
> in order to ask some of my newbie questions!
>
> I started working on LilyPond last week and I find this software really
> interesting, though quite difficult to learn for a start! So, my project
> right now is to copy a difficult piano score I made earlier in Sibelius
> which would help me to learn this software. I will decide then if I
> definitely keep it or if I buy Dorico!
>
> 1. Here is a first issue I wasn't able to figure out :
> 
>
> If I understood well the notation reference guide, when a voice start
> crossing staves, LP deactivate the automatic collusion. How can I solve
> this
> hairpin problem? I allready tried to write the dynamic marks either in the
> upper staff notes or in a separate dynamic voice, but I can't avoid the
> collusion.
>
> I'd like to add some space between the two staves but I had the
> impression that the chapter 4.4. about Vertical Spacing refers more about a
> global layout option but doesn't apply to this situation?
>
> 2. House-Style
>
> Like I already said in my first post, I worked a long time with
> Sibelius
> for wich I configured all the notation rules and made a nice House-Style
> (quite similar to Henle). My goal is to do the same here in Lilypond but
> I'd
> like to know if someone has already done something like that which could
> help me spare some time? (change all the fonts, the beams damping, lines
> thickness, etc. that would look more to this kind of edition). The mutopia
> scores I have consulted doesn't seem to change very much those parameters.
>
> Thank you for your precious help!
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: macro variable doesn't behave same as original?

2017-11-14 Thread Patrick Smith
I can wait for 2.21.0.

I'll continuing coding with the assumption that the macrovariable will
indeed be a one-for-one, text in-place, copy of the original.

On Tue, Nov 14, 2017 at 7:44 AM, David Kastrup <d...@gnu.org> wrote:

> Caagr98 <caag...@gmail.com> writes:
>
> >> On 11/14/17 13:21, Patrick Smith wrote:
> >>> This works:
> >>>
> >>> \version "2.18.2"
> >>> \relative c' {
> >>>   \time 2/4
> >>>   c4 c( d) d( e) e( f) f( g) g( a) a( b) b( c) c( b) b( a) a( g) g(
> >>> f) f( e) e( d) d( c2)~ c2 \fermata  \bar "|."
> >>>   layout{}
> >>> }
> >>>
> >>> This doesn't work:
> >>>
> >>> \version "2.18.2"
> >>> macrovariable = {c4 c( d) d( e) e( f) f( g) g( a) a( b) b( c) c( b)
> >>> b( a) a( g) g( f) f( e) e( d) d( c2)~ c2 }
> >>> \relative c' {
> >>>   \time 2/4
> >>>   \macrovariable \fermata  \bar "|."
> >>>   layout{}
> >>> }
> >>>
> >>> Why?
> >
> > In the first version, you're applying the \fermata post-event to the
> > c2, which is perfectly valid. In the second one, you're applying it to
> > the {...}, which doesn't make sense. I'm afraid I don't know any good
> > solution, though.
>
> Using 2.21.0.  Which isn't released yet.  Not a particularly good
> solution but one that should do the trick.
>
> --
> David Kastrup
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


macro variable doesn't behave same as original?

2017-11-14 Thread Patrick Smith
This works:

\version "2.18.2"
\relative c' {
  \time 2/4
  c4 c( d) d( e) e( f) f( g) g( a) a( b) b( c) c( b) b( a) a( g) g( f) f(
e) e( d) d( c2)~ c2 \fermata  \bar "|."
  layout{}
}

This doesn't work:

\version "2.18.2"
macrovariable = {c4 c( d) d( e) e( f) f( g) g( a) a( b) b( c) c( b) b( a)
a( g) g( f) f( e) e( d) d( c2)~ c2 }
\relative c' {
  \time 2/4
  \macrovariable \fermata  \bar "|."
  layout{}
}

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


Looking for advice on "looping" through all keys

2017-11-13 Thread Patrick Smith
2-week-old LilyPond newbie here.

I've completed my first transcription of J. S. Bach Contrapuntus I for
brass quartet and I must say that LilyPond is totally amazing!

I'm now working on creating a Book of Basic Routines for the brass quartet.
I'd like to have each scale routine printed in all keys. I've searched
through the LilyPond manuals and I've scanned the Scheme materials in
search of an algorithmic way of cycling through all transpositions but I
haven't found anything yet. I suspect there is a way to do it but it might
just be easier to "hard code" by creating variables (one for each key) and
then transposing the scale music into each of the variables.

But, if there is a way to create a "for" loop combined with a
"transposition index" (i.e., rather than "\transpose c bes" instead
"\transpose c 2" where 2 is equal to 2 half steps), I would prefer that.
I'm not really prepared at this point to use makefiles for this purpose.

Are there ways of creating "for" loops and/or transposition indices?

Or should I just slog it out and "hard code" the transpositions?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Newbie having trouble with transposition(s)

2017-11-11 Thread Patrick Smith
Hey list ... I wanted to thank all of you who responded. Your comments were
very helpful and I've now incorporated all of them. I've completed my first
transcription:  J.S. Bach's Art of the Fugue, Contrapunctus I from string
quartet into brass quartet.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Newbie having trouble with transposition(s)

2017-11-10 Thread Patrick Smith
Another first-time LilyPond poster/user here!

I've been using LilyPond for about a week now and I'm really loving it
already.

I'm a brass player who is using LilyPond to create beautiful engravings for
brass ensembles. I'm also an engineer who wishes he was better at
programming and LilyPond.

Anyway, I'm starting by transcribing/arranging string quartets for the
standard brass quartet (2 trumpets in B flat, 1 horn in F and 1 trombone in
C). The string parts are all non-transposing instruments.

Because I plan to do a lot of these, I'd like to get my templates *perfect*
before moving past the first one. So far, I've managed to create a *single*
input files that does everything (produces all the PDFs ... score and
parts).

I've got most of the basics working however I'm having trouble with the
transpositions. They aren't working as I expected. I thought the
transposition function would take care of putting the parts into the right
key. But, all of the parts have a key signature of d minor (one flat) (no
key signature transposition is happening).

Please help me if you can.

Thanks in advance,
Patrick

Here is my minimalist Tiny code.

\version "2.18.2"
\header { ... }

% Global definitions
global = {
  \time 2/2
  \key d \minor
  s1*78
  \bar "|."
}

%*
TrumpetOne = \new Voice {
  \set Staff.instrumentName = #"Trumpet I in Bb"
  \clef treble
  \transpose bes c' {
\relative c'' {
...
}
  }
}

%*
TrumpetTwo = \new Voice {
  \set Staff.instrumentName = #"Trumpet II in Bb"
  \clef treble
  \transpose bes c' {
\relative c' {
...
}
  }
}

%*
Horn = \new Voice {
  \set Staff.instrumentName = #"Horn in F"
  \clef treble
  \transpose f c' {
\relative c' {
...
}
  }
}

%*
Trombone = \new Voice {
  \set Staff.instrumentName = #"Trombone"
  \clef bass
\relative c {
...
}
  }
}

%**
music = {
  <<
\tag #'score \tag #'trpI  \new Staff { << \global \TrumpetOne >> }
\tag #'score \tag #'trpII \new Staff { << \global \TrumpetTwo>> }
\tag #'score \tag #'horn  \new Staff { << \global \Horn>> }
\tag #'score \tag #'trbn  \new Staff { << \global \Trombone>> }
  >>
}

%**
% Print the score and create a midi file
\book {
  \bookOutputSuffix "Score"
  #(set-global-staff-size 14)
  \score {
\header { piece = "Score" }
\bookOutputSuffix "Score"
\new StaffGroup \keepWithTag #'score \music
\layout { }
\midi { }
  }
}

%*
% Print the TrumpetOne part
\book {
  \bookOutputSuffix "TrumpetOne"
  \score {
\header { piece = "Trumpet I" }
\keepWithTag #'trpI \music
\layout { }
  }
}

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