How to move a note just a little

2017-05-03 Thread Engraver

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, I want them to 
stay merged.


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


Re: Apple stealing "Lily"

2017-05-03 Thread Devin Ulibarri
Andrew Bernard:
> Lilypond is not a brand and not a trademark. 

So, no one has put in for a trademark for Lilypond?

> It's open source software, and
> it does not compete in a market. Dear me. Lilypond software has no
right or
> monopoly over the English word lily.

Software can be free/libre (open source) and still have trademark.

Obtaining a trademark for free software is not a bad idea. It protects
users from potential confusion (imagine if anyone could copy any
branding they wished--how would you know you were using a brand you
trust?). Proprietary software is unethical because it restricts its
users. However because trademark protects users and not proprietors I
would not consider it unethical.

GNOME, for example, takes actions to protect its trademarked logo and
name. Here are some examples:
unitarypatent.com/gnome-trademark-infringement/
https://yro.slashdot.org/story/14/11/11/1331233/gnome-project-seeks-donations-for-trademark-battle-with-groupon

Other info from there website:
https://wiki.gnome.org/FoundationBoard/Resources/LicensingAgreement
https://www.gnome.org/logo-and-trademarks/

...having trouble finding a published reason for the rationale, but what
I have read was convincing.

Well, I guess there is a "good, bad, and ugly" according to
https://www.theguardian.com/technology/2013/apr/29/trademarks-good-bad-ugly

At any rate, just watch out, if Apple continually tries to advance into
imitating free/libre branding in an attempt to push it out of the market
completely, then that would be a problem for all of us.

Devin

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


Re: Repeat tremolo question

2017-05-03 Thread Simon Albrecht

Am 03.05.2017 um 21:09 schrieb Menu Jacques:

The LPNR gives as example:
  
\relative c'' {

\repeat tremolo 8 { c16 d }
\repeat tremolo 6 { c16 d }
\repeat tremolo 2 { c16 d }
}

I found by experimenting with 2.19.55 that chords can be used in such tremolos.


Of course they can!


The doc doesn’t explicitly exclude unequal durations, such as:

\repeat tremolo 8 { c16 d8 }

Is that meaningful from a musical point of view? Should the doc mention that 
case, either positively or negatively?


No, it’s not meaningful (or rather, there’s no notation for that). I 
don’t think the docs should mention it; you might be the first one to 
come up with the idea… :-)


Best, Simon

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


Re: lilyjazz?

2017-05-03 Thread Pierre-Alex . Hébert
Hello,

I had this problem too: "\require" has to be replaced by "\include".

Regards,
Pierre




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/lilyjazz-tp200044p202876.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: lilyjazz?

2017-05-03 Thread Jacques Menu Muzhic
Hello,

With:

%%%

\version "2.19.55"

\require "lilyjazz"

\layout {
  \context {
\Score \jazzOn
  }
}

chordNames = \chordmode {   e1:maj7 ees:maj7 }
melody = \relative c'  {  e1  ees }

\score  {
  <<
\new ChordNames { \chordNames  }
\new Staff {  \melody }
\new TabStaff {\melody}
  >>
}

%%%

I get a message telling that \require is refused:

Starting lilypond 2.19.55 [Untitled (2)]...
Processing 
`/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly'
Parsing...
/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly:3:1
 : error: unknown 
escaped string: `\require'

\require "lilyjazz"
/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly:3:19
 : error: syntax error, 
unexpected STRING, expecting '.' or '=' or ','
\require "lilyjazz
"
/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly:7:12
 : error: unknown 
escaped string: `\jazzOn'
\Score
\jazzOn
/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly:8:3
 : error: syntax error, 
unexpected '}', expecting '='
}
/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly:12:20
 : error: wrong type for 
argument 2. Expecting music, found "c"
melody = \relative
c' { e1 ees }
/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly:12:21
 : error: syntax error, 
unexpected '''
melody = \relative c
' { e1 ees }
/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly:12:39
 : error: unrecognized 
string, not in text script or \lyricmode
melody = \relative c' {
e1 ees }
/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly:12:51
 : error: unrecognized 
string, not in text script or \lyricmode
melody = \relative c' { e1
ees }
/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly:20:2
 : error: Unfinished 
main input
}
Interpreting music...
Preprocessing graphical objects...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to 
`/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T//lilypond-MKFHkK'...
Converting to `document.pdf'...
Deleting `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T//lilypond-MKFHkK'...
fatal error: failed files: 
"/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6mgn/T/frescobaldi-a87j_7ge/tmpkrc2z032/document.ly"
Exited with return code 1.

JM

> Le 3 mai 2017 à 10:56, Pierre H  a écrit :
> 
> Hello Rob,
> 
> I had the same problem.
> I solved it by replacing the font name "LilyJAZZText" in (the bottom of the)
> file "jazzchord.ly" (or "jazzchord.ily") with the following:
> "lilyjazz-chord".
> Now, it works fine.
> 
> Regards,
> Pierre
> 
> 
> 
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/lilyjazz-tp200044p202866.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


Repeat tremolo question

2017-05-03 Thread Menu Jacques
Hello folks,

The LPNR gives as example:
 
\relative c'' {
   \repeat tremolo 8 { c16 d }
   \repeat tremolo 6 { c16 d }
   \repeat tremolo 2 { c16 d }
}

I found by experimenting with 2.19.55 that chords can be used in such tremolos.

The doc doesn’t explicitly exclude unequal durations, such as:

   \repeat tremolo 8 { c16 d8 }

Is that meaningful from a musical point of view? Should the doc mention that 
case, either positively or negatively?

Thanks for your help!

JM


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


Repeat structures question

2017-05-03 Thread Menu Jacques
Hello folks,

As of 2.19.55 in the example below, one can « replicate » the \repeat command 
needed in P_POne_Staff_One_Voice_One in both \chordmode and \lyricmode.
The same score is obtained with the \repeat only in P_POne_Staff_One_Voice_One.

Is such a « replication »  good practice? Are there case where this could lead 
to sync problems between chords, music and lyrics?

Thanks for your advice!

JM

—

\version "2.19.55"

\header {
  title  = "Repeat structures questions"
}

\paper {
}

\layout {
}

P_POne_Harmony_Voice = \chordmode {
  \clef "treble"
  \time 2/4
  \repeat volta 2 {
f2 | % 2
c2 | % 3
  }
  f2 | % 4
}

P_POne_Staff_One_Voice_One = \relative {
  \clef "treble"
  \time 2/4
  \repeat volta 2 {
f'4. ^\markup { \bold Allegro } r8 | % 2
f8 a8 b8 a8 | % 3
  }
  d,8 \mf d4 e8 | % 4

}

P_POne_Staff_One_Voice_One_Stanza_One = \lyricmode {
  \time 2/4
  \repeat volta 2 {
Aa Bb Cc Dd Ee
  }
  Ff Gg Hh
}

\score {
  <<
\new PianoStaff <<
  \set PianoStaff.instrumentName = #"Music"

  \context ChordNames = "P_POne_Harmony_Voice"
  \P_POne_Harmony_Voice

  \new Staff <<
\context Voice = "P_POne_Staff_One_Voice_One" <<
  \P_POne_Staff_One_Voice_One
>>
\new Lyrics
\lyricsto "P_POne_Staff_One_Voice_One"
\P_POne_Staff_One_Voice_One_Stanza_One
  >>
>>
  >>

  \layout {
  }

  \midi {
  }
}


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


Re: lilyjazz?

2017-05-03 Thread Pierre H
Hello Rob,

I had the same problem.
I solved it by replacing the font name "LilyJAZZText" in (the bottom of the)
file "jazzchord.ly" (or "jazzchord.ily") with the following:
"lilyjazz-chord".
Now, it works fine.

Regards,
Pierre



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/lilyjazz-tp200044p202866.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: Up and down arrows

2017-05-03 Thread Federico Bruni
Il giorno mer 3 mag 2017 alle 2:10, David Wright 
 ha scritto:
Looking at the snippit with its more handsome arrow, I can see the 
sense in Pierre's suggestion of using bowing marks; they're more 
distinguishable from each other (if these markings are important).


In guitar books I have, bowing marks are used to indicate the 
*strumming* directions. For flat/plectrum *picking* I've often seen 
arrows just like in snippet #879 in the LSR.





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


Re: replace musical symbols

2017-05-03 Thread Stjepan Horvat
Thanks!

*Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje.
Izreke 12:18*

On Wed, May 3, 2017 at 1:10 PM, Simon Albrecht 
wrote:

> Am 03.05.2017 um 10:38 schrieb Stjepan Horvat:
>
>> Hi guys.
>>
>> Is there an easy way to replace musical elements like
>> noteheads (1, 4)
>> clef
>> accidentals (sharp, flat)
>>
>> with svg or eps elements?
>> with override or tweak?
>>
>> without creating new font.
>>
>
> It would seem your best bet is creating a style sheet, which in a \layout
> expression overrides the stencil expression of grobs. That way you can use
> the markup command \epsfile, turn the markup into a stencil using
> grob-interpret-markup and apply that to the grob, maybe also with callbacks.
> But it would help to have a concrete example of your use case.
>
> Best, Simon
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: replace musical symbols

2017-05-03 Thread Simon Albrecht

Am 03.05.2017 um 10:38 schrieb Stjepan Horvat:

Hi guys.

Is there an easy way to replace musical elements like
noteheads (1, 4)
clef
accidentals (sharp, flat)

with svg or eps elements?
with override or tweak?

without creating new font.


It would seem your best bet is creating a style sheet, which in a 
\layout expression overrides the stencil expression of grobs. That way 
you can use the markup command \epsfile, turn the markup into a stencil 
using grob-interpret-markup and apply that to the grob, maybe also with 
callbacks.

But it would help to have a concrete example of your use case.

Best, Simon

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


Re: Abstracting these commands

2017-05-03 Thread Urs Liska


Am 3. Mai 2017 07:19:46 MESZ schrieb Michiel Sikma :
>Hi Andrew,
>
>Thanks, sorry for not including it to begin with.
>Actually, in making that example I had another look through the snippet
>repository and found this http://lsr.di.unimi.it/LSR/Snippet?id=739 -
>which
>I'm now using and modifying it a little for my needs.
>Basically, a simple way to define nice looking markup + dynamics
>combinations. I think this will do fine.

Please have a look at 
https://github.com/openlilylib/snippets/tree/master/input-shorthands/easy-custom-dynamics

for that use case.

HTH
Urs

>
>Sorry for bothering the list.
>
>Michiel
>
>
>Let's Deliver
>
>http://letsdeliver.com/
>
>m...@letsdeliver.com
>
>On Sun, Apr 30, 2017 at 1:11 PM, Andrew Bernard
>
>wrote:
>
>> Hi Michiel,
>>
>> Can you post a MWE showing the issue you are concerned about? I
>believe
>> there is a simple answer, but I don't want to code up a sample that
>may not
>> be what you want.
>>
>> MWE's a pretty much mandatory for helping out.
>>
>> Andrew
>>
>>

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