Re: [OT] Linux Users

2017-11-21 Thread Hilary Snaden

On 17/11/17 22:59, Brett M. Gilio wrote:

How many Linux users are out there in the Lilypond community? Do any of
you use other type-setting software such as LaTeX or Csound rather than
graphical tools?


I currently use a Raspberry Pi 3 with Ubuntu 16.04 to run LilyPond, as 
my primary boxes run Debian 9, which has no repo LilyPond. I haven't yet 
tried the installable binary. I have used LaTeX in the past, I may do so 
again. If there are any "graphical tools" as good as LaTeX, I'll be 
interested to hear of them.


--
Hilary


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


sesqui-flat spelling

2017-11-21 Thread Edward Neeman
Hello all,

I've gotten quite used to the fact that "as" is A flat and "es" is E
flat in Lilypond. Is there a reason why sesqui-flats need to be
spelled aeseh and eeseh (instead of the abbreviated "aseh" or "eseh")?

This is not a huge issue, though it is annoying that Frescobaldi isn't
aware that these abbreviations aren't accepted. So if I convert
relative to absolute pitch in Frescobaldi, it changes my aeseh's to
aseh's, and I need to search and replace to be able to compile again.

Thanks!
Edward

--

Dr. Edward Neeman
Adjunct Instructor, South Georgia State College
Collaborative Pianist, Valdosta State University, Georgia
Artist Faculty, ELMS Conservatory, Jakarta
edward.nee...@gmail.com
www.neemanpianoduo.com

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Scheme help? snippet for movement page headers

2017-11-21 Thread Timothy Lanfear

On 21/11/17 05:57, Shevek wrote:

Hi Timothy,

Where are you defining #'header:piece, inside or outside a \score block? To
clarify, I'm talking about using \fromproperty with score-level headers.

Saul




I put every \score inside its own \bookpart and define #'header:piece in 
the \bookpart, outside the \score. Although I don't recall the details 
now, I probably adopted this structure to get the page headers working.


--
Timothy Lanfear, Bristol, UK.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Custom woodwind-diagram

2017-11-21 Thread Mike Solomon
Hey there!
I created the diagrams eons ago and I agree that the implementation is really 
difficult to understand. I'm sorry for that. Can you send me a photo of what 
you're trying to typeset? I'll see if I can help you out.
Cheers,~Mike


Sent from my Samsung Galaxy smartphone.
 Original message From: SoundsFromSound 
 Date: 11/21/17  6:49 PM  (GMT+02:00) To: 
lilypond-user@gnu.org Subject: Re: Custom woodwind-diagram 
Sven Axelsson-3 wrote
> Hello list.
> 
> I would like to create fingering instructions for an eight hole wind
> instrument. 
> 
> I have not really tried to do anything yet - the woodwind diagrams look
> terribly complicated to customize. There was talk about including
> fingering
> for recorders on the list some time ago
> -- 
> Sven Axelsson
> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hello Sven,

Two things:

First, as you mentioned, here is an older thread that has some good
information about recorder fingerings...
http://lilypond.1069038.n5.nabble.com/recorder-fingering-chart-td28375.html

Second, what version of LilyPond are you using?

Here is some documentation from 2.19 that also could help you, perhaps?
http://lilypond.org/doc/v2.19/Documentation/snippets/winds#winds-recorder-fingering-chart




-
composer | sound designer | asmr artist 
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mailing list errors

2017-11-21 Thread Ben

On 11/21/2017 12:38 PM, Karlin High wrote:

On Tue, Nov 21, 2017 at 11:12 AM, Ben  wrote:

   pd.r...@gmail.com
 Domain peterreid.org has exceeded the max emails per hour (6/5 (120%))
allowed.  Message will be reattempted later

Ben, just saw your other message wondering how Gmail is involved with
a non-Google domain. I have heard that lots of people route their
own-domain email through Google, to take advantage of Google's
highly-trained spam filtering. My skills for reading email headers and
DNS MX records aren't quite good enough to figure out it that's the
case here or not.
--
Karlin High
Missouri, USA


