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 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 to work when

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" } { c'

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 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. T

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 https://lists.gnu.org/mailm

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

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 a écrit : > > the second didn't work cor

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 (ly:music-le

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: 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 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 help you? This is nice

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 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 using SimultaneousMusic

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 \afterDynamic

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 wrote: > But both of these are "work-arounds" for something which is actually fairly

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 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 far from > the note they

Re: Dynamic mark at the end of a bar

2015-05-27 Thread Mats Bengtsson
David Sumbler 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 http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-at

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 > wrote: > > > But both of these are "work-arounds" for something which is > actually > fairly normal musical notation. They are work-arounds b

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" > > > 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 rea

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 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 > be, and the

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 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 Phil Holmes
- Original Message - From: "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 tha

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 > 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

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 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 second one ends

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 bar