Re: automatic beaming of tuplets only - is this possible ?
"Christopher R. Maden"writes: > On 11/21/2017 09:57 AM, David Kastrup wrote: >> "The repos" for what distribution? 2.18.0 was released in December >> 2013. What repos carry software that has been replaced 4 years ago? > > Distros released 4 years ago, like Ubuntu 14.04 LTS (Trusty, supported > through April 2019) Supported by _Ubuntu_. > and its derivatives, including Linux Mint 17.x. Ubuntu 16.04 LTS has been out for over a year. If you don't want to upgrade, this has consequences for the amount of support upstream will be able to provide for your old software. > Like Eby, I’m generally reluctant to switch away from distro-provided > software packages. It’s frustrating — I wonder if there’s any way we > can put pressure on Ubuntu to upgrade within a distro. They'll say "use 16.04". I doubt that they will feel that backports to 14.04 are a useful investment for anything but severe security fixes. That being said, our packagers install (und uninstall) reasonably smoothly. But with 14.04, you might conceitably be hitting library problems. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic beaming of tuplets only - is this possible ?
On 11/21/2017 09:57 AM, David Kastrup wrote: "The repos" for what distribution? 2.18.0 was released in December 2013. What repos carry software that has been replaced 4 years ago? Distros released 4 years ago, like Ubuntu 14.04 LTS (Trusty, supported through April 2019) and its derivatives, including Linux Mint 17.x. Like Eby, I’m generally reluctant to switch away from distro-provided software packages. It’s frustrating — I wonder if there’s any way we can put pressure on Ubuntu to upgrade within a distro. (I recently switched to Linux Mint 18, and now am using LilyPond 2.18, which makes me very happy.) ~crism -- Chris Maden, text nerd http://crism.maden.org/ > Emperor Norton had the right idea. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic beaming of tuplets only - is this possible ?
Eby Maniwrites: > Many thanks Urs. > > 2.16.2 is what is available on the repos, thus sticking to. "The repos" for what distribution? 2.18.0 was released in December 2013. What repos carry software that has been replaced 4 years ago? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic beaming of tuplets only - is this possible ?
On 11/21/2017 9:26 AM, Eby Mani wrote: Many thanks Urs. 2.16.2 is what is available on the repos, thus sticking to. Eby On Tue, 21/11/17, Urs Liskawrote: >I'm on lilypond 2.16.2 on ubuntu This is *really* outdated. 2.18 has been the stable release for years now, and you should switch at least to that version. Urs Eby, Please consider the advantages to upgrading to 2.18 - it's quite easy to install on Linux (regardless of what's in the repo). sh lilypond-2.18.2 etc. You'll find as you continue to engrave music in LilyPond that perhaps a lot of code you wish to use won't work properly (or at all) on older versions. Lots of cool stuff has been added and enhanced significantly in 2.18 + Good luck! :) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic beaming of tuplets only - is this possible ?
Hi Ben, is there a similar snippet available for ly 2.16. ?. Thanks. On Tue, 21/11/17, Ben <soundsfromso...@gmail.com> wrote: Subject: Re: automatic beaming of tuplets only - is this possible ? To: lilypond-user@gnu.org Date: Tuesday, 21 November, 2017, 11:36 AM On 11/21/2017 1:14 AM, Eby Mani wrote: Hi All, I couldn't find how achieve the following, i tried fiddling with \set Timing and \overrideTimeSignatureSettings related commands for beaming. 1, Automatically replace tuplet bracket with a slur. Eby, Does this help you? This code makes the bracket in tuplets into a curved slur. http://lilypond.1069038.n5.nabble.com/Tuplets-curved-brackets-td207326.html (image) http://lilypond.1069038.n5.nabble.com/attachment/207328/0/curved.png tupletBracketToSlur = { % Use slur-stencil \override TupletBracket.stencil = #ly:slur::print %% Use 'thickness from Slur \override TupletBracket.thickness = #1.2 %% 'control-points need to be set \override TupletBracket.control-points = #(lambda (grob) (let* ((x-pos (ly:grob-property grob 'X-positions)) (pos (ly:grob-property grob 'positions)) (x-ln (interval-length x-pos)) (dir (ly:grob-property grob 'direction)) ;; read out the height of the TupletBracket, may be ;; negative! (height (- (cdr pos) (car pos))) ;; height-corr is introduced because sometimes the shape ;; of the slur needs to be adjusted. ;; It is used in the 2nd/3rd control-point. ;; The value of 0.3 is found by trial and error (height-corr (* 0.3 dir height)) (edge-height (ly:grob-property grob 'edge-height '(0.7 . 0.7))) (pad 1.0)) (list ;; first cp (cons (+ (car x-pos) 0.5) (- (+ (* dir pad) (+ (car pos) (* -1 dir (car edge-height (if (= dir -1) (if (> height 3) (/ dir 2.0) 0.0) (if (< height -3) (/ dir 2.0) 0.0 ;; second cp (cons (+ (car x-pos) (* x-ln 1/4)) (+ (* dir pad) (+ (car pos) (* dir (+ 0.5 height-corr) ;; third cp (cons (+ (car x-pos) (* x-ln 3/4)) (+ (* dir pad) (+ (cdr pos) (* dir (- 0.5 height-corr) ;; fourth cplilypond-u...@gnu.org, (cons (- (cdr x-pos) 0.5) (+ (* dir pad) (+ (cdr pos) (* -1 dir (cdr edge-height) ))) \override TupletBracket.staff-padding = #'() #(define (invert-direction x) (if (eq? UP (ly:tuplet-bracket::calc-direction x)) DOWN UP)) \override TupletBracket.direction = #invert-direction } \layout { \tupletBracketToSlur } { a a \tuplet 3/2 { a8 a a } a4 } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -Inline Attachment Follows- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic beaming of tuplets only - is this possible ?
Many thanks Urs. 2.16.2 is what is available on the repos, thus sticking to. Eby On Tue, 21/11/17, Urs Liska <li...@ursliska.de> wrote: Subject: Re: automatic beaming of tuplets only - is this possible ? To: "Eby Mani" <eby...@yahoo.com>, lilypond-user@gnu.org Date: Tuesday, 21 November, 2017, 7:55 AM Am 21. November 2017 07:14:01 MEZ schrieb Eby Mani <eby...@yahoo.com>: >Hi All, I couldn't find how achieve the following, i tried fiddling >with \set Timing and \overrideTimeSignatureSettings related commands >for beaming. > >1, Automatically replace tuplet bracket with a slur. > >2, Automatically break beaming of tuplets of value 16. If no tuplet, >then the beaming should default. >e.g. by default lilypond-user@gnu.org, lilypond beams tuplets {c16 d e} and f8 together. What >i want is the f8 should not be beamed together with tuplet. And if >there is { c16 d32 e f16 } in a tuplet, it should be beamed together. > >Is point number 2 possible without manual beam breaks ?. > Not yet. We have just started a discussion about how tuplets should affect beaming and the subdivision of secondary beams. Hopefully this will be fixed in the foreseeable future. Which leads to ... lilypond-user@gnu.org, > >I'm on lilypond 2.16.2 on ubuntu This is *really* outdated. 2.18 has been the stable release for years now, and you should switch at least to that version. Urs -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic beaming of tuplets only - is this possible ?
On 11/21/2017 1:14 AM, Eby Mani wrote: Hi All, I couldn't find how achieve the following, i tried fiddling with \set Timing and \overrideTimeSignatureSettings related commands for beaming. 1, Automatically replace tuplet bracket with a slur. https://lists.gnu.org/mailman/listinfo/lilypond-user Eby, Does this help you? This code makes the bracket in tuplets into a curved slur. http://lilypond.1069038.n5.nabble.com/Tuplets-curved-brackets-td207326.html (image) http://lilypond.1069038.n5.nabble.com/attachment/207328/0/curved.png tupletBracketToSlur = { % Use slur-stencil \override TupletBracket.stencil = #ly:slur::print %% Use 'thickness from Slur \override TupletBracket.thickness = #1.2 %% 'control-points need to be set \override TupletBracket.control-points = #(lambda (grob) (let* ((x-pos (ly:grob-property grob 'X-positions)) (pos (ly:grob-property grob 'positions)) (x-ln (interval-length x-pos)) (dir (ly:grob-property grob 'direction)) ;; read out the height of the TupletBracket, may be ;; negative! (height (- (cdr pos) (car pos))) ;; height-corr is introduced because sometimes the shape ;; of the slur needs to be adjusted. ;; It is used in the 2nd/3rd control-point. ;; The value of 0.3 is found by trial and error (height-corr (* 0.3 dir height)) (edge-height (ly:grob-property grob 'edge-height '(0.7 . 0.7))) (pad 1.0)) (list ;; first cp (cons (+ (car x-pos) 0.5) (- (+ (* dir pad) (+ (car pos) (* -1 dir (car edge-height (if (= dir -1) (if (> height 3) (/ dir 2.0) 0.0) (if (< height -3) (/ dir 2.0) 0.0 ;; second cp (cons (+ (car x-pos) (* x-ln 1/4)) (+ (* dir pad) (+ (car pos) (* dir (+ 0.5 height-corr) ;; third cp (cons (+ (car x-pos) (* x-ln 3/4)) (+ (* dir pad) (+ (cdr pos) (* dir (- 0.5 height-corr) ;; fourth cp (cons (- (cdr x-pos) 0.5) (+ (* dir pad) (+ (cdr pos) (* -1 dir (cdr edge-height) ))) \override TupletBracket.staff-padding = #'() #(define (invert-direction x) (if (eq? UP (ly:tuplet-bracket::calc-direction x)) DOWN UP)) \override TupletBracket.direction = #invert-direction } \layout { \tupletBracketToSlur } { a a \tuplet 3/2 { a8 a a } a4 } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic beaming of tuplets only - is this possible ?
Am 21. November 2017 07:14:01 MEZ schrieb Eby Mani: >Hi All, I couldn't find how achieve the following, i tried fiddling >with \set Timing and \overrideTimeSignatureSettings related commands >for beaming. > >1, Automatically replace tuplet bracket with a slur. > >2, Automatically break beaming of tuplets of value 16. If no tuplet, >then the beaming should default. >e.g. by default lilypond beams tuplets {c16 d e} and f8 together. What >i want is the f8 should not be beamed together with tuplet. And if >there is { c16 d32 e f16 } in a tuplet, it should be beamed together. > >Is point number 2 possible without manual beam breaks ?. > Not yet. We have just started a discussion about how tuplets should affect beaming and the subdivision of secondary beams. Hopefully this will be fixed in the foreseeable future. Which leads to ... > >I'm on lilypond 2.16.2 on ubuntu This is *really* outdated. 2.18 has been the stable release for years now, and you should switch at least to that version. Urs -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user