Ah, gotcha. That does make sense, I never thought of that...spam filtering.

:)

Thanks for the info! I appreciate it! Have a great day!

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mailing list errors

2017-11-21 Thread Karlin High
On Tue, Nov 21, 2017 at 11:12 AM, Ben  wrote:
>   pd.r...@gmail.com
> Domain peterreid.org has exceeded the max emails per hour (6/5 (120%))
> allowed.  Message will be reattempted later

I got one of those on November 15 from a reply in the OT Grammatic
gender thread. If it helps list admins, here is the message ID:



Ben, just saw your other message wondering how Gmail is involved with
a non-Google domain. I have heard that lots of people route their
own-domain email through Google, to take advantage of Google's
highly-trained spam filtering. My skills for reading email headers and
DNS MX records aren't quite good enough to figure out it that's the
case here or not.
--
Karlin High
Missouri, USA

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mailing list errors

2017-11-21 Thread Ben

On 11/21/2017 12:12 PM, Ben wrote:


Hello!

This morning I've received a strange email which I have not seen 
before, and I do not know


a) what's causing it,

b) how can I avoid it while still replying to the list as normal, and

c) who the Gmail address belongs to.

Has anyone encountered this message before?

It's occurring every single time I reply to the list - on any thread - 
regardless of who began it.


I know it's a temporary error however I was just looking for 
clarification on it's origin.


Thanks!

===

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:

   pd.r...@gmail.com
 Domain peterreid.org has exceeded the max emails per hour (6/5 (120%)) 
allowed.  Message will be reattempted later

===


Follow up:

Although I couldn't find out the origin of the Google account, after 
re-reading the message I tried to visit the domain itself and indeed I 
found the composer's website. :)


However, I assumed based on the @gmail address that it was a Google 
server issue, but now I am more confused.
Why would an individual's personal website / domain ***.org have any 
impact on a Google-domain email account with regards to message limit rates?


http://peterreid.org/

Thanks for helping me understand this.

B


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Mailing list errors

2017-11-21 Thread Ben

Hello!

This morning I've received a strange email which I have not seen before, 
and I do not know


a) what's causing it,

b) how can I avoid it while still replying to the list as normal, and

c) who the Gmail address belongs to.

Has anyone encountered this message before?

It's occurring every single time I reply to the list - on any thread - 
regardless of who began it.


I know it's a temporary error however I was just looking for 
clarification on it's origin.


Thanks!

===

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:

  pd.r...@gmail.com
Domain peterreid.org has exceeded the max emails per hour (6/5 (120%)) 
allowed.  Message will be reattempted later

===

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Custom woodwind-diagram

2017-11-21 Thread SoundsFromSound
Sven Axelsson-3 wrote
> Hello list.
> 
> I would like to create fingering instructions for an eight hole wind
> instrument. 
> 
> I have not really tried to do anything yet - the woodwind diagrams look
> terribly complicated to customize. There was talk about including
> fingering
> for recorders on the list some time ago
> -- 
> Sven Axelsson
> https://lists.gnu.org/mailman/listinfo/lilypond-user

Hello Sven,

Two things:

First, as you mentioned, here is an older thread that has some good
information about recorder fingerings...
http://lilypond.1069038.n5.nabble.com/recorder-fingering-chart-td28375.html

Second, what version of LilyPond are you using?

Here is some documentation from 2.19 that also could help you, perhaps?
http://lilypond.org/doc/v2.19/Documentation/snippets/winds#winds-recorder-fingering-chart




-
composer | sound designer | asmr artist 
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Custom woodwind-diagram

2017-11-21 Thread Sven Axelsson
Hello list.

I would like to create fingering instructions for an eight hole wind
instrument. The usual way to display these fingerings would be to have the
thumb hole at the top, slightly offset, and the other seven holes in the
center column of the diagram.

