Re: building pairs in music functions

2015-03-14 Thread Kevin Barry
On Fri, Mar 13, 2015 at 3:34 PM, Stephen MacNeil wrote: > \version "2.18.2" > > > rotateBracket = > > #(define-music-function (parser location input) (pair?) > > #{ > > \once \override HorizontalBracket.bracket-flare = $input > > #}) > Actually I wanted to build the bracket flare from a single v

Re: building pairs in music functions

2015-03-13 Thread Kevin Barry
Thank you both that worked perfectly! On Fri, Mar 13, 2015 at 10:54 AM, Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com> wrote: > Hi Kevin, > > See: > http://www.lilypond.org/doc/v2.18/Documentation/extending/intermediate-substitution-functions.html > So: > ... > > \once \override Horiz

Re: building pairs in music functions

2015-03-13 Thread Pierre Perol-Schneider
Hi Kevin, See: http://www.lilypond.org/doc/v2.18/Documentation/extending/intermediate-substitution-functions.html So: ... \once \override HorizontalBracket.bracket-flare = #(cons num num) ... should work. HTH, Pierre 2015-03-13 11:33 GMT+01:00 Kevin Barry : > Dear scheme experts, > > I am

Re: building pairs in music functions

2015-03-13 Thread Mattes
Am Freitag, 13. März 2015 11:38 CET, "Mattes" schrieb: > #'(num .num) Sorry, breakfast time reply :-) Breadcrumbs under the spacebar - this should read (num . num) ... Cheers, RalfD ___ lilypond-user mailing list lilypond-user@gnu.org https

Re: building pairs in music functions

2015-03-13 Thread Mattes
Am Freitag, 13. März 2015 11:33 CET, Kevin Barry schrieb: > Dear scheme experts, > > I am trying to supply a constructed pair as a value for a grob property in > a music function, but it seems no matter what I try I get an error such as: > `warning: type check for `bracket-flare' failed; val

building pairs in music functions

2015-03-13 Thread Kevin Barry
Dear scheme experts, I am trying to supply a constructed pair as a value for a grob property in a music function, but it seems no matter what I try I get an error such as: `warning: type check for `bracket-flare' failed; value `(num . num)' must be of type `pair of numbers''. A non-working example