Re: Turn placed between notes
Keith OHara k-ohara5...@oco.net writes: David Kastrup dak at gnu.org writes: I don't think I get your point. It was that \once\hideNotes works fine. We do not need the complexities of \tweak or the new \single until we start digging into chords. Keith OHara k-ohara5a5a at oco.net writes: David Kastrup dak at gnu.org writes: Keith OHara k-ohara5a5a at oco.net writes: \new Voice \relative c'' { f4. {s4 \once\hideNotes f8\turn\noBeam } g16-. a-. } \once\hideNotes makes me a bit queasy here since it will affect all notes at the same timestep. No; \once\hideNotes will *not* affect all notes at the same time step. It does what we want and hides only the notes in the Voice where we requested \hideNotes. The above is a single Voice. (Overrides by default affect only a single Voice.) Other instruments, or the left hand of a piano, can be playing notes when that delayed turn starts, and their notes are not hidden. Sure. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn placed between notes
Kevin Patrick Barry barr...@tcd.ie writes: My preferred method for placing a turn between notes is to tweak the X-offset, viz. c -\tweak #'X-offset #2 \turn and modify the value accordingly. Seems a bit simpler than the snippet solution (which seems to produce a smaller turn than the default articulation?). The problem with that approach is that it does not adapt to LilyPond choosing to use wider or narrower spacing depending on the page layout. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn placed between notes
On 10 March 2013 17:27, David Kastrup d...@gnu.org wrote: The problem with that approach is that it does not adapt to LilyPond choosing to use wider or narrower spacing depending on the page layout. The problem with the other approach is that it involves more (and more complex) code. Would an \afterGrace-like command for delayed turn be a good enhancement request idea? What do you think? Cheers, Xavier -- Xavier Scheuer x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn placed between notes
Xavier Scheuer x.sche...@gmail.com writes: On 10 March 2013 17:27, David Kastrup d...@gnu.org wrote: The problem with that approach is that it does not adapt to LilyPond choosing to use wider or narrower spacing depending on the page layout. The problem with the other approach is that it involves more (and more complex) code. LilyPond is programmable, so once the mechanisms are working soundly, one can cook up a music function providing a nicer user interface. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn placed between notes
Keith OHara k-ohara5...@oco.net writes: Nick Payne nick.payne at internode.on.net writes: have to fiddle with the value of halign each time to get the turn centred between the notes. Is there a more automated way of positioning the turn? Parallel music. Then I can think in terms of the timing of the turn, rather than the spacing. Usually I need a hidden note in the parallel part to put the turn at the right height. \new Voice \relative c'' { f4. {s4 \once\hideNotes f8\turn\noBeam } g16-. a-. \once\hideNotes makes me a bit queasy here since it will affect all notes at the same timestep. Now in this case, there is no other note at the same timestep. If your version is recent enough to support it, using \single\hideNotes f8 should be preferable. \hide f8 is even simpler but would probably just hide the notehead. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn placed between notes
On Sat, Mar 9, 2013 at 7:02 AM, Nick Payne nick.pa...@internode.on.net wrote: See attached graphic. Quite a number of these in the score (Brahms Sextet Op 18). you can use a clever function written by David K. While it results in different (i'd say a bit worse) spacing, it makes input code infinitely more readable: at = #(define-music-function (parser location t e m) (ly:duration? ly:event? ly:music?) #{ #m { \skip $t $e } #}) \new Voice \relative c'' { \at 4 \turn f4. g16-. a-. } hth, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn placed between notes
Janek Warchoł janek.lilyp...@gmail.com writes: On Sat, Mar 9, 2013 at 7:02 AM, Nick Payne nick.pa...@internode.on.net wrote: See attached graphic. Quite a number of these in the score (Brahms Sextet Op 18). you can use a clever function written by David K. While it results in different (i'd say a bit worse) spacing, it makes input code infinitely more readable: at = #(define-music-function (parser location t e m) (ly:duration? ly:event? ly:music?) #{ #m { \skip $t $e } #}) \new Voice \relative c'' { \at 4 \turn f4. g16-. a-. } It is arguably a problem with LilyPond's spacing that one perceives worse spacing with the above code. One can likely play around a bit, replacing in the code with hidden notes and similar, but of course, how that affects spacing exactly may well depend on future versions of LilyPond. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Turn placed between notes
Nick, Creating a delayed turn is at http://www.lilypond.org/doc/v2.16/Documentation/snippets/expressive-marks. Mark -Original Message- From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Nick Payne Sent: Friday, March 08, 2013 10:02 PM To: lilypond-user@gnu.org Subject: Turn placed between notes See attached graphic. Quite a number of these in the score (Brahms Sextet Op 18). At the moment I'm creating them like so: \version 2.17.13 \relative f'' { f4.^\markup { \halign #-3.5 { \musicglyph #scripts.turn } } g16 a | } but with the value of halign hard coded, with differing note values and bar spacing, I have to fiddle with the value of halign each time to get the turn centred between the notes. Is there a more automated way of positioning the turn? Lilypond seems to assume that turns should be placed directly above a note, but that is often not the case. Nick ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn placed between notes
David Kastrup dak at gnu.org writes: Keith OHara k-ohara5a5a at oco.net writes: \new Voice \relative c'' { f4. {s4 \once\hideNotes f8\turn\noBeam } g16-. a-. } \once\hideNotes makes me a bit queasy here since it will affect all notes at the same timestep. No cause for nausea. The effect of \hideNotes is limited to the Voice in which we use it. The tricky bit above is that the hidden note would normally be beamed to the following 16ths, which is not obvious when typing the input. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn placed between notes
Keith OHara k-ohara5...@oco.net writes: David Kastrup dak at gnu.org writes: Keith OHara k-ohara5a5a at oco.net writes: \new Voice \relative c'' { f4. {s4 \once\hideNotes f8\turn\noBeam } g16-. a-. } \once\hideNotes makes me a bit queasy here since it will affect all notes at the same timestep. No cause for nausea. The effect of \hideNotes is limited to the Voice in which we use it. All of the above is in the same Voice. The tricky bit above is that the hidden note would normally be beamed to the following 16ths, In the same Voice. which is not obvious when typing the input. I don't think I get your point. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn placed between notes
David Kastrup dak at gnu.org writes: I don't think I get your point. It was that \once\hideNotes works fine. We do not need the complexities of \tweak or the new \single until we start digging into chords. Keith OHara k-ohara5a5a at oco.net writes: David Kastrup dak at gnu.org writes: Keith OHara k-ohara5a5a at oco.net writes: \new Voice \relative c'' { f4. {s4 \once\hideNotes f8\turn\noBeam } g16-. a-. } \once\hideNotes makes me a bit queasy here since it will affect all notes at the same timestep. No; \once\hideNotes will *not* affect all notes at the same time step. It does what we want and hides only the notes in the Voice where we requested \hideNotes. (Overrides by default affect only a single Voice.) Other instruments, or the left hand of a piano, can be playing notes when that delayed turn starts, and their notes are not hidden. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Turn placed between notes
Nick Payne nick.payne at internode.on.net writes: have to fiddle with the value of halign each time to get the turn centred between the notes. Is there a more automated way of positioning the turn? Parallel music. Then I can think in terms of the timing of the turn, rather than the spacing. Usually I need a hidden note in the parallel part to put the turn at the right height. \new Voice \relative c'' { f4. {s4 \once\hideNotes f8\turn\noBeam } g16-. a-. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user