I have not really tried to do anything yet - the woodwind diagrams look
terribly complicated to customize. There was talk about including fingering
for recorders on the list some time ago, did anything come out of this? If
so, I could probably start there.

Thanks,

-- 
Sven Axelsson
++[>++>+++>++>++
><-]>.+..>+.>+.<<-.>>+.>.<<.
+++.>-.<<++.>>.<++.>>>++..>>.<.
___
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 ?

2017-11-21 Thread David Kastrup
"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 ?

2017-11-21 Thread Christopher R. Maden

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: Key change with simultaneous key cancellation

2017-11-21 Thread Lukas-Fabian Moser
>
> > the Key Cancellation in the second staff is printed before (i.e. to the
> left of) the new key signature in the first staff. Is it possible to get
> them aligned?
>
> What about this?
>

Great, thanks much! This works perfectly (and the "drawback" that it spoils
the placement of potential post-key-change notes isn't really a drawback
since the problem only occurs at line breaks...).

Best!
L.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Key change with simultaneous key cancellation

2017-11-21 Thread Kieren MacMillan
Hi,

> the Key Cancellation in the second staff is printed before (i.e. to the left 
> of) the new key signature in the first staff. Is it possible to get them 
> aligned?

What about this?

  SNIPPET BEGINS
\version "2.19.80"

\layout {
  \context {
\Staff
   % \consists "Break_align_engraver"
  }
}

\new GrandStaff <<
  \new Staff {
s1
\key bes \minor \break
s1
  }
  \new Staff {
\key fis \major
s1
\once \override Score.KeyCancellation.X-extent = #'(0 . 0)
\key a \minor
s1
  }
>>
  SNIPPET ENDS

Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Key change with simultaneous key cancellation

2017-11-21 Thread Lukas-Fabian Moser
Hello,

in the following situation


\version "2.19.80"

\layout {
  \context {
\Staff
   % \consists "Break_align_engraver"
  }
}

\new GrandStaff <<
  \new Staff {
s1
\key bes \minor \break
s1
  }
  \new Staff {
\key fis \major
s1
\key a \minor
s1
  }
>>

the Key Cancellation in the second staff is printed before (i.e. to the
left of) the new key signature in the first staff. Is it possible to get
them aligned?

If I put the Break_align_engraver in the \Staff context (uncomment the
respective line), I seem to get what I want, but the bar line becomes
discontinuous. This problem only occurs if the key change happens at a line
break. (Also, moving the engraver naturally destroys the alignment of the
time signatures at the beginning of the piece.)


Best
Lukas
___
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 ?

2017-11-21 Thread David Kastrup
Eby Mani  writes:

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

2017-11-21 Thread Ben

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 Liska  wrote:

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

2017-11-21 Thread Eby Mani
Hi Ben, is there a similar snippet available for ly 2.16. ?. Thanks.

On Tue, 21/11/17, Ben  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 ?

2017-11-21 Thread Eby Mani
Many thanks Urs.

2.16.2 is what is available on the repos, thus sticking to.

Eby

On Tue, 21/11/17, Urs Liska  wrote:

 Subject: Re: automatic beaming of tuplets only - is this possible ?
 To: "Eby Mani" , lilypond-user@gnu.org
 Date: Tuesday, 21 November, 2017, 7:55 AM
 
 
 
 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-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: How to make multiple synced lassez-vibres?

2017-11-21 Thread Caagr98
This seems to work, thanks!

\version "2.19.80"
{
  \clef F
  \key bes \major
  \time 3/4
  \set tieWaitForNote=##t
  f,8_~[ c_~ g_~ bes_~ es'_~ g'^~]|
  \grace { \once \hideNotes 8 } R2.|
}

On 11/21/17 14:54, David Kastrup wrote:
> Caagr98  writes:
> 
>> Yeah, I realize I can change the length, but they still won't go under
>> each other. Lily instead places them sequentially, which just wastes a
>> lot of space without doing anything good.
>>
>> If there is some way to make ties not require the connected note to be
>> directly after, I think it would be fairly easy to replicate this
>> using some invisible grace notes. Do you know if there is any such
> 
> Look at the tieWaitForNote context property.  It would still be nice not
> to have to use (omitted) notes as anchor but something that has, say, a
> tie-ending interface.  Would likely be easier to get to position nicely.
> 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to make multiple synced lassez-vibres?

2017-11-21 Thread Phil Holmes

You might try tieWaitForNote with a hidden, zero length following chord?

--
Phil Holmes


- Original Message - 
From: "Caagr98" 

To: 
Sent: Tuesday, November 21, 2017 1:48 PM
Subject: Re: How to make multiple synced lassez-vibres?


Yeah, I realize I can change the length, but they still won't go under 
each other. Lily instead places them sequentially, which just wastes a lot 
of space without doing anything good.


If there is some way to make ties not require the connected note to be 
directly after, I think it would be fairly easy to replicate this using 
some invisible grace notes. Do you know if there is any such function?


On 11/21/17 14:43, Ben wrote:


On 11/21/2017 8:40 AM, Caagr98 wrote:

It's better, but they still don't extend to the end of the bar.

Also, I prefer creating new variants of commands rather than modifying 
existing ones when possible:


lv = \tweak stencil #enlarged-extent-laissez-vibrer::print 
\laissezVibrer






Hi,

You can rename it or use a variable and re-assign it how you wish. I just 
copied the code from where I saved it.

The thread can be found here.
http://lilypond.1069038.n5.nabble.com/Default-length-of-laissezvibrer-ties-td10440.html


Also, you can tweak the factor to change the length. It's a very handy 
function. You can make it as long as you want, really.





___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to make multiple synced lassez-vibres?

2017-11-21 Thread David Kastrup
Caagr98  writes:

> Yeah, I realize I can change the length, but they still won't go under
> each other. Lily instead places them sequentially, which just wastes a
> lot of space without doing anything good.
>
> If there is some way to make ties not require the connected note to be
> directly after, I think it would be fairly easy to replicate this
> using some invisible grace notes. Do you know if there is any such

Look at the tieWaitForNote context property.  It would still be nice not
to have to use (omitted) notes as anchor but something that has, say, a
tie-ending interface.  Would likely be easier to get to position nicely.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to make multiple synced lassez-vibres?

2017-11-21 Thread Caagr98
Yeah, I realize I can change the length, but they still won't go under each 
other. Lily instead places them sequentially, which just wastes a lot of space 
without doing anything good.

If there is some way to make ties not require the connected note to be directly 
after, I think it would be fairly easy to replicate this using some invisible 
grace notes. Do you know if there is any such function?

On 11/21/17 14:43, Ben wrote:
> 
> On 11/21/2017 8:40 AM, Caagr98 wrote:
>> It's better, but they still don't extend to the end of the bar.
>>
>> Also, I prefer creating new variants of commands rather than modifying 
>> existing ones when possible:
>>
>> lv = \tweak stencil #enlarged-extent-laissez-vibrer::print \laissezVibrer
>>
>>
>>
> 
> Hi,
> 
> You can rename it or use a variable and re-assign it how you wish. I just 
> copied the code from where I saved it.
> The thread can be found here.
> http://lilypond.1069038.n5.nabble.com/Default-length-of-laissezvibrer-ties-td10440.html
> 
> 
> Also, you can tweak the factor to change the length. It's a very handy 
> function. You can make it as long as you want, really.
> 
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to make multiple synced lassez-vibres?

2017-11-21 Thread Ben


On 11/21/2017 8:40 AM, Caagr98 wrote:

It's better, but they still don't extend to the end of the bar.

Also, I prefer creating new variants of commands rather than modifying existing 
ones when possible:

lv = \tweak stencil #enlarged-extent-laissez-vibrer::print \laissezVibrer





Hi,

You can rename it or use a variable and re-assign it how you wish. I 
just copied the code from where I saved it.

The thread can be found here.
http://lilypond.1069038.n5.nabble.com/Default-length-of-laissezvibrer-ties-td10440.html


Also, you can tweak the factor to change the length. It's a very handy 
function. You can make it as long as you want, really.



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to make multiple synced lassez-vibres?

2017-11-21 Thread Caagr98
It's better, but they still don't extend to the end of the bar.

Also, I prefer creating new variants of commands rather than modifying existing 
ones when possible:

lv = \tweak stencil #enlarged-extent-laissez-vibrer::print \laissezVibrer


On 11/21/17 14:34, Ben wrote:
> On 11/21/2017 8:28 AM, Caagr98 wrote:
>> In the attached image, it looks like several LVs streched to the barline. 
>> However, if I simply try to write the notes with LVs, the arc is 
>> ridiculously short (see second image). How can I make that look proper?
>>
>> I could replace it with a pedal, but I want to replicate it as faitfully as 
>> possible.
>>
> 
> I don't need to do this often, but this code I saved from a while ago on the 
> mailing list - how does this look?
> (see attached)
> 
> 
> #(define factor 2)
> 
> #(define (enlarged-extent-laissez-vibrer::print grob)
>   (let* ((stil (laissez-vibrer::print grob))
>  (stil-ext (ly:stencil-extent stil X))
>  (stil-length (interval-length stil-ext))
>  (new-stil-length (* stil-length factor))
>  (scale-factor (/ new-stil-length stil-length))
>  (new-stil (ly:stencil-scale stil scale-factor 1))
>  (new-stil-ext (ly:stencil-extent new-stil X))
>  (x-corr (- (car stil-ext) (car new-stil-ext
>   (ly:stencil-translate-axis
>  new-stil
>  x-corr
>  X)))
> 
> #(assoc-set! (assoc-ref all-grob-descriptions 'LaissezVibrerTie)
> 'stencil enlarged-extent-laissez-vibrer::print)
> 
> \relative c' {
>     \laissezVibrer
> }
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to make multiple synced lassez-vibres?

2017-11-21 Thread Ben

On 11/21/2017 8:28 AM, Caagr98 wrote:

In the attached image, it looks like several LVs streched to the barline. 
However, if I simply try to write the notes with LVs, the arc is ridiculously 
short (see second image). How can I make that look proper?

I could replace it with a pedal, but I want to replicate it as faitfully as 
possible.



I don't need to do this often, but this code I saved from a while ago on 
the mailing list - how does this look?

(see attached)


#(define factor 2)

#(define (enlarged-extent-laissez-vibrer::print grob)
  (let* ((stil (laissez-vibrer::print grob))
 (stil-ext (ly:stencil-extent stil X))
 (stil-length (interval-length stil-ext))
 (new-stil-length (* stil-length factor))
 (scale-factor (/ new-stil-length stil-length))
 (new-stil (ly:stencil-scale stil scale-factor 1))
 (new-stil-ext (ly:stencil-extent new-stil X))
 (x-corr (- (car stil-ext) (car new-stil-ext
  (ly:stencil-translate-axis
 new-stil
 x-corr
 X)))

#(assoc-set! (assoc-ref all-grob-descriptions 'LaissezVibrerTie)
'stencil enlarged-extent-laissez-vibrer::print)

\relative c' {
    \laissezVibrer
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How to make multiple synced lassez-vibres?

2017-11-21 Thread Caagr98
In the attached image, it looks like several LVs streched to the barline. 
However, if I simply try to write the notes with LVs, the arc is ridiculously 
short (see second image). How can I make that look proper?

I could replace it with a pedal, but I want to replicate it as faitfully as 
possible.
___
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 ?

2017-11-21 Thread Ben

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