Re: How to transpose an entire piece of music?

2015-12-23 Thread Bernhard Kleine


Am 23.12.2015 um 16:02 schrieb Kieren MacMillan:
> Hi Bernhard,
> 
>> When I searched for Lilypond transponieren (transpose) I was not at all
>> clear that this could be done on an entire piece. There is no example
>> where score is mentioned.
> 
> While it doesn’t explicitly say “score”, it does [at least on the English 
> site] say: “Consider a piece written in the key of D-major. It can be 
> transposed up to E-major; note that the key signature is automatically 
> transposed as well.” The subsequent example shows an entire score being 
> transposed in that manner. In light of the phrase “a piece” and the included 
> example, I believe the documentation implies “a score”.
> 
That piece of information is also in the German Manual. But I did not
see it. Can be closed

Regards
Bernhard

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


Re: How to transpose an entire piece of music?

2015-12-23 Thread Wols Lists
On 23/12/15 15:02, Kieren MacMillan wrote:
> Hi Bernhard,
> 
>> > When I searched for Lilypond transponieren (transpose) I was not at all
>> > clear that this could be done on an entire piece. There is no example
>> > where score is mentioned.
> While it doesn’t explicitly say “score”, it does [at least on the English 
> site] say: “Consider a piece written in the key of D-major. It can be 
> transposed up to E-major; note that the key signature is automatically 
> transposed as well.” The subsequent example shows an entire score being 
> transposed in that manner. In light of the phrase “a piece” and the included 
> example, I believe the documentation implies “a score”.
> 
> I would imagine that being explicit simply isn’t possible, since one would 
> have to then change the example to be at least
> 
>\score {
> \new GrandStaff <<
>   \new StaffGroup <<
> \new Staff \relative { … the music … }
>   >>
> >>
>}
> 
> and even that might not be explicit enough for some people (e.g., “What if I 
> want to transpose a score with a ChoirStaff in it?”).

What you might do is give a "for example", the obvious example being the
trombone :-)

Where I always work conceptually in bass clef concert, and then just
wrap the entire piece in a single transpose if I need treble clef b-flat.

You then have to hope that the reader puts two and two together and
concludes that you can do that to anything :-)

Cheers,
Wol

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


Re: How to transpose an entire piece of music?

2015-12-23 Thread Kieren MacMillan
Hi Bernhard,

> When I searched for Lilypond transponieren (transpose) I was not at all
> clear that this could be done on an entire piece. There is no example
> where score is mentioned.

While it doesn’t explicitly say “score”, it does [at least on the English site] 
say: “Consider a piece written in the key of D-major. It can be transposed up 
to E-major; note that the key signature is automatically transposed as well.” 
The subsequent example shows an entire score being transposed in that manner. 
In light of the phrase “a piece” and the included example, I believe the 
documentation implies “a score”.

I would imagine that being explicit simply isn’t possible, since one would have 
to then change the example to be at least

   \score {
\new GrandStaff <<
  \new StaffGroup <<
\new Staff \relative { … the music … }
  >>
>>
   }

and even that might not be explicit enough for some people (e.g., “What if I 
want to transpose a score with a ChoirStaff in it?”).

Hope this helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: How to transpose an entire piece of music?

2015-12-23 Thread Bernhard Kleine
Hi Kieren,


> 
>> I looked in the docu, but could not find it.
>> Maybe I should be added.
> 
> Does 
> 
>  not document this feature fully and/or well enough? If not, please explain 
> how to improve this documentation.
> 
> Thanks,
> Kieren.

When I searched for Lilypond transponieren (transpose) I was not at all
clear that this could be done on an entire piece. There is no example
where score is mentioned. That I could transpose individual voice in a
partitur (?engl) for wind instruments e.g. I envisaged but the solution
to the whole including the \key part was not obvious.

Hope this helps.

Bernhard

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


Re: How to transpose an entire piece of music?

2015-12-23 Thread Kieren MacMillan
Hi Bernhard,

> I looked in the docu, but could not find it.
> Maybe I should be added.

Does 

 not document this feature fully and/or well enough? If not, please explain how 
to improve this documentation.

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: How to transpose an entire piece of music?

2015-12-22 Thread Bernhard Kleine


Am 22.12.2015 um 22:16 schrieb Simon Albrecht:
> 
> 
> On 22.12.2015 22:04, Bernhard Kleine wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA256
>>
>> I had a christmas carol "Zu Bethlehem geboren" with is in F-Dur. That
>> piece has a bass voice going to "großem F" more than once. Since the
>> other voice are not at all at their upper limit, I thought to
>> transpose the carol by 1 or 2 tones to G-Dur or A-Dur.
>>
>> This turned out difficult for the following reason.
>>
>> Using the \transposition with the \score
>>
>> \score {
>>  \transposition D {
>> \new ChoirStaff <<
>> ...
>>
>>  >>
>>  }
>>  \layout {}
>>  \midi {}
>> }
>>
>> gave error: wrong Typ of Argument 1, pitch expected, "D" found
>>
>> I than used \transpose for individual voices, which lost the \relative
>> c'' property and the notes had to be individually positioned.
>> Furthermore the whole piece is still noted in F-Dur which makes for
>> some unusual naturals.
>>
>> Is there a way to raise an entire piece of music by one note value?
> 
> There’s no problem with just writing
> 
> \score {
>   \transpose f g
>   \new ChoirStaff <<
> …
>   >>
> }
> 
> \transposition is intended for use with transposing instruments in
> orchestral scores, a whole different issue.
> 
> HTH, Simon


Thank you Simon, that did it. I looked in the docu, but could not find
it. Maybe I should be added.

Thanks again

Bernhard

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


Re: How to transpose an entire piece of music?

2015-12-22 Thread Colin Campbell

On 15-12-22 02:04 PM, Bernhard Kleine wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I had a christmas carol "Zu Bethelem geboren" with is in F-Dur. That
piece has a bass voice going to "großem F" more than once. Since the
other voice are not at all at their upper limit, I thought to
transpose the carol by 1 or 2 tones to G-Dur or A-Dur.

This turned out difficult for the following reason.

Using the \transposition with the \score

\score {
 \transpositon D {
\new ChoirStaff <<
...

 >>
 }
 \layout {}
 \midi {}
}

gave error: wrong Typ of Argument 1, pitch expected, "D" found

I than used \transpose for individual voices, which lost the \relative
c'' property and the notes had to be individually positioned.
Furthermore the whole piece is still noted in F-Dur which makes for
some unusual naturals.



I'm rushing out for Christmas shopping, Bernhard, but one of your 
problems is that \relative must be *inside* the \transpose block.


Another quick thought: have you tried using Frescobaldi? One of the many 
powerful features is exactly what you need: the ability to select all of 
a piece and transpose from one to another pitch in a very smooth way.


HTH and

Fröhliche Weihnachten! Colin



--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )


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


Re: How to transpose an entire piece of music?

2015-12-22 Thread Noeck
Hi Bernhard,

please post complete tiny examples here. Your first one is not complete
and the latter one is at least missing the content of \global.

This should bring you closer to what you want:

\version "2.19.21"
\language deutsch

soprano = \transpose f a {
   \key f \major
   \partial 4
  c'4| f'4. g'8 a'4 g' | f'2 e'4 \breathe f' |
  g' f'8 g' a'4 g' | f'2 r4 c'' \break
  c'4 a' b' c'' | d''2 b'4 \breathe b' |
  a' b' c'' b'8 a' |g'2. r4 \break
  c'2 g' | a' g'4 a' |
  c'' f'8 g' a'4 g' |f'2. \bar "|."
}

{ \soprano }


Some comments:

1) The notes look very much like you entered them with \language
deutsch. If so, it is advisable to tell that on the list

2) The notes have all their octave marks ('), so \relative leads to very
strange results. You can remove the ' again and add \relative before the
first {.

3) Why did you use h4'\rest for rests and not just r4? Your version
looks strange after transposition because it is then a d''4\rest and not
centered anymore.

4) I guessed your \global contains a \key f \major and \partial 4

5) Your main question: The \transpose f a should be outside of
\relative. You can even do \transpose f a \new ChoirStaff.

Hope that helps
Joram

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


Re: How to transpose an entire piece of music?

2015-12-22 Thread Simon Albrecht



On 22.12.2015 22:04, Bernhard Kleine wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I had a christmas carol "Zu Bethlehem geboren" with is in F-Dur. That
piece has a bass voice going to "großem F" more than once. Since the
other voice are not at all at their upper limit, I thought to
transpose the carol by 1 or 2 tones to G-Dur or A-Dur.

This turned out difficult for the following reason.

Using the \transposition with the \score

\score {
 \transposition D {
\new ChoirStaff <<
...

 >>
 }
 \layout {}
 \midi {}
}

gave error: wrong Typ of Argument 1, pitch expected, "D" found

I than used \transpose for individual voices, which lost the \relative
c'' property and the notes had to be individually positioned.
Furthermore the whole piece is still noted in F-Dur which makes for
some unusual naturals.

Is there a way to raise an entire piece of music by one note value?


There’s no problem with just writing

\score {
  \transpose f g
  \new ChoirStaff <<
…
  >>
}

\transposition is intended for use with transposing instruments in 
orchestral scores, a whole different issue.


HTH, Simon

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