Re: Dynamic mark at the end of a bar

2015-06-02 Thread Stephen MacNeil
this one centers it Long = #(define-music-function (parser location str dyn) (number? string?) #{ -\markup { \halign #-1 \rotate #180 \combine \draw-line #`(,str . 0.7) \draw-line #`(,str . -0.7) \vcenter \dynamic $dyn } #} ) { c''4_\Long #-15.5 f } {

Re: Dynamic mark at the end of a bar

2015-06-02 Thread David Sumbler
Thanks to all for your consideration of the problem I have been having in placing a dynamic at the end of a bar. Stephen's 2 solutions are quite effective in some cases, but so far as I can see cannot be made to work when there is a single note (e.g. a semibreve) which has to carry the hairpin.

Re: Dynamic mark at the end of a bar

2015-06-02 Thread Stephen MacNeil
it works on one note and an none - i added dynamic markup for you Long = #(define-music-function (parser location str dyn) (number? string?) #{ -\markup { \halign #-1 \rotate #180 \combine \draw-line #`(,str . 0.7) \draw-line #`(,str . -0.7) \dynamic $dyn } #} ) {

Re: Dynamic mark at the end of a bar

2015-06-02 Thread David Nalesnik
Hi David, On Tue, Jun 2, 2015 at 10:47 AM, David Sumbler da...@aeolia.co.uk wrote: Thanks to all for your consideration of the problem I have been having in placing a dynamic at the end of a bar. Stephen's 2 solutions are quite effective in some cases, but so far as I can see cannot be made

Re: Dynamic mark at the end of a bar

2015-06-01 Thread Stephen MacNeil
Hi david Can you tell me where this is located in the lilypond directory. what file etc. or where one could get the information on line ie where you got it! Thanks Stephen ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Arrastres: function scheme question - Built from ideas of Simon and David -- Dynamic mark at the end of a bar

2015-05-31 Thread Jacques Menu
Hello Stephen, Changing : \once \override NoteHead.extra-spacing-width = #`(,len . 1) to : \once \override NoteHead.extra-spacing-width = #`(,(- len) . 1) allows a positive number instead. JM Le 31 mai 2015 à 02:47, Stephen MacNeil classicalja...@gmail.com a écrit : the

Re: Arrastres: function scheme question - Built from ideas of Simon and David -- Dynamic mark at the end of a bar

2015-05-31 Thread Stephen MacNeil
Thank you for that Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Arrastres: function scheme question - Built from ideas of Simon and David -- Dynamic mark at the end of a bar

2015-05-30 Thread Stephen MacNeil
I used the first snippet posted by Simon for an Arrastres function. Then I noticed Davids post for afterGrace so I tried my hand at that. Both work but I have a few questions. In the first posted by simon I did it my typical way. And it works like all my other functions. Typically I use modified

RE:Arrastres: function scheme question - Built from ideas of Simon and David -- Dynamic mark at the end of a bar

2015-05-30 Thread Stephen MacNeil
the second didn't work correctly so i changed it \version 2.18.2 Fraction = #(cons 6 8) Arrastres = #(define-music-function (parser location len main grace) (number? ly:music? ly:music?) (_i Create @var{grace} note(s) after a @var{main} music _expression_.) (let ((main-length

Re: Dynamic mark at the end of a bar

2015-05-28 Thread David Nalesnik
Hi Simon, On Thu, May 28, 2015 at 2:28 AM, Simon Albrecht simon.albre...@mail.de wrote: This sounds like a usecase for \afterGrace. I cooked up a music function for that, which works quite fine. Does that help you? This is nice. I should point out that \afterGrace places the grace notes

Re: Dynamic mark at the end of a bar

2015-05-28 Thread Simon Albrecht
Am 28.05.2015 um 22:45 schrieb David Nalesnik: Hi Simon, On Thu, May 28, 2015 at 2:28 AM, Simon Albrecht simon.albre...@mail.de mailto:simon.albre...@mail.de wrote: This sounds like a usecase for \afterGrace. I cooked up a music function for that, which works quite fine. Does that

Re: Dynamic mark at the end of a bar

2015-05-28 Thread Stephen MacNeil
I like that! I would add \once \override DynamicText.X-offset = #'1 looks nicer to my eyes afterDynamic = #(define-music-function (parser location mus dyn) (ly:music? ly:music?) #{ \afterGrace $mus { \once \override DynamicText.X-offset = #'1 s4 $dyn } #}) mus = { c'1

Re: Dynamic mark at the end of a bar

2015-05-28 Thread Simon Albrecht
Hello David, Am 28.05.2015 um 00:17 schrieb David Sumbler: On Wed, 2015-05-27 at 16:52 -0500, David Nalesnik wrote: Hi David, On Wed, May 27, 2015 at 3:03 PM, David Sumbler da...@aeolia.co.uk wrote: But both of these are work-arounds for something which is actually

Re: Dynamic mark at the end of a bar

2015-05-27 Thread David Sumbler
On Tue, 2015-05-26 at 12:47 -0500, David Nalesnik wrote: Hi David, On Tue, May 26, 2015 at 10:32 AM, David Sumbler da...@aeolia.co.uk wrote: I often use 's1*0\!' to end a hairpin just before a barline. But how can a get a dynamic mark (e.g. 'ff') to appear at the

Re: Dynamic mark at the end of a bar

2015-05-27 Thread Phil Holmes
- Original Message - From: David Sumbler da...@aeolia.co.uk But both of these are work-arounds for something which is actually fairly normal musical notation. They are work-arounds because one method implies that a note is not really the length that it appears to be, and the other

Re: Dynamic mark at the end of a bar

2015-05-27 Thread Stephen MacNeil
Hi david I think the hairpin alignment is with the DynamicText which aligns under the note. So by moving the text the hairpin follows. \once \override DynamicText.X-offset = #'x So you could do { c''4\ \once \override DynamicText.X-offset = #'1.1 c''2.\ff | R1 | } However in the first

Re: Dynamic mark at the end of a bar

2015-05-27 Thread David Nalesnik
On Wed, May 27, 2015 at 5:19 PM, Mats Bengtsson mats.bengts...@ee.kth.se wrote: As has already been discussed, the question is what the musical meaning of such a notation would be. Certainly, I can think of printed music, not to mention hand-written manuscripts, where dynamic marks are placed

Re: Dynamic mark at the end of a bar

2015-05-27 Thread Simon Albrecht
Am 27.05.2015 um 22:03 schrieb David Sumbler: But both of these are work-arounds for something which is actually fairly normal musical notation. They are work-arounds because one method implies that a note is not really the length that it appears to be, and the other method implies that the

Re: Dynamic mark at the end of a bar

2015-05-27 Thread David Sumbler
On Wed, 2015-05-27 at 16:52 -0500, David Nalesnik wrote: Hi David, On Wed, May 27, 2015 at 3:03 PM, David Sumbler da...@aeolia.co.uk wrote: But both of these are work-arounds for something which is actually fairly normal musical notation. They are

Re: Dynamic mark at the end of a bar

2015-05-27 Thread David Nalesnik
Hi David, On Wed, May 27, 2015 at 3:03 PM, David Sumbler da...@aeolia.co.uk wrote: But both of these are work-arounds for something which is actually fairly normal musical notation. They are work-arounds because one method implies that a note is not really the length that it appears to

Re: Dynamic mark at the end of a bar

2015-05-27 Thread David Sumbler
On Wed, 2015-05-27 at 22:14 +0100, Phil Holmes wrote: - Original Message - From: David Sumbler da...@aeolia.co.uk But both of these are work-arounds for something which is actually fairly normal musical notation. They are work-arounds because one method implies that a note is

Re: Dynamic mark at the end of a bar

2015-05-27 Thread Mats Bengtsson
David Sumbler david at aeolia.co.uk writes: I often use 's1*0\!' to end a hairpin just before a barline. Is that needed? If you end it on the first note of the next bar, it should be typeset to end just before the barline, see

Re: Dynamic mark at the end of a bar

2015-05-26 Thread David Nalesnik
Hi David, On Tue, May 26, 2015 at 10:32 AM, David Sumbler da...@aeolia.co.uk wrote: I often use 's1*0\!' to end a hairpin just before a barline. But how can a get a dynamic mark (e.g. 'ff') to appear at the end of a bar? In the following example, the first hairpin behaves as I want. The

Dynamic mark at the end of a bar

2015-05-26 Thread David Sumbler
I often use 's1*0\!' to end a hairpin just before a barline. But how can a get a dynamic mark (e.g. 'ff') to appear at the end of a bar? In the following example, the first hairpin behaves as I want. The second one ends with a dynamic, but the new dynamic appears at the start of the following