Re: choir music, easy piano reduction and dynamics
Paul Scott wrote: Arjan Bos wrote: Ah, that makes more sense! However, to me the dynamics are part of the whole piece of music and should be attached at Staff level, not at Voice level. So that's why I put them in a separate Voice. Musically, you are of course completely right in most situations. However, it may still be better to include them in an existing Voice context in LilyPond for technical reasons. Adding the Voice context wrapper just restricts the possibilities. A simple example of what I usually do is: music = << \timing \musicnotes \dynamicspart >> where \music will be a voice or the contents of a staff or whatever. My concerns remain if "whatever" is a Staff context, i.e. if you somewhere do \new Staff \music since then LilyPond will implicitly create separate Voice contexts for \timing, \musicnotes and \dynamicpart. In version 2.10 and earlier, this could result in collisions between dynamics and notes. This is solved in 2.11, but you could still hit the bug that was mentioned earlier in this thread. Mostly, it's a good thing that LilyPond silently creates all the necessary contexts, but sometimes this can lead to very surprising and confusing results, where the only solution is to explicitly create the corresponding context yourself to get the desired result. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: choir music, easy piano reduction and dynamics
Arjan Bos wrote: > > On 1 apr 2008, at 16:12, Mats Bengtsson wrote: > >> >> >> Arjan Bos wrote: >>> Ah, I remember that thread. It is what gave me this idea in the >>> first place. The problem of centered dynamics crossing bar lines >>> does not apply to most of my music, which is polyphonic classical >>> guitar these days. It does however solve the problem of aligning the >>> hairpins to last note in a sequence which can be in the upper or >>> lower voice. My solution keeps all dynamics in one place instead of >>> scattering them over my voices, thus helping maintainability and >>> helping me in creating the desired length in hairpins. >> Yes, keeping them in a separate variable/identifier can be a good idea. >> What I questioned is if it's a good idea to keep them in a separate >> Voice >> context, which has nothing to do with the use of variables. > > Ah, that makes more sense! However, to me the dynamics are part of > the whole piece of music and should be attached at Staff level, not at > Voice level. So that's why I put them in a separate Voice. But I will > keep your tips in mind when a problem crops up. Adding the Voice context wrapper just restricts the possibilities. A simple example of what I usually do is: music = << \timing \musicnotes \dynamicspart >> where \music will be a voice or the contents of a staff or whatever. For a score I might have: musica = << \timing \musicnotesa \dynamicsparta >> musicb = << \musicnotesb \dynamicspartb >> ... where musica and musicb are different parts and dynamicsparta and dynamicspartb might or might not be the same. etc., etc. Paul Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: choir music, easy piano reduction and dynamics
On 1 apr 2008, at 16:12, Mats Bengtsson wrote: Arjan Bos wrote: Ah, I remember that thread. It is what gave me this idea in the first place. The problem of centered dynamics crossing bar lines does not apply to most of my music, which is polyphonic classical guitar these days. It does however solve the problem of aligning the hairpins to last note in a sequence which can be in the upper or lower voice. My solution keeps all dynamics in one place instead of scattering them over my voices, thus helping maintainability and helping me in creating the desired length in hairpins. Yes, keeping them in a separate variable/identifier can be a good idea. What I questioned is if it's a good idea to keep them in a separate Voice context, which has nothing to do with the use of variables. Ah, that makes more sense! However, to me the dynamics are part of the whole piece of music and should be attached at Staff level, not at Voice level. So that's why I put them in a separate Voice. But I will keep your tips in mind when a problem crops up. Thanks, Arjan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: choir music, easy piano reduction and dynamics
On 01.04.2008, at 14:22, Mats Bengtsson wrote: Arjan Bos wrote: On 31 mrt 2008, at 14:59, James E. Bailey wrote: I'm wondering if there's an easy way to generate a piano reduction from a choral piece but without all of the dynamics. The choir parts all have their dynamics, but the piano part shouldn't. And the handy snippet I found generates a piano part with all the dynamics showing. I know this won't help you with an already finished score, but recently I've started to put all my dynamics in a separate Voice which contains only dynamic marks and spacer notes. Are you sure that you want them to be in a separate Voice context? This can result in alignment problems, see for example http://lists.gnu.org/archive/html/lilypond-devel/2007-04/msg00136.html I would rather propose to add them to the same Voice context as the actual music. You can still use separate variables for the music and the dynamics if you so prefer. However, in this particular case, there have already been other solutions proposed that are at least as convenient. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user Yeah, incidentally, i figured how to get it done with the one score, and with the next score I'm engraving, I decided to start with the piano-centered-dynamics template, and modify it to get what I need. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: choir music, easy piano reduction and dynamics
Arjan Bos wrote: On 31 mrt 2008, at 14:59, James E. Bailey wrote: I'm wondering if there's an easy way to generate a piano reduction from a choral piece but without all of the dynamics. The choir parts all have their dynamics, but the piano part shouldn't. And the handy snippet I found generates a piano part with all the dynamics showing. I know this won't help you with an already finished score, but recently I've started to put all my dynamics in a separate Voice which contains only dynamic marks and spacer notes. Are you sure that you want them to be in a separate Voice context? This can result in alignment problems, see for example http://lists.gnu.org/archive/html/lilypond-devel/2007-04/msg00136.html I would rather propose to add them to the same Voice context as the actual music. You can still use separate variables for the music and the dynamics if you so prefer. However, in this particular case, there have already been other solutions proposed that are at least as convenient. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: choir music, easy piano reduction and dynamics
On 31 mrt 2008, at 14:59, James E. Bailey wrote: I'm wondering if there's an easy way to generate a piano reduction from a choral piece but without all of the dynamics. The choir parts all have their dynamics, but the piano part shouldn't. And the handy snippet I found generates a piano part with all the dynamics showing. I know this won't help you with an already finished score, but recently I've started to put all my dynamics in a separate Voice which contains only dynamic marks and spacer notes. The spacer notes help me to layout the dynamics exactly the way I want, starting at the position I would like. And of course, it makes it much more convenient to create a reduced score that includes the dynamics. I just add the dynamicsVoice to the pianoScore or to the guitarScore. Hope this helps, Arjan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: choir music, easy piano reduction and dynamics
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 31. März 2008 schrieb James E. Bailey: > Thanks for the help, unfortunately it doesn't affect the output, i.e., > I still get dynamics. You need to create a voice explicitly for each staff and remove the engraver there: \version "2.11.43" testing = { c'4\p d'8\< e' \times 2/3 {f' g'\! a'\f} } \new Score { \new Staff << \new Voice \with { \remove "Dynamic_engraver" } \testing >> } \score { \testing } Cheers, Reinhold - -- - -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH8T2pTqjEwhXvPN0RAnxqAJ0ZZdRaysD2dKEFVgUoo8tI7GHifQCfXmhi 7XMpnh9XFa1LfM5H5AaaV8c= =S0Kq -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: choir music, easy piano reduction and dynamics
2008/3/31, Trevor Daniels <[EMAIL PROTECTED]>: > > The Dynamic engraver is in the Voice context, not Staff. My bad :) Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: choir music, easy piano reduction and dynamics
The Dynamic engraver is in the Voice context, not Staff. Trevor D - Original Message - From: "James E. Bailey" <[EMAIL PROTECTED]> To: "Mailinglist lilypond-user" Cc: "Mailinglist lilypond-user" Sent: Monday, March 31, 2008 6:08 PM Subject: Re: choir music, easy piano reduction and dynamics On 31.03.2008, at 15:08, Valentin Villenave wrote: 2008/3/31, James E. Bailey <[EMAIL PROTECTED]>: I'm wondering if there's an easy way to generate a piano reduction from a choral piece but without all of the dynamics. The choir parts all have their dynamics, but the piano part shouldn't. And the handy snippet I found generates a piano part with all the dynamics showing. Simply remove the Dynamic engraver : \new PianoStaff << \new Staff \with { \remove "Dynamic_engraver" } << \new Voice \sopranos \new Voice \altos >> \new Staff \with { \remove "Dynamic_engraver" } << \new Voice \tenors \new Voice \barytones >> Cheers, Valentin Thanks for the help, unfortunately it doesn't affect the output, i.e., I still get dynamics. testing = { c'4\p d'8\< e' \times 2/3 {f' g'\! a'\f} } \score { \new Staff \with {\remove "Dynamic_engraver"} \testing } \score { \testing } \version "2.11.42" Am I not understanding something correctly? ___ 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
Re: choir music, easy piano reduction and dynamics
On 31.03.2008, at 15:08, Valentin Villenave wrote: 2008/3/31, James E. Bailey <[EMAIL PROTECTED]>: I'm wondering if there's an easy way to generate a piano reduction from a choral piece but without all of the dynamics. The choir parts all have their dynamics, but the piano part shouldn't. And the handy snippet I found generates a piano part with all the dynamics showing. Simply remove the Dynamic engraver : \new PianoStaff << \new Staff \with { \remove "Dynamic_engraver" } << \new Voice \sopranos \new Voice \altos >> \new Staff \with { \remove "Dynamic_engraver" } << \new Voice \tenors \new Voice \barytones >> Cheers, Valentin Thanks for the help, unfortunately it doesn't affect the output, i.e., I still get dynamics. testing = { c'4\p d'8\< e' \times 2/3 {f' g'\! a'\f} } \score { \new Staff \with {\remove "Dynamic_engraver"} \testing } \score { \testing } \version "2.11.42" Am I not understanding something correctly? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: choir music, easy piano reduction and dynamics
2008/3/31, James E. Bailey <[EMAIL PROTECTED]>: > I'm wondering if there's an easy way to generate a piano reduction > from a choral piece but without all of the dynamics. The choir parts > all have their dynamics, but the piano part shouldn't. And the handy > snippet I found generates a piano part with all the dynamics showing. Simply remove the Dynamic engraver : \new PianoStaff << \new Staff \with { \remove "Dynamic_engraver" } << \new Voice \sopranos \new Voice \altos >> \new Staff \with { \remove "Dynamic_engraver" } << \new Voice \tenors \new Voice \barytones >> >> Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
choir music, easy piano reduction and dynamics
I'm wondering if there's an easy way to generate a piano reduction from a choral piece but without all of the dynamics. The choir parts all have their dynamics, but the piano part shouldn't. And the handy snippet I found generates a piano part with all the dynamics showing. Thanks ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user