Re: OT: Apple stealing "Lily"

2017-05-06 Thread Andrew Bernard
My learned colleagues, this is pretty off topic. Can we move the discussion
to another more appropriate list forum?

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


Re: Apply a music-function script to all elements of a list

2017-05-06 Thread Simon Albrecht

Hi Ewen,

I’m sorry, but there are multiple issues with your post.

First, you promised to do better next time, but your Scheme code 
formatting did not improve…


Second, it’s necessary to give full, compilable examples of your code, 
so that anybody trying to help doesn’t have to assemble pieces from all 
over the e-mail thread. I found the definition for make-dot-list 
relatively quickly, but I finally halted my work of the code when I 
realised that the definition for make-dot is hidden even better. Also, 
‘highlighting’ code with ** // is not helpful at all. Use comments for 
that purpose (in Scheme they begin with ; instead of % in LilyPond code).


Third, I can’t actually understand what you are trying to achieve. Could 
you explain the context more or at best just give a mockup image of what 
you’re aiming at?


Here’s what I _could_ make out of your first function. Note the code 
formatting, which is consistent with the rules here. For documentation 
on apply and map see 
 
and 
. 
The procedure index in this manual is very helpful.


%
\version "2.19.58"

#(define (make-dot-list l1)
   (if (null? l1)
   empty-stencil
   (ly:stencil-add
(make-dot (pitch->symbol (car l1)))
(make-dot-list (cdr l1)

#(define-markup-command (complete layout props the-chord)
   (ly:music?)
   (let ((circle (lambda (p) (ly:stencil-in-color
  (ly:stencil-translate
   (make-circle-stencil 0.4 0 #f)
   p)
  0
  0
  0
 (ly:stencil-scale
  (apply ly:stencil-add
(append
 (map circle '((0 . 0)
   (0 . 1)
   (0 . 2)
   (0 . 3)
   (1 . 0)
   (1 . 1)
   (1 . 2)
   (1 . 3)))
 (make-dot-list (map (lambda (m) (ly:music-property m 'pitch))
  (extract-named-music the-chord 'NoteEvent)
  1
  1)))
%%

HTH, Simon


Am 06.05.2017 um 19:19 schrieb zaord:

Hi,

I have a new (small ?) question :

I have define a markup command (below) and this command is calling the
differents functions .
Actually this command is making the differents elements of my customs
diagrams. Firsly the unvariants circles (representing the keyboard of the
instrument in bold) and then the differents colored dots (in itallic on the
code below) depends on the notes of the différents chords.

Now I would like to split this into two differents function, one which
engrave the keybord layout and the other which makes the colored dots since
I need sometines only the colored dots.


#(define-markup-command (complete layout props the-chord)
   (ly:music?)
   (ly:stencil-scale
(ly:stencil-add
 (*ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 0)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 1)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 2)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 3)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 0)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 1)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 2)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 3)) 0 0 0 )
 *
/(make-dot-list
   (map  (lambda (m) (ly:music-property m 'pitch))
 (extract-named-music the-chord 'NoteEvent)  )))  1 1))/


I tried to make a other function like this :

#(define (make-background )
ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0 #f)
(cons 0 0)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 1)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 2)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 3)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 0)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 1)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 2)) 0 0 0 )
   (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 3)) 0 0 0 )
   )

But this make only one dot of the background and not the full keyboard.

Re: Center-align a score

2017-05-06 Thread Kieren MacMillan
David,

>> When 2.19.61 comes out, you'll be able to write
> 
> 2.19.60, that would be.
> 
>> \overrideProperty
>> Score.NonMusicalPaperColumn.line-break-system-details #'((extra-offset
>> . (0.0 . 1.0)))

O_O

Amazing! Thank you so much.
This is *exactly* what I wanted, and will help me really push my scores another 
step towards perfection.

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


Re: Center-align a score

2017-05-06 Thread David Nalesnik
On Sat, May 6, 2017 at 6:40 PM, David Nalesnik  wrote:
> Kieren,
>
> On Thu, Apr 27, 2017 at 8:43 AM, Kieren MacMillan
>  wrote:
>> David,
>>
 A little trial-and-error is required if doing it manually, but there might 
 be a way to automate the process.
>>> Here you go:
>>
>> You da man! This is *exactly* what I was envisioning. Nicely done.
>>
>> Now…   ;)
>>
>> Perhaps there’s a way your new-found [?] knowledge/skill in this area can 
>> help with a long-time feature request I’ve had: an \offset-like way to nudge 
>> systems — especially the explicit Y-offset property, but also the 
>> alignment-distances if possible. Avoiding trial-and-error there would be a 
>> huge savings.
>>
>
> When 2.19.61 comes out, you'll be able to write

2.19.60, that would be.

>
> \overrideProperty
> Score.NonMusicalPaperColumn.line-break-system-details #'((extra-offset
> . (0.0 . 1.0)))
>
> to "nudge" a system one staff-space down the page, for example.
>
> That should be a bit easier to work with than 'Y-offset.
>
> DN

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


Re: Center-align a score

2017-05-06 Thread David Nalesnik
Kieren,

On Thu, Apr 27, 2017 at 8:43 AM, Kieren MacMillan
 wrote:
> David,
>
>>> A little trial-and-error is required if doing it manually, but there might 
>>> be a way to automate the process.
>> Here you go:
>
> You da man! This is *exactly* what I was envisioning. Nicely done.
>
> Now…   ;)
>
> Perhaps there’s a way your new-found [?] knowledge/skill in this area can 
> help with a long-time feature request I’ve had: an \offset-like way to nudge 
> systems — especially the explicit Y-offset property, but also the 
> alignment-distances if possible. Avoiding trial-and-error there would be a 
> huge savings.
>

When 2.19.61 comes out, you'll be able to write

\overrideProperty
Score.NonMusicalPaperColumn.line-break-system-details #'((extra-offset
. (0.0 . 1.0)))

to "nudge" a system one staff-space down the page, for example.

That should be a bit easier to work with than 'Y-offset.

DN

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


Volunteer for a small web app hack?

2017-05-06 Thread Urs Liska
Hi all,

would there be anyone interested and ready helping me putting together a
small web app on short notice? It doesn't have to *look* good (although
it wouldn't hurt ;-) ) but enable me to have something running in a
browser on localhost for a presentation.

What I'd basically need is an form for selecting some configuration
parameters (where the options are  choices partially from presets and
partially from data collected locally (i.e. on the "server").

>From the results of this form some LilyPond configuration is created
(either by generating a command line, by generating a Scheme expression
to pass on the command line or by writing a configuration file),
invoking LilyPond, keeping the user informed about the progress and
serving the resulting score (either simply the PDF or (if it's simple to
implement) as a series of SVG files that can be displayed directly in
the browser).

I *think* this should be quite easy to do - if you're fluent with the
web app stuff and don't have to look up every second command or
technique. Of course I'd be able to help with parts of it (especially
the "application logic", more so if the server runs on Python rather
than Node), but don't see me writing the web app right now.

The issue is that the presentation is already on May 18. Having such an
app available isn't mandatory for my talk but it would be cool. I think
such a tool could go a long way and eventually evolve into a nice web
edition portal, but for now I'd only need a proof-of-concept stub.

I know for the moment I can't offer anything specific in return but I
hope it could be an interesting thing for people to try out. So if you
think you could afford the time please get in touch with me, privately
or on the list.

Best
Urs


-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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


intermediate stem length in long glissando

2017-05-06 Thread Mason Hock
From

http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-as-lines#glissando

"If the stems do not align well with the glissando, they may need to be
repositioned slightly."

Is there a way of automatically extending the stems precisely to the gliss
line rather than manually determining which hidden note will get it
closest? I suspect not, but I use enough long glissandi that I thought I'd
ask.

Thanks,

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


Re: Mark formatting problem

2017-05-06 Thread Wols Lists
On 05/05/17 13:28, Jacques Menu Muzhic wrote:
> Hello Malte,
> 
> I hadn’t thought of an explictit \box, thanks for the hint!

What's ?obviously? happening is that when you ask for a default mark, it
calculates the mark for you (same thing when you ask for the n'th mark).
But if you explicitly ask for "B", then that's what you get... as Malte
says, you have to ask for "B in a box".

Cheers,
Wol


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


Re: OT: Apple stealing "Lily"

2017-05-06 Thread David Kastrup
Tim McNamara  writes:

>> On May 6, 2017, at 3:47 AM, David Kastrup  wrote:
>> Robert Schmaus  writes:
>> 
 Please cool down and stop overreacting.
>>> 
>>> 
>>> Well your statement, which - very possibly without any bad intention
>>> - turned around the historical facts, so admirably matched that
>>> notion that occasionally pops up also on this list ... namely that
>>> notion that everything proprietary is an attack on one's
>>> freedom. And that *is* paranoid.
>
>> Uh, no.  That is the _definition_ of "proprietary": being not at
>> liberty for the taking.  That does not preclude putting the
>> respective consequences into proper relation to one's own personal
>> standards and aims.
>
> This is ultimately questioning whether ownership of anything is moral,
> when taken to the logical conclusion.

Uh, no?  Definitions of words are not a matter of morals.  Unless you
consider "liberty" to be a moral value in itself, regardless of whose
liberty to do what it entails.

> At the current prices, treating those patients alone would bankrupt
> the state; not treating them causes significant long-term health risks
> which are in turn expensive for the state and its taxpayers.  Whether
> doing this increases or decreases liberty is an interesting question.

Indeed, you seem to consider "liberty" something existing as an
independent measurable cumulative entity whereas everyone's personal
liberties are actually independent from and conflicting with those of
others.  The aim of morals is to balance liberties, not maximize them.

-- 
David Kastrup

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


Re: Apply a music-function script to all elements of a list

2017-05-06 Thread zaord
Hi,

I have a new (small ?) question :

I have define a markup command (below) and this command is calling the
differents functions .
Actually this command is making the differents elements of my customs
diagrams. Firsly the unvariants circles (representing the keyboard of the
instrument in bold) and then the differents colored dots (in itallic on the
code below) depends on the notes of the différents chords.

Now I would like to split this into two differents function, one which
engrave the keybord layout and the other which makes the colored dots since
I need sometines only the colored dots.


#(define-markup-command (complete layout props the-chord)
  (ly:music?)
  (ly:stencil-scale
   (ly:stencil-add   
(*ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 0)) 0 0 0 )
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 1)) 0 0 0 )
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 2)) 0 0 0 )   
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 3)) 0 0 0 )
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 0)) 0 0 0 )
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 1)) 0 0 0 )
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 2)) 0 0 0 )   
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 3)) 0 0 0 )  
*
/(make-dot-list 
  (map  (lambda (m) (ly:music-property m 'pitch))
(extract-named-music the-chord 'NoteEvent)  )))  1 1))/


I tried to make a other function like this :

#(define (make-background )
ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0 #f)
(cons 0 0)) 0 0 0 )
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 1)) 0 0 0 )
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 2)) 0 0 0 )   
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 0 3)) 0 0 0 )
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 0)) 0 0 0 )
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 1)) 0 0 0 )
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 2)) 0 0 0 )   
  (ly:stencil-in-color(ly:stencil-translate (make-circle-stencil 0.4 0
#f) (cons 1 3)) 0 0 0 ) 
  )

But this make only one dot of the background and not the full keyboard.

Thanks by advance !

Ewen




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Apply-a-music-function-script-to-all-elements-of-a-list-tp200313p202976.html
Sent from the User mailing list archive at Nabble.com.

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


Re: widening feathered beams

2017-05-06 Thread Mason Hock
This works great. Thank you.

Mason

On 6 May 2017 at 03:42, Thomas Morley  wrote:

> 2017-05-06 4:26 GMT+02:00 Mason Hock :
> > I would like to increase the vertical space between feathered beams. This
> > achieves approximately what I want for left-feathered beaming:
> >
> >   % decelerating
> >   \override Stem.beaming = #(cons (list ) (list 0 3))
> >   \once \override Beam.grow-direction = #LEFT
> >   c16
> >   \override Stem.beaming = #(cons (list 0 3) (list 0 3))
> >   c c
> >   \override Stem.beaming = #(cons (list 0 3) (list ))
> >   c
> >   \revert Stem.beaming
> >
> > but the spacing between the beams and notehead seems strange, and for
> > right-feathered beaming the beams are too low in relation to the stems.
> >
> >   % accelerating
> >   \override Stem.beaming = #(cons (list ) (list 0 3))
> >   \once \override Beam.grow-direction = #RIGHT
> >   c16
> >   \override Stem.beaming = #(cons (list 0 3) (list 0 3))
> >   c c
> >   \override Stem.beaming = #(cons (list 0 3) (list ))
> >   c
> >   \revert Stem.beaming
> >
> > Can anyone suggest a better approach?
> >
> > Thanks,
> >
> > Mason
>
>
>
> Hi,
>
> I'd change Beam.length-fraction:
>
>
> Extended example from NR:
>
> \relative c' {
>
>   \override Beam.length-fraction = 2
>
>   \override Beam.grow-direction = #LEFT
>   \featherDurations #(ly:make-moment 2/1)
>   { c16[ c c c c c c c] }
>   \override Beam.grow-direction = #RIGHT
>   \featherDurations #(ly:make-moment 2/3)
>   { c32[ d e f] }
>   % revert to non-feathered beams
>   \override Beam.grow-direction = #'()
>   { g32[ a b c] }
> }
>
> HTH,
>   Harm
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: OT: Apple stealing "Lily"

2017-05-06 Thread Tim McNamara

> On May 6, 2017, at 3:47 AM, David Kastrup  wrote:
> 
> Robert Schmaus  writes:
> 
>>> Please cool down and stop overreacting.
>> 
>> 
>> Well your statement, which - very possibly without any bad intention - 
>> turned around the historical facts, so admirably matched that notion
>> that occasionally pops up also on this list ... namely that notion
>> that everything proprietary is an attack on one's freedom. And that
>> *is* paranoid.

Stallman, Lessig and the EFF all trend in that direction.  There is a tendency 
to try to keep the notions to computer code, but there are much larger 
implications to the foundational notions.  And sadly a certain amount of 
paranoia is called for in the modern information society:  who has your 
information and what they intend to do with it are salient questions for 
everyone.  I use Apple products because I find them practically superior to 
other options, but I do not trust Apple (or Microsoft, Google, Facebook, etc.)- 
they have their interests at heart, not mine.  As a result I take what steps I 
can to protect myself and my information.  Linux creates different risks, 
mainly mitigated by the ultra-tiny market share, as well as a number of 
practical problems that I do not have the time or skills to solve.  While I am 
sympathetic to Stallman’s and Lessig’s notions, they are not without problems.

> Uh, no.  That is the _definition_ of "proprietary": being not at liberty
> for the taking.  That does not preclude putting the respective
> consequences into proper relation to one's own personal standards and
> aims.

This is ultimately questioning whether ownership of anything is moral, when 
taken to the logical conclusion.  If something (whether real or conceptual) is 
owned by someone then it is proprietary:  my house, my bank account, my car, my 
guitars and amps, the music I have composed and recorded/published, etc.  
Otherwise we end up proposing that only certain classes or types of property 
should be exempt from ownership, which becomes mired the very sticky set of 
laws that govern copyright, patents* and trademark.  That is a rather larger 
issue than is perhaps apropos for the Lilypond mailing list, I think…  Most 
Americans and probably most people around the world consider their right to 
ownership to be part of their liberty and not an infringement of liberty.

*FWIW, the US government has had a law on the books since I think 1910 that 
allows it to claim ownership- without compensation- of the subject of any 
patent, if it is for the “public good”- an extension of eminent domain into 
so-called “intellectual property."  It has been used to circumvent the cost of 
proprietary patented medications, for example, and may soon be used again in 
the state of Louisiana for treating hepatitis C.  The current 12 week course of 
treatment costs $84,000 and Louisiana is looking to cut those costs 
dramatically to be able to afford to treat the thousands of its citizens on 
public health benefits.  At the current prices, treating those patients alone 
would bankrupt the state; not treating them causes significant long-term health 
risks which are in turn expensive for the state and its taxpayers.  Whether 
doing this increases or decreases liberty is an interesting question.



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


Re: Asking too much: text in the staves to cross and overexpose vertical lines

2017-05-06 Thread Klaus Blum
Hi Son, 


Son_V wrote
> is there a way to make these text elements to make the vertical lines
> transparent just for them?

if you want to keep the barlines between the staves, you can simply use the
\whiteout command: 

% -
\new PianoStaff {
  << 
\new Staff \relative c' {c1_\markup \whiteout "blahblahblah" c}
\new Staff {R1 R1}
  >>
}

% maybe not necessary:
\layout {
  \context {
\Score
\override TextScript.layer = #2
  }
}
% -

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Asking-too-much-text-in-the-staves-to-cross-and-overexpose-vertical-lines-tp202970p202973.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Asking too much: text in the staves to cross and overexpose vertical lines

2017-05-06 Thread Noeck
Hi,

Am 06.05.2017 um 17:45 schrieb Son_V:
> This is the same for the words, or even the syllabes separation (say, Ma -- 
> ri -- a).
> is there a way to make these text elements to make the vertical lines
> transparent just for them??

Without knowing your exact use case: This is the reason why there are no
bar lines between staves in a ChoirStaff. So unless you have another
reason against it, I'd suggest to use

\new ChoirStaff << ... >>

instead of just << ... >> to group your staves.

Cheers,
Joram

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


Re: Asking too much: text in the staves to cross and overexpose vertical lines

2017-05-06 Thread Robert Schmaus

Check this link in the LSR:

http://lsr.di.unimi.it/LSR/Item?id=969

It descibes how to create coloured backgrounds for markup. If you simply 
make that background white, it might be just what you want ... if the 
markup is set on top of everything else at least.


Best,
Robert



Am 06.05.17 um 17:45 schrieb Son_V:

I try to express myself better: when there are some words like "^\markup {
\left-column { \italic"Cucco" \italic"Imitate il cucco in voce" } } " they
are crossed by the vertical lines of the score. This is the same for the
words, or even the syllabes separation (say, Ma -- ri -- a).
is there a way to make these text elements to make the vertical lines
transparent just for them??
Hope I had expressed myself clearly... thanks.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Asking-too-much-text-in-the-staves-to-cross-and-overexpose-vertical-lines-tp202970.html
Sent from the User mailing list archive at Nabble.com.

___
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


Asking too much: text in the staves to cross and overexpose vertical lines

2017-05-06 Thread Son_V
I try to express myself better: when there are some words like "^\markup {
\left-column { \italic"Cucco" \italic"Imitate il cucco in voce" } } " they
are crossed by the vertical lines of the score. This is the same for the
words, or even the syllabes separation (say, Ma -- ri -- a).
is there a way to make these text elements to make the vertical lines
transparent just for them??
Hope I had expressed myself clearly... thanks.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Asking-too-much-text-in-the-staves-to-cross-and-overexpose-vertical-lines-tp202970.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Chromatic clash in two voices

2017-05-06 Thread Lukas-Fabian Moser
>
> If you could, how would you distinguish it from a 6/4 measure?
>

At most by suggestive spacing, I think - if at all.
But that does not matter when you're scientifically editing manuscript
musical examples - when doing so I'd like to replicate even those features
of the author's writing habits that I generally find inadvisable.

Anyway, Thomas Morley's code accomplishes what I couldn't: force the
accidental to "jump over" the left note head to the right. Thanks much!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chromatic clash in two voices

2017-05-06 Thread Thomas Morley
2017-05-06 16:18 GMT+02:00 Knute Snortum :
> If you could, how would you distinguish it from a 6/4 measure?
>
>
> ---
> Knute Snortum
> (via Gmail)
>
> On Fri, May 5, 2017 at 9:33 AM, Lukas-Fabian Moser  wrote:
>>
>> In a situation like
>>
>> \version "2.19.44"
>>
>> \new Staff <<
>>   \new Voice {
>> \voiceOne b'!1
>>   }
>>   \new Voice {
>> \voiceTwo bes'!2
>>   }
>> >>
>>
>> Lilypond puts the two accidentals first, then the to note heads side by
>> side ("flat-natural-notehead-notehead"). Is there a way to obtain the
>> ordering "flat-notehead-natural-notehead"?
>>
>> Best
>> Lukas



I've seen things like:

\version "2.19.56"

\new Staff <<
  \new Voice {
\voiceOne
  \once \override Accidental.X-offset = -1
  b'!1
  }
  s1^\markup \halign #-0.6 \stencil #(ly:bracket X '(0 . 7)  0.1 -0.7)
  \new Voice {
\voiceTwo
\once \override NoteColumn.force-hshift = 2
\once \override Accidental.X-offset = 2.6
bes'!2
  }
>>

but it's never nice.


Cheers,
  Harm

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


Re: add more space between subtitle and composer

2017-05-06 Thread Son_V
Many thanks.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/add-more-space-between-subtitle-and-composer-tp202963p202967.html
Sent from the User mailing list archive at Nabble.com.

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


Re: add more space between subtitle and composer

2017-05-06 Thread Phil Holmes
- Original Message - 
From: "Son_V" 

To: 
Sent: Saturday, May 06, 2017 2:54 PM
Subject: add more space between subtitle and composer



How can I do it?
Thanks.



subtitle = \markup { \center-column {  "Name" \vspace #10 } }


--
Phil Holmes

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


Re: Chromatic clash in two voices

2017-05-06 Thread Knute Snortum
If you could, how would you distinguish it from a 6/4 measure?


---
Knute Snortum
(via Gmail)

On Fri, May 5, 2017 at 9:33 AM, Lukas-Fabian Moser  wrote:

> In a situation like
>
> \version "2.19.44"
>
> \new Staff <<
>   \new Voice {
> \voiceOne b'!1
>   }
>   \new Voice {
> \voiceTwo bes'!2
>   }
> >>
>
> Lilypond puts the two accidentals first, then the to note heads side by
> side ("flat-natural-notehead-notehead"). Is there a way to obtain the
> ordering "flat-notehead-natural-notehead"?
>
> Best
> Lukas
>
> ___
> 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: add more space between subtitle and composer

2017-05-06 Thread Kieren MacMillan
Hi Son,

> How can I do it?

1. Read 
, and 
in particular 
.

2. Modify your bookTitleMarkup and/or scoreTitleMarkup as desired.

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


add more space between subtitle and composer

2017-05-06 Thread Son_V
How can I do it?
Thanks.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/add-more-space-between-subtitle-and-composer-tp202963.html
Sent from the User mailing list archive at Nabble.com.

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


Re: How to move a note just a little?

2017-05-06 Thread Knute Snortum
Not quite the solution you were looking for, but try this for your score
block:

  \score {
  \new PianoStaff
  <<
\new Staff = "right"
<<
\new Voice { \voiceOne \soprano }
\new Voice { \voiceTwo \alto }
>>
\new Staff = "left"
<<
\new Voice { \voiceThree \tenor }
\new Voice { \voiceFour \bass }
>>
  >>
  }


---
Knute Snortum
(via Gmail)

On Wed, May 3, 2017 at 1:28 PM, Auke Jongbloed  wrote:

> Hi guys,
>
>  I am engraving a chorale prelude by Georg Friedrich Kauffmann. There is a
> bar where I want the alto voice to cross over to the left hand staff, see
> the example below. But then the b in the alto voice clashed with both d's
> in tenor- and bass voice. I'd like to move the b in the alto a little to
> the left, or both d's in the tenor and bass a little to the right. I have
> tried NoteColumn.force-shift, NoteColumn.X-offset and
> NoteHead.extra-spacing-width in various combinations on the clashing notes,
> but nothing gives the desired effect. I can put voiceThree before d in the
> tenor voice and it moves out of the way nicely. But the d in the bass voice
> stays where it is and that's not the effect that I want.
> Is there a way in Lilypond to nudge a note (either the b in the alto
> voice, or both d's in tenor and bass) a little to the left or to the right?
>
> \version "2.18.2"
>
> global = {
>   \key g \major \time 4/4
> }
>
> soprano = \relative c' {
>   \global
>   fis2 g |
> }
>
> alto = \relative c' {
>   \global
>   c4~ \once \override Beam.positions = #'(-4.5 . -5) c8 \change
> Staff="left"  \voiceOne  b16 a
>   b8 g a b
> }
>
> tenor = \relative c'  {
>   \global
>   a4. d,8 \voiceThree d2
> }
>
> bass = \relative c   {
>   \global \clef bass
>   a8 d d d g,2
> }
>
>   \score {
>   \new PianoStaff
>   <<
> \new Staff = "right"
> <<
> \soprano \\ \alto
> >>
> \new Staff = "left"
> <<
> \tenor \\  \bass
> >>
>   >>
>   }
>
>
> Regards,
> Auke
>
>
> ___
> 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: Percent-sign repeats for non-whole-measure patterns

2017-05-06 Thread Ralph Palmer
On Fri, May 5, 2017 at 1:20 PM, Lukas-Fabian Moser  wrote:

> Is it possible to force Lilypond to use % as a repeat sign if the repeated
> section does not fill a whole measure?
>
> \relative c' {
>   \repeat percent 2 { c4 d }
>   \repeat percent 2 { c4 d e f }
> }
>
> Here, the first repeat is a slash /, the second a percent sign %. I'd like
> to have a % sign in both instances (because the manuscript I'm preparing in
> a scientific context uses it that way).
>

Greetings, Lukas -

It may be unwieldy, but take a look at the bottom of this page:
http://lilypond.org/doc/v2.19/Documentation/notation/short-repeats

Good luck,

Ralph

-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: widening feathered beams

2017-05-06 Thread Thomas Morley
2017-05-06 4:26 GMT+02:00 Mason Hock :
> I would like to increase the vertical space between feathered beams. This
> achieves approximately what I want for left-feathered beaming:
>
>   % decelerating
>   \override Stem.beaming = #(cons (list ) (list 0 3))
>   \once \override Beam.grow-direction = #LEFT
>   c16
>   \override Stem.beaming = #(cons (list 0 3) (list 0 3))
>   c c
>   \override Stem.beaming = #(cons (list 0 3) (list ))
>   c
>   \revert Stem.beaming
>
> but the spacing between the beams and notehead seems strange, and for
> right-feathered beaming the beams are too low in relation to the stems.
>
>   % accelerating
>   \override Stem.beaming = #(cons (list ) (list 0 3))
>   \once \override Beam.grow-direction = #RIGHT
>   c16
>   \override Stem.beaming = #(cons (list 0 3) (list 0 3))
>   c c
>   \override Stem.beaming = #(cons (list 0 3) (list ))
>   c
>   \revert Stem.beaming
>
> Can anyone suggest a better approach?
>
> Thanks,
>
> Mason



Hi,

I'd change Beam.length-fraction:


Extended example from NR:

\relative c' {

  \override Beam.length-fraction = 2

  \override Beam.grow-direction = #LEFT
  \featherDurations #(ly:make-moment 2/1)
  { c16[ c c c c c c c] }
  \override Beam.grow-direction = #RIGHT
  \featherDurations #(ly:make-moment 2/3)
  { c32[ d e f] }
  % revert to non-feathered beams
  \override Beam.grow-direction = #'()
  { g32[ a b c] }
}

HTH,
  Harm

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


Re: OT: Apple stealing "Lily"

2017-05-06 Thread David Kastrup
Robert Schmaus  writes:

>> Please cool down and stop overreacting.
>
>
> Well your statement, which - very possibly without any bad intention - 
> turned around the historical facts, so admirably matched that notion
> that occasionally pops up also on this list ... namely that notion
> that everything proprietary is an attack on one's freedom. And that
> *is* paranoid.

Uh, no.  That is the _definition_ of "proprietary": being not at liberty
for the taking.  That does not preclude putting the respective
consequences into proper relation to one's own personal standards and
aims.

-- 
David Kastrup

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


Re: OT: Apple stealing "Lily"

2017-05-06 Thread Robert Schmaus



Please cool down and stop overreacting.



Well your statement, which - very possibly without any bad intention - 
turned around the historical facts, so admirably matched that notion 
that occasionally pops up also on this list ... namely that notion that 
everything proprietary is an attack on one's freedom. And that *is* 
paranoid.


Nevertheless my response was meant mainly sarcastic. And you have to 
admit that your post was not at all uncertain - you were very positive 
in your statement ...




W/r to your claim "...basically, Xerox sold Apple the concept in return
for Apple shares...":
In my book that's alternative facts. Being allowed to look at something
does not exactly establish ownership, copyright, usage rights or even
the right to copy something.

The single correct part of that part of your statement is "...the Xerox
management [...] completely failed to see the potential of a GUI"


I guess that's a pov issue. Jobs made a deal with Xerox to get 
information about the stuff they're developing. And (according to the 
account of one of the Xerox scientists) Jobs did not hide at all that he 
thought the concept to be a gold mine. (see here 
https://www.youtube.com/watch?v=ferle2Uovks)
Still Xerox gave him access to a lot of details. Is that stealing? You 
tell me ...


And I suggest we either leave it at that or we take the conversation off 
the list.


Best,
Robert

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