How to determine if a KeySignature is default or not

2016-05-22 Thread Steven Weber
Is there an easy way to determine if a KeySignature grob is present because
of a key change event, or just because a new line was started?  The Clef gob
has a non-default property that contains this info, but it doesn't have a
value for KeySignature, and I couldn't find any other property that looks
like it would tell me that.

 

Thanks!

 

--Steven

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


Re: Typesetting a Bach Ornament; Sarabande, French Suite 5

2016-05-22 Thread Andrew Bernard
Hi Sam,

On 23/05/2016, 5:43 AM, "lilypond-user on behalf of Sam Bivens" wrote:

I want to mimic the given edition as closely as possible;


Do you want to do that or do you want to get close to what Bach wrote? If you 
look at the Bach autograph of this piece, available in the Digital Bach 
Archive, you will see not only no nachschlag there but hardly any phrasing 
slurs, and definitely not the dotted one in your sample image. The ornament in 
your edition is an editorial insertion, and cobbled together with type punches 
they had lying around I suppose. For myself, as a harpsichord player and 
student of Bach, I’d prefer to set from the autograph manuscript where 
possible. Of course, then you must become musicologist and editor yourself, but 
there is something to be said for that. And I am not keen on propagating 
incorrect editorial decisions and misconceptions through further typesetting of 
them.

Of course, there are a lot of MSS of this work by various copyists, available 
in the same archive. I have not checked them all. But if Bach himself is 
leaving out the ornament signs it means he expects you to be a good enough 
musician to understand what to do without being told – as per normal in 18c 
music.

Here’s the Bach Digital Archive:

https://www.ilab.org/eng/documentation/275-bach_digital__johann_sebastian_bachs_autograph_manuscripts.html

Attached is the fragment in question from the autograph.

Andrew



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


Re: Typesetting a Bach Ornament; Sarabande, French Suite 5

2016-05-22 Thread Sam Bivens

Hi Harm,

This was *incredibly* helpful. I've now toyed around with a few 
versions, some using a couple of different mensural glyphs as well, just 
to see which version my colleague likes best.


Thanks so much!

Sam


On 05/22/2016 06:16 PM, Thomas Morley wrote:

2016-05-22 21:43 GMT+02:00 Sam Bivens :

I'm having trouble typesetting an ornament in the fifth measure of the
Sarabande from the E-flat French Suite. An image can be found at
https://www.dropbox.com/s/hhgmne640fs1twb/ornament.jpg?dl=0 The ornament in
question is the two in-staff markings on the dotted-quarter A.

Unfortunately, I don't know the edition (I only have a photocopy of this
movement, and it's not on IMSLP). Nor have I even been able to track down
exactly what this ornament is. The closest I've found is the Nachschlag at
http://www.iment.com/maida/familytree/henry/music/bachnotation.htm#passinga
(The double-slur-like figure from Invention 3 at the bottom of that section
is similar to what appears in the Henle version of the Sarabande.)

I want to mimic the given edition as closely as possible; could anyone help
me out with typesetting this? I hate to ask, because it will look like I've
put forth zero effort; but it's just because I legitimately have no clue
where to begin.

http://lilypondblog.org/2013/08/adding-ornamentations-to-note-heads-part-1/
at Scores of Beauty looked promising, but I can't even manage to get that to
compile; I'm guessing something in LilyPond has happened since that was
published that prevents it from working in my 2.19.40.

Nicolas' code over there was for v2.17.24.

He made an update for 2.19.33:
https://github.com/nsceaux/nenuvar/commit/c6b65d7ae3d2e7e2b41f9ef3637ec32085c27d0f

Though, meanwhile some internals changed again.
Attached you'll find my own update to v2.19.42.
Due to discussion at
http://lilypond.1069038.n5.nabble.com/crash-moving-DotColumn-td190493.html

Indepent from the topic here I've found a problem where the DotColumn
is moved too far.

Thus cc-ing him


I've attached a laughably barren MWE; it'll save about 4 seconds.

Appreciated, though!


Sam

Cheers,
   Harm


--
Sam Bivens
Ph.D. Student, Music Theory
Eastman School of Music
Co-Editor, /Intégral/
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Typesetting a Bach Ornament; Sarabande, French Suite 5

2016-05-22 Thread Thomas Morley
2016-05-22 21:43 GMT+02:00 Sam Bivens :
> I'm having trouble typesetting an ornament in the fifth measure of the
> Sarabande from the E-flat French Suite. An image can be found at
> https://www.dropbox.com/s/hhgmne640fs1twb/ornament.jpg?dl=0 The ornament in
> question is the two in-staff markings on the dotted-quarter A.
>
> Unfortunately, I don't know the edition (I only have a photocopy of this
> movement, and it's not on IMSLP). Nor have I even been able to track down
> exactly what this ornament is. The closest I've found is the Nachschlag at
> http://www.iment.com/maida/familytree/henry/music/bachnotation.htm#passinga
> (The double-slur-like figure from Invention 3 at the bottom of that section
> is similar to what appears in the Henle version of the Sarabande.)
>
> I want to mimic the given edition as closely as possible; could anyone help
> me out with typesetting this? I hate to ask, because it will look like I've
> put forth zero effort; but it's just because I legitimately have no clue
> where to begin.
>
> http://lilypondblog.org/2013/08/adding-ornamentations-to-note-heads-part-1/
> at Scores of Beauty looked promising, but I can't even manage to get that to
> compile; I'm guessing something in LilyPond has happened since that was
> published that prevents it from working in my 2.19.40.

Nicolas' code over there was for v2.17.24.

He made an update for 2.19.33:
https://github.com/nsceaux/nenuvar/commit/c6b65d7ae3d2e7e2b41f9ef3637ec32085c27d0f

Though, meanwhile some internals changed again.
Attached you'll find my own update to v2.19.42.
Due to discussion at
http://lilypond.1069038.n5.nabble.com/crash-moving-DotColumn-td190493.html

Indepent from the topic here I've found a problem where the DotColumn
is moved too far.

Thus cc-ing him

>
> I've attached a laughably barren MWE; it'll save about 4 seconds.

Appreciated, though!

>
> Sam

Cheers,
  Harm
\version "2.19.42"

%% taken from:
%% https://github.com/nsceaux/nenuvar/blob/master/common/side-ornementations.ily
%% and adapted for v2.19.42

%%%
%%% Utilities for defining new grobs, grob properties and music event types
%%% (there should be built-in commands to do that in LilyPond)
%%%
#(define (define-grob-definition grob-name grob-entry)
   "Define a new grob and add it to `all-grob-definitions', after
scm/define-grobs.scm fashion.
After grob definitions are added, use:

\\layout {
  \\context {
\\Global
\\grobdescriptions #all-grob-descriptions
  }
}

to register them."
   (let* ((meta-entry   (assoc-get 'meta grob-entry))
  (class(assoc-get 'class meta-entry))
  (ifaces-entry (assoc-get 'interfaces meta-entry)))
 (set-object-property! grob-name 'translation-type? ly:grob-properties?)
 (set-object-property! grob-name 'is-grob? #t)
 (set! ifaces-entry (append (case class
  ((Item) '(item-interface))
  ((Spanner) '(spanner-interface))
  ((Paper_column) '((item-interface
 paper-column-interface)))
  ((System) '((system-interface
   spanner-interface)))
  (else '(unknown-interface)))
ifaces-entry))
 (set! ifaces-entry (uniq-list (sort ifaces-entry symbolhttp://lilypond.1069038.n5.nabble.com/crash-moving-DotColumn-td190493.html
  (set! (ly:grob-property dot-column 'positioning-done)
(lambda (grob)
  (ly:dot-column::calc-positioning-done grob)
  (ly:grob-translate-axis! grob orn-width X)
  #t)
  ornementation))
   
#(define (head-ornementation-engraver-acknowledge-note-head
  engraver note-grob source-engraver)
   "Note head acknowledge method for the head ornementation engraver.
When the note head event attached to the note head grob has ornementation
events among its articulations, then create a HeadOrnementation grob"
   (let* ((note-event (ly:grob-property note-grob 'cause)))
 (for-each (lambda (articulation)
 (if (memq 'head-ornementation-event
(ly:event-property articulation 'class))
 (begin
   (if (markup? (ly:event-property articulation 'text-left))
   (make-head-ornementation
engraver
note-grob
(ly:event-property articulation 'text-left)
LEFT
(ly:event-property articulation 'is-inside)
(ly:event-property articulation 'shift-when-on-line)))


   (if (markup? (ly:event-property articulation 'text-right))
   (make-he

Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Richard Shann
On Sun, 2016-05-22 at 12:46 +0100, Richard Shann wrote:
> On Sun, 2016-05-22 at 13:26 +0200, Simon Albrecht wrote:
> > On 22.05.2016 13:01, Andrew Bernard wrote:
> > > Hi Richard,
> > >
> > > When attempting to view your score on IMSLP, I get an error page as 
> > > follows:
> > >
> > > You have reached this page because the file you requested has not been 
> > > reviewed for copyright, or is currently restricted due to various 
> > > reasons. The block will be lifted after the file is reviewed for 
> > > copyright and/or other applicable reasons are resolved.
> > > Unless you are the uploader, all files marked "[B]" are blocked 
> > > temporarily awaiting copyright review (which should finish in a few days 
> > > at most) or will become public domain next year. There are currently 36 
> > > files awaiting review, and 182 files will fall into public domain next 
> > > year.
> > >
> > > Consequently the score is inaccessible.
> > 
> > …for a few days, until it has been approved.
> 
> a few hours in my experience...

It's cleared now - I've added the second of the sonatas as well now,
which took less than half the time - no tweaks at all for this one,
apart from the curved tuplet bracket; I wonder did my email "Switching
the direction of slurs in tupletBracketToSlur" get overlooked or is
there no way that a direction can be set to be the opposite to the stems
and beams direction?

Richard



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


Re: Typesetting a Bach Ornament; Sarabande, French Suite 5

2016-05-22 Thread Kieren MacMillan
Robert,

> I believe Sam wasn't talking about the \prall glyph but the in-staff symbol 
> just to the left of the A note head that looks a bit like a tied letter c.

Yep. My bad. Apologies for the noise.
K.


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: Typesetting a Bach Ornament; Sarabande, French Suite 5

2016-05-22 Thread Hans Åberg

> On 22 May 2016, at 21:43, Sam Bivens  wrote:
> 
> I'm having trouble typesetting an ornament in the fifth measure of the 
> Sarabande from the E-flat French Suite. An image can be found at 
> https://www.dropbox.com/s/hhgmne640fs1twb/ornament.jpg?dl=0 The ornament in 
> question is the two in-staff markings on the dotted-quarter A.
> Unfortunately, I don't know the edition (I only have a photocopy of this 
> movement, and it's not on IMSLP). Nor have I even been able to track down 
> exactly what this ornament is. The closest I've found is the Nachschlag at 
> http://www.iment.com/maida/familytree/henry/music/bachnotation.htm#passinga

It is an appoggiatura: it is indicated as in your score in the Harvard Concise 
Dictionary of Music. In modern notation, probably a 16th grace note. Also on 
the URL you give, though it looks slightly different:
http://www.iment.com/maida/familytree/henry/music/bachnotation.htm#o9

You might what others have written; perhaps http://imslp.org/.



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


Re: Typesetting a Bach Ornament; Sarabande, French Suite 5

2016-05-22 Thread Robert Schmaus
In the OP's defense: I believe Sam wasn't talking about the \prall glyph but 
the in-staff symbol just to the left of the A note head that looks a bit like a 
tied letter c. What it is, however, I don't know ... maybe just that - the 
letter c?



__

It is wrong always, everywhere, and for anyone, to believe anything upon 
insufficient evidence. 
-- William Kingdon Clifford


> On 22 May 2016, at 22:22, Phil Holmes  wrote:
> 
> Kieren has given you the answer, but 2 minutes browsing 
> http://lilypond.org/doc/v2.19/Documentation/notation/list-of-articulations 
> would have allowed you to find it yourself, and possibly find others you need 
> in the future.
> 
> --
> Phil Holmes
>  
>  
> - Original Message -
> From: Sam Bivens
> To: lilypond-user@gnu.org
> Sent: Sunday, May 22, 2016 8:43 PM
> Subject: Typesetting a Bach Ornament; Sarabande, French Suite 5
> 
> I'm having trouble typesetting an ornament in the fifth measure of the
> Sarabande from the E-flat French Suite. An image can be found at 
> https://www.dropbox.com/s/hhgmne640fs1twb/ornament.jpg?dl=0 The ornament in 
> question is the two in-staff markings on the dotted-quarter A.
> 
> Unfortunately, I don't know the edition (I only have a photocopy of this 
> movement, and it's not on IMSLP). Nor have I even been able to track down 
> exactly what this ornament is. The closest I've found is the Nachschlag at 
> http://www.iment.com/maida/familytree/henry/music/bachnotation.htm#passinga 
> (The double-slur-like figure from Invention 3 at the bottom of that section 
> is similar to what appears in the Henle version of the Sarabande.)
> I want to mimic the given edition as closely as possible; could anyone help 
> me out with typesetting this? I hate to ask, because it will look like I've 
> put forth zero effort; but it's just because I legitimately have no clue 
> where to begin.
> 
> http://lilypondblog.org/2013/08/adding-ornamentations-to-note-heads-part-1/ 
> at Scores of Beauty looked promising, but I can't even manage to get that to 
> compile; I'm guessing something in LilyPond has happened since that was 
> published that prevents it from working in my 2.19.40.
> 
> I've attached a laughably barren MWE; it'll save about 4 seconds.
> 
> Sam
> 
> ___
> 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: Typesetting a Bach Ornament; Sarabande, French Suite 5

2016-05-22 Thread Phil Holmes
Kieren has given you the answer, but 2 minutes browsing 
http://lilypond.org/doc/v2.19/Documentation/notation/list-of-articulations 
would have allowed you to find it yourself, and possibly find others you need 
in the future.

--
Phil Holmes


  - Original Message - 
  From: Sam Bivens 
  To: lilypond-user@gnu.org 
  Sent: Sunday, May 22, 2016 8:43 PM
  Subject: Typesetting a Bach Ornament; Sarabande, French Suite 5


  I'm having trouble typesetting an ornament in the fifth measure of the 
Sarabande from the E-flat French Suite. An image can be found at 
https://www.dropbox.com/s/hhgmne640fs1twb/ornament.jpg?dl=0 The ornament in 
question is the two in-staff markings on the dotted-quarter A.


  Unfortunately, I don't know the edition (I only have a photocopy of this 
movement, and it's not on IMSLP). Nor have I even been able to track down 
exactly what this ornament is. The closest I've found is the Nachschlag at 
http://www.iment.com/maida/familytree/henry/music/bachnotation.htm#passinga 
(The double-slur-like figure from Invention 3 at the bottom of that section is 
similar to what appears in the Henle version of the Sarabande.)

  I want to mimic the given edition as closely as possible; could anyone help 
me out with typesetting this? I hate to ask, because it will look like I've put 
forth zero effort; but it's just because I legitimately have no clue where to 
begin.

  http://lilypondblog.org/2013/08/adding-ornamentations-to-note-heads-part-1/ 
at Scores of Beauty looked promising, but I can't even manage to get that to 
compile; I'm guessing something in LilyPond has happened since that was 
published that prevents it from working in my 2.19.40.

  I've attached a laughably barren MWE; it'll save about 4 seconds.

  Sam



--


  ___
  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: Typesetting a Bach Ornament; Sarabande, French Suite 5

2016-05-22 Thread Kieren MacMillan
Hi Sam,


\prall
?

Hope that helps!
Kieren.

On May 22, 2016, at 3:43 PM, Sam Bivens  wrote:

> I'm having trouble typesetting an ornament in the fifth measure of the 
> Sarabande from the E-flat French Suite. An image can be found at 
> https://www.dropbox.com/s/hhgmne640fs1twb/ornament.jpg?dl=0 The ornament in 
> question is the two in-staff markings on the dotted-quarter A.
> Unfortunately, I don't know the edition (I only have a photocopy of this 
> movement, and it's not on IMSLP). Nor have I even been able to track down 
> exactly what this ornament is. The closest I've found is the Nachschlag at 
> http://www.iment.com/maida/familytree/henry/music/bachnotation.htm#passinga 
> (The double-slur-like figure from Invention 3 at the bottom of that section 
> is similar to what appears in the Henle version of the Sarabande.)
> I want to mimic the given edition as closely as possible; could anyone help 
> me out with typesetting this? I hate to ask, because it will look like I've 
> put forth zero effort; but it's just because I legitimately have no clue 
> where to begin.
> 
> http://lilypondblog.org/2013/08/adding-ornamentations-to-note-heads-part-1/ 
> at Scores of Beauty looked promising, but I can't even manage to get that to 
> compile; I'm guessing something in LilyPond has happened since that was 
> published that prevents it from working in my 2.19.40.
> 
> I've attached a laughably barren MWE; it'll save about 4 seconds.
> 
> Sam


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


Typesetting a Bach Ornament; Sarabande, French Suite 5

2016-05-22 Thread Sam Bivens
I'm having trouble typesetting an ornament in the fifth measure of the 
Sarabande from the E-flat French Suite. An image can be found at 
https://www.dropbox.com/s/hhgmne640fs1twb/ornament.jpg?dl=0 The ornament 
in question is the two in-staff markings on the dotted-quarter A.


Unfortunately, I don't know the edition (I only have a photocopy of this 
movement, and it's not on IMSLP). Nor have I even been able to track 
down exactly what this ornament is. The closest I've found is the 
/Nachschlag/ at 
http://www.iment.com/maida/familytree/henry/music/bachnotation.htm#passinga 
(The double-slur-like figure from Invention 3 at the bottom of that 
section is similar to what appears in the Henle version of the Sarabande.)


I want to mimic the given edition as closely as possible; could anyone 
help me out with typesetting this? I hate to ask, because it will look 
like I've put forth zero effort; but it's just because I legitimately 
have no clue where to begin.


http://lilypondblog.org/2013/08/adding-ornamentations-to-note-heads-part-1/ 
at Scores of Beauty looked promising, but I can't even manage to get 
that to compile; I'm guessing something in LilyPond has happened since 
that was published that prevents it from working in my 2.19.40.


I've attached a laughably barren MWE; it'll save about 4 seconds.

Sam

\version "2.19.40"

\relative c'' {
  g8 a!16 b a4.\prall b8
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: What is the correct way(TM) to set a Rezitationston?

2016-05-22 Thread Noeck
Hi

Am 22.05.2016 um 20:52 schrieb Rüdiger Ranft:
> But I don't know how to hide the text assigned to the hidden
> note, and now filled in the NARROW NO-BREAK SPACE Unicode character.

http://lilypond.org/doc/v2.19/Documentation/learning/aligning-lyrics-to-a-melody

A underscore _ in the lyric text skips a note and is the standard
technique. But of course a non-breaking space works, too.

Cheers,
Joram

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


Re: What is the correct way(TM) to set a Rezitationston?

2016-05-22 Thread Rüdiger Ranft
Am 19.05.2016 um 17:21 schrieb David Wright:
> I printed and processed the pot of coffee for myself, and thought I
> might as well put it into these archives.
> 
> I added the overlooked lyric alignment, changed the hyphenation (most
> disappears) and removed the indentation. Ragged right closes up the
> syllables. In any case, I've always printed recitatives ragged so that
> I don't lose my place under pressure.

Great! This does the trick, but I found an issue where I can work
around, but which feels a bit hacky: the bars are only expanded, when
there is a note with text following. Also a \break does not work between
two \balken (I need this because there is a lot of text, which breaks
into more lines).
I figured out to work around it by placing a dummy note with \hide at
the end. But I don't know how to hide the text assigned to the hidden
note, and now filled in the NARROW NO-BREAK SPACE Unicode character.

Bye
Rudi.

\version "2.18.2"

ohr = \markup {
  \with-dimensions #'(0 . 0) #'(0 . 0)
  \translate #'( 0 . -0.3)
  \combine \filled-box #'(-0.3 . +0.3) #'(0 . 0.3) #0 % Naht
  \filled-box #'(-0.8 . +0.8) #'(0 . 0.15) #0 % Strich
}

balken = {
  \once \override Glissando #'after-line-breaking = #(lambda (grob)
(let* ((left-bound (ly:spanner-bound grob LEFT))
	   (left-Y (assoc-get 'Y (ly:grob-property grob 'left-bound-info
 (ly:grob-set-property! left-bound 'stencil #f)
 (ly:grob-set-nested-property! grob '(right-bound-info Y) left-Y)))

  \once \override Glissando #'thickness = #6
  \once \override Glissando #'(bound-details left padding) = #-0.5
  \once \override Glissando #'(bound-details right padding) = #1.3
  \once \override Glissando #'(bound-details left text) = \markup \rotate #-90 \ohr
  \once \override Glissando #'(bound-details right text) = \markup \rotate #90 \ohr
  \once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
  \once \override Glissando #'minimum-length = 10
  <>\glissando
}

lbalken = {
  \once \override Glissando #'after-line-breaking = #(lambda (grob)
(let* ((left-bound (ly:spanner-bound grob LEFT))
	   (left-Y (assoc-get 'Y (ly:grob-property grob 'left-bound-info
 (ly:grob-set-property! left-bound 'stencil #f)
 (ly:grob-set-nested-property! grob '(right-bound-info Y) left-Y)))

  \once \override Glissando #'thickness = #6
  \once \override Glissando #'(bound-details left padding) = #-0.5
  \once \override Glissando #'(bound-details right padding) = #1.3
  \once \override Glissando #'(bound-details left text) = \markup \rotate #-90 \ohr
  \once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
  \once \override Glissando #'minimum-length = 10
  <>\glissando
}

rbalken = {
  \once \override Glissando #'after-line-breaking = #(lambda (grob)
(let* ((left-bound (ly:spanner-bound grob LEFT))
	   (left-Y (assoc-get 'Y (ly:grob-property grob 'left-bound-info
 (ly:grob-set-property! left-bound 'stencil #f)
 (ly:grob-set-nested-property! grob '(right-bound-info Y) left-Y)))

  \once \override Glissando #'thickness = #6
  \once \override Glissando #'(bound-details left padding) = #-0.5
  \once \override Glissando #'(bound-details right padding) = #1.3
  \once \override Glissando #'(bound-details right text) = \markup \rotate #90 \ohr
  \once \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
  \once \override Glissando #'minimum-length = 10
  <>\glissando
}


ll = \lyricmode { \once \override LyricText.self-alignment-X = #LEFT } %%

\score {
  <<
\new Staff <<
  \new Voice = "Alt"
  \relative c' {
	\key g \major
	\clef treble
	\time 1/4
	\autoBeamOff
	\override Score.SpacingSpanner #'packed-spacing = ##f
	\set Score.timing = ##f
	d e \lbalken g \hide g \break % The last hidden g makes the  \balken and \break work
	% the first hidden g makes it possible to bring the key at the start of the line without having
	% the key repeated at the end of the prior line.
	\hide g \key g \major \rbalken g e g fis e e d~d \break
	
  }
  \addlyrics {
Die E -- \ll "pistel dieser Christnacht stehet geschrieben"
" " " " % << There are two NARROW NO-BREAK SPACE (U+202F) hidden here to append text to the hidden gs
\ll "bei Sankt Paulus im Brief an die Philipper" im vier -- ten Ka -- pi -- tel:
  }
>>
  >>
  \midi {
  }
  \layout {
indent = 0 %%
ragged-right = ##t %%
\context {
  \Staff
  \remove "Time_signature_engraver"
  \remove "Bar_engraver"
  \override Stem #'transparent = ##t
  \override Flag #'transparent = ##t
  \override Beam #'transparent = ##t
} % context
  } % layout
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ask about the typesetting of Lilypond

2016-05-22 Thread Colin Campbell

On 16-05-22 02:18 AM, Federico Bruni wrote:
Il giorno dom 22 mag 2016 alle 9:51, 15221328968 <15221328...@163.com> 
ha scritto:

Hello :
 I am using Lilypond to make a music score.
 But I found there are many bars in one line, and it is not very  
beautiful as the picture below shows.
 Could I ask u how to define the number of bars of each line? Thank 
you very much.






Hi

This is a rather simple question. I assume that you are new to 
LilyPond, so let me explain how to search the answer in the 
documentation.


I suggest starting from the index of the Notation Reference:
http://lilypond.org/doc/v2.18/Documentation/notation/lilypond-index

If you click on the B and search for breaking, you quickly find:
http://lilypond.org/doc/v2.18/Documentation/notation/line-breaking

and at the bottom of that page:
http://lilypond.org/doc/v2.18/Documentation/notation/other-paper-variables#paper-variables-for-line-breaking 



So you have two tools:

1. \break for "hard" breaks (I suggest using it rarely, only where you 
really want to force a line break)
2. \paper variables: this is what you'd like to use mostly, as you can 
usually change the line breaking of a whole score with one or two 
options without touching the music (easier to maintain and change later)


HTH
Federico

In addition to Federico's specific guidance, it will be well worth your 
while to read through the Learning Manual, which will give you a grand 
tyour of all the elements of LilyPond's way of engraving.


Cheers,
Colin

--
The man who follows the crowd will usually get no further than the 
crowd. The man who walks alone is likely to find himself in places no 
one has ever been.

- Alan Ashley-Pitt

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


Re: Guitar harmonics indicators

2016-05-22 Thread David Raleigh Arnold
On Fri, 20 May 2016 17:40:10 +0200
BB  wrote:

Hsrmonics, also called "flagolets" may be 
indicated by small circles above
the notes. They should be accompanied by an 8va
to give true pitch if necessary.

The diamond shaped note indicates a case where
the pitch is not necessarily the true pitch
but indicates something else. For harmonics,
it indicates the note that would be there if
the note were fretted. It is best to have
a string indication with it. A small note on
the same stem gives the true pitch.

Small or regular notes with "arm..." or "harm..."
are also standard and have been used for
over 200 years.

Last, a diamond note may indicate an open string
and a fret number where to touch it. This is
the newest method, but it doesn't work well with
others.

It may be a good idea to use combinations, as
Villa Lobos sometimes did.

Roman numbers indicate position, i. e. the fret
of the first finger and no other. Very bad
idea for harmonics.

Regards, Rale 

Regards, Rale

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


Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Richard Shann
On Sun, 2016-05-22 at 13:26 +0200, Simon Albrecht wrote:
> On 22.05.2016 13:01, Andrew Bernard wrote:
> > Hi Richard,
> >
> > When attempting to view your score on IMSLP, I get an error page as follows:
> >
> > You have reached this page because the file you requested has not been 
> > reviewed for copyright, or is currently restricted due to various reasons. 
> > The block will be lifted after the file is reviewed for copyright and/or 
> > other applicable reasons are resolved.
> > Unless you are the uploader, all files marked "[B]" are blocked temporarily 
> > awaiting copyright review (which should finish in a few days at most) or 
> > will become public domain next year. There are currently 36 files awaiting 
> > review, and 182 files will fall into public domain next year.
> >
> > Consequently the score is inaccessible.
> 
> …for a few days, until it has been approved.

a few hours in my experience...

Richard

> 
> Best, Simon



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


Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Simon Albrecht

On 22.05.2016 13:01, Andrew Bernard wrote:

Hi Richard,

When attempting to view your score on IMSLP, I get an error page as follows:

You have reached this page because the file you requested has not been reviewed 
for copyright, or is currently restricted due to various reasons. The block 
will be lifted after the file is reviewed for copyright and/or other applicable 
reasons are resolved.
Unless you are the uploader, all files marked "[B]" are blocked temporarily 
awaiting copyright review (which should finish in a few days at most) or will become 
public domain next year. There are currently 36 files awaiting review, and 182 files will 
fall into public domain next year.

Consequently the score is inaccessible.


…for a few days, until it has been approved.

Best, Simon

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


Re: combine different note heads (drumset)

2016-05-22 Thread Daniel E. Moctezuma
Thank you very much for your help Thomas!

For a moment I even considered extending on Feta font to support this stuff.
It seems the scheme function can be extended to support other noteheads, etc., 
so it might be a nice approach for what I'm looking to do.

Thanks again.

On 05/22 12:07, Thomas Morley wrote:
> 2016-05-22 10:34 GMT+02:00 Daniel E. Moctezuma :
> > Hello,
> >
> > I would like to define a note head type (or modify/tweak an existing one) 
> > that uses a combination of 2 existing note heads from the Feta font.
> > I'm trying to use the notation proposed by Norman Weinberg in his book 
> > Guide to Standardized Drumset Notation.
> >
> > Hi-Hat and Cymbals for instance use both Cross and Diamond shape note heads 
> > as follows:
> > 1. Half-note and whole-note use a diamond, very similar to s0miThin except 
> > the height of s0miThin is kind of short.
> > 2. Quarter-note and below use a cross shaped note-head such as s2cross.
> >
> > I did manage to make Lilypond show the above note heads accordingly using 
> > tweaks.
> > The disadvantage is that in order to achieve the desired result I would 
> > have to do something like "\customDiamond cymc2" every time I have to input 
> > half or whole notes.
> > So I'm looking for an easier way to input those kind of notes as well as to 
> > support chords.
> >
> > In the following sample code you can see how modifying the stencil can give 
> > you somewhat what I'm looking for, but here are some concerns:
> > 1. It doesn't work when using chords (for example: hitting the crash cymbal 
> > and the snare drum at the same time).
> > 2. When using s0miThin noteheads the stem is not conected to the diamond's 
> > left vertex.
> >
> > Maybe a better approach could be, instead of the "cross" note head defined 
> > in "mydrums" drum style table could be something like "crossdiamond" so it 
> > can include the above mentioned note heads.
> > Probably just modifying the existing "cross" notehead could be enough since 
> > Weinberg's book doesn't mention any usage of both s0cross and s1cross.
> >
> > Do you have any ideas on how to achieve something like this, as well as to 
> > fix the above 2 points mentioned?
> >
> > Sample:
> >
> > \version "2.18.2"
> >
> > #(define mydrums '(
> >  (crashcymbal cross #f 6)))
> >
> > % Based on: 
> > https://www.mail-archive.com/lilypond-user%40gnu.org/msg108679.html
> > #(define (my-note-head grob)
> >   (let ((duration (ly:grob-property grob 'duration-log)))
> >(if (>= duration 2)
> > (grob-interpret-markup grob
> >  (markup #:musicglyph "noteheads.s2cross"))
> > (grob-interpret-markup grob
> >  (markup #:scale (cons -0.65 1.2)
> >  #:musicglyph "noteheads.s0miThin")
> >
> > \new DrumStaff <<
> >   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
> >
> >   \drummode {
> > \cadenzaOn
> > \autoBeamOff
> > \override NoteHead.stencil = #my-note-head
> > cymc32 cymc16 cymc8 cymc4 cymc2 cymc1 \bar "|."
> >   }
> >>>
> >
> > --
> > Best regards
>
>
> Maybe:
>
> \version "2.18.2"
>
> #(define mydrums '(
>  (crashcymbal cross #f 6)
>  (snare () #f 1)))
>
> #(define (my-note-head grob)
>   (let ((duration (ly:grob-property grob 'duration-log))
> (drumtype
>   (ly:prob-property (ly:grob-property  grob 'cause) 'drum-type)))
>   (if (eq? 'crashcymbal drumtype)
>   (if (>= duration 2)
>   (grob-interpret-markup grob
>  (markup #:musicglyph "noteheads.s2cross"))
>   (begin
> (let ((stem-attachment (ly:grob-property grob 'stem-attachment)))
>   (ly:grob-set-property! grob 'stem-attachment
> (cons (car stem-attachment) 0))
>   (grob-interpret-markup grob
>  (markup #:scale (cons -0.65 1.2)
>  #:musicglyph "noteheads.s0miThin")
>   (ly:note-head::print grob
>
> \new DrumStaff
>   \with {
> drumStyleTable = #(alist->hash-table mydrums)
> \override NoteHead.stencil = #my-note-head
>   }
>   <<
> \drummode {
>   \cadenzaOn
>   \autoBeamOff
>   cymc32 cymc16 cymc8 cymc4 cymc2 cymc1 \bar "|." \break
>   32 16 8 4 2 1
> }
>   >>
>
> HTH,
>   Harm

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


Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Andrew Bernard
Hi Richard,

When attempting to view your score on IMSLP, I get an error page as follows:

You have reached this page because the file you requested has not been reviewed 
for copyright, or is currently restricted due to various reasons. The block 
will be lifted after the file is reviewed for copyright and/or other applicable 
reasons are resolved.
Unless you are the uploader, all files marked "[B]" are blocked temporarily 
awaiting copyright review (which should finish in a few days at most) or will 
become public domain next year. There are currently 36 files awaiting review, 
and 182 files will fall into public domain next year.

Consequently the score is inaccessible.

Andrew





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


Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Richard Shann
On Sun, 2016-05-22 at 18:01 +1000, Andrew Bernard wrote:
> Hi Richard,
> 
> Studying this in the full context of the scanned original, it’s clear to me 
> these are ‘t.’ glyphs, and the edges of the type form have smudged from time 
> to time. I notice there are some ‘.t’ forms – probably printing errors.
> 
> Even though an old print, it’s pretty miserable music printing for the era 
> all said.

Well I've uploaded my transcription to IMSLP now, so after 306 years
there is a LilyPond typeset of it available. It took me nearly two hours
to input via Denemo, being so indistinct, but didn't call for any tweaks
beyond the clash between the slur and the accidental which you can see
in the incipit. (For some reason the incipit doesn't obey the tweak ...)

Richard


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


Re: halfopenvertical script glyph not working

2016-05-22 Thread Thomas Morley
2016-05-22 11:12 GMT+02:00 Daniel E. Moctezuma :

> Do you know why "halfopenvertical" was not part of script.scm?

Don't know.
Maybe file a bug-report

-Harm

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


Re: combine different note heads (drumset)

2016-05-22 Thread Thomas Morley
2016-05-22 10:34 GMT+02:00 Daniel E. Moctezuma :
> Hello,
>
> I would like to define a note head type (or modify/tweak an existing one) 
> that uses a combination of 2 existing note heads from the Feta font.
> I'm trying to use the notation proposed by Norman Weinberg in his book Guide 
> to Standardized Drumset Notation.
>
> Hi-Hat and Cymbals for instance use both Cross and Diamond shape note heads 
> as follows:
> 1. Half-note and whole-note use a diamond, very similar to s0miThin except 
> the height of s0miThin is kind of short.
> 2. Quarter-note and below use a cross shaped note-head such as s2cross.
>
> I did manage to make Lilypond show the above note heads accordingly using 
> tweaks.
> The disadvantage is that in order to achieve the desired result I would have 
> to do something like "\customDiamond cymc2" every time I have to input half 
> or whole notes.
> So I'm looking for an easier way to input those kind of notes as well as to 
> support chords.
>
> In the following sample code you can see how modifying the stencil can give 
> you somewhat what I'm looking for, but here are some concerns:
> 1. It doesn't work when using chords (for example: hitting the crash cymbal 
> and the snare drum at the same time).
> 2. When using s0miThin noteheads the stem is not conected to the diamond's 
> left vertex.
>
> Maybe a better approach could be, instead of the "cross" note head defined in 
> "mydrums" drum style table could be something like "crossdiamond" so it can 
> include the above mentioned note heads.
> Probably just modifying the existing "cross" notehead could be enough since 
> Weinberg's book doesn't mention any usage of both s0cross and s1cross.
>
> Do you have any ideas on how to achieve something like this, as well as to 
> fix the above 2 points mentioned?
>
> Sample:
>
> \version "2.18.2"
>
> #(define mydrums '(
>  (crashcymbal cross #f 6)))
>
> % Based on: 
> https://www.mail-archive.com/lilypond-user%40gnu.org/msg108679.html
> #(define (my-note-head grob)
>   (let ((duration (ly:grob-property grob 'duration-log)))
>(if (>= duration 2)
> (grob-interpret-markup grob
>  (markup #:musicglyph "noteheads.s2cross"))
> (grob-interpret-markup grob
>  (markup #:scale (cons -0.65 1.2)
>  #:musicglyph "noteheads.s0miThin")
>
> \new DrumStaff <<
>   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
>
>   \drummode {
> \cadenzaOn
> \autoBeamOff
> \override NoteHead.stencil = #my-note-head
> cymc32 cymc16 cymc8 cymc4 cymc2 cymc1 \bar "|."
>   }
>>>
>
> --
> Best regards


Maybe:

\version "2.18.2"

#(define mydrums '(
 (crashcymbal cross #f 6)
 (snare () #f 1)))

#(define (my-note-head grob)
  (let ((duration (ly:grob-property grob 'duration-log))
(drumtype
  (ly:prob-property (ly:grob-property  grob 'cause) 'drum-type)))
  (if (eq? 'crashcymbal drumtype)
  (if (>= duration 2)
  (grob-interpret-markup grob
 (markup #:musicglyph "noteheads.s2cross"))
  (begin
(let ((stem-attachment (ly:grob-property grob 'stem-attachment)))
  (ly:grob-set-property! grob 'stem-attachment
(cons (car stem-attachment) 0))
  (grob-interpret-markup grob
 (markup #:scale (cons -0.65 1.2)
 #:musicglyph "noteheads.s0miThin")
  (ly:note-head::print grob

\new DrumStaff
  \with {
drumStyleTable = #(alist->hash-table mydrums)
\override NoteHead.stencil = #my-note-head
  }
  <<
\drummode {
  \cadenzaOn
  \autoBeamOff
  cymc32 cymc16 cymc8 cymc4 cymc2 cymc1 \bar "|." \break
  32 16 8 4 2 1
}
  >>

HTH,
  Harm

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


Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Simon Albrecht

On 22.05.2016 10:18, Rutger Hofman wrote:
Please be careful about distributing such information about IMSLP. It 
is incorrect. IMSLP still allows anyone to download any score for free 
and without registration, but you have to wait a short time, I think 
10 seconds,


15, actually.

before downloading. If you are a subscriber, you don't have the wait 
penalty.


I found it’s worthwhile to make some contributions – after about 100 
edits you’ll be appointed a member and can access everything instantly. 
And contributing is really easy – it’s like correcting small errors, 
supplying bits of information on the pages, and then it quickly adds up 
to the required 100 (IIRC) edits.
And I’d like to add that this system has been introduced for good 
reasons: It has been necessary to give the whole project a better 
foundation, and that first means stabilising financial resources.


Best, Simon



Rutger

On 05/22/2016 09:53 AM, Richard Shann wrote:

On Sun, 2016-05-22 at 17:51 +1000, Andrew Bernard wrote:

HI Richard,

On 22/05/2016, 5:41 PM, "Richard Shann"  
wrote:



I gave a link to a scan of the original print,


You can’t view it unless you are a subscriber to IMSLP.


I heard they had introduced some sort of penalty system on IMSLP which
is a great pity. As I understand it though, they will still allow you to
download for free, but I suppose before you didn't have to register an
account (for free).

Richard


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


Re: halfopenvertical script glyph not working

2016-05-22 Thread Daniel E. Moctezuma
Thank you!
It works as expected.

I would like to understand why it didn't work in the first place.
It looks like the glyph is defined in the Feta font but not actually used 
(defined in mf/feta-scripts.mf:623).
Do you know why "halfopenvertical" was not part of script.scm?

On 05/22 10:46, Thomas Morley wrote:
> 2016-05-22 8:28 GMT+02:00 Daniel E. Moctezuma :
> > Hello,
> >
> > I'm trying to use the "halfopenvertical" glyph on a Hi-Hat note when 
> > writting for Drumset.
> > "halfopen" works fine, but the vertical version doesn't.
> >
> > I get an error saying "script direction not yet known" and I'm not sure how 
> > to solve this.
> > Any ideas?
> >
> > The glyph in question is documented here (scripts.halfopenvertical):
> > http://lilypond.org/doc/v2.18/Documentation/notation/the-feta-font#script-glyphs
> >
> > Here's some sample code demonstrating the issue:
> >
> > \version "2.18.2"
> >
> > #(define mydrums '(
> >  (hihat cross #f 5)
> >  (openhihat cross "open" 5)
> >  (closedhihat   cross "stopped"  5)
> >  (halfopenhihat cross "halfopenvertical" 5)))
> >
> > \new DrumStaff <<
> >   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
> >
> >   \drummode { hh4 hhc hho hhho }
> >>>
> >
> > The output I'm getting is:
> >
> > $ lilypond -ddelete-intermediate-files -dno-point-and-click 
> > halfopenvertical.ly
> > GNU LilyPond 2.18.2
> > Processing `halfopenvertical.ly'
> > Parsing...
> > Interpreting music...
> > warning: do not know how to interpret articulation:
> > warning:  scheme encoding:
> > "halfopenvertical"Preprocessing graphical objects...
> > halfopenvertical.ly:13:27: programming error: script direction not yet known
> >   \drummode { hh4 hhc hho
> > hhho }
> > halfopenvertical.ly:13:27: continuing, cross fingers
> > [1]9533 segmentation fault  lilypond -ddelete-intermediate-files 
> > -dno-point-and-click halfopenvertical.ly
> >
>
>
> \version "2.18.2"
>
> %% work with a copy of `default-script-alist' from `script.scm'
> #(define my-script-alist default-script-alist)
>
> %% no entry for "halfopenvertical" there, thus:
> #(set! my-script-alist
>   (cons
> `("halfopenvertical"
>  . (
> (avoid-slur . outside)
> (padding . 0.20)
> (script-stencil . (feta . ("halfopenvertical" . "halfopenvertical")))
> (direction . ,UP)))
> my-script-alist))
>
> %% make it available
> \layout {
>   \context {
> \Score
> scriptDefinitions = #my-script-alist
>   }
> }
>
> #(define mydrums '(
>  (hihat cross #f 5)
>  (openhihat cross "open" 5)
>  (closedhihat   cross "stopped"  5)
>  (halfopenhihat cross "halfopenvertical" 5)))
>
> \new DrumStaff <<
>   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
>
>   \drummode { hh4 hhc hho hhho }
> >>
>
> HTH,
>   Harm

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


Re: halfopenvertical script glyph not working

2016-05-22 Thread Thomas Morley
2016-05-22 8:28 GMT+02:00 Daniel E. Moctezuma :
> Hello,
>
> I'm trying to use the "halfopenvertical" glyph on a Hi-Hat note when writting 
> for Drumset.
> "halfopen" works fine, but the vertical version doesn't.
>
> I get an error saying "script direction not yet known" and I'm not sure how 
> to solve this.
> Any ideas?
>
> The glyph in question is documented here (scripts.halfopenvertical):
> http://lilypond.org/doc/v2.18/Documentation/notation/the-feta-font#script-glyphs
>
> Here's some sample code demonstrating the issue:
>
> \version "2.18.2"
>
> #(define mydrums '(
>  (hihat cross #f 5)
>  (openhihat cross "open" 5)
>  (closedhihat   cross "stopped"  5)
>  (halfopenhihat cross "halfopenvertical" 5)))
>
> \new DrumStaff <<
>   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
>
>   \drummode { hh4 hhc hho hhho }
>>>
>
> The output I'm getting is:
>
> $ lilypond -ddelete-intermediate-files -dno-point-and-click 
> halfopenvertical.ly
> GNU LilyPond 2.18.2
> Processing `halfopenvertical.ly'
> Parsing...
> Interpreting music...
> warning: do not know how to interpret articulation:
> warning:  scheme encoding:
> "halfopenvertical"Preprocessing graphical objects...
> halfopenvertical.ly:13:27: programming error: script direction not yet known
>   \drummode { hh4 hhc hho
> hhho }
> halfopenvertical.ly:13:27: continuing, cross fingers
> [1]9533 segmentation fault  lilypond -ddelete-intermediate-files 
> -dno-point-and-click halfopenvertical.ly
>


\version "2.18.2"

%% work with a copy of `default-script-alist' from `script.scm'
#(define my-script-alist default-script-alist)

%% no entry for "halfopenvertical" there, thus:
#(set! my-script-alist
  (cons
`("halfopenvertical"
 . (
(avoid-slur . outside)
(padding . 0.20)
(script-stencil . (feta . ("halfopenvertical" . "halfopenvertical")))
(direction . ,UP)))
my-script-alist))

%% make it available
\layout {
  \context {
\Score
scriptDefinitions = #my-script-alist
  }
}

#(define mydrums '(
 (hihat cross #f 5)
 (openhihat cross "open" 5)
 (closedhihat   cross "stopped"  5)
 (halfopenhihat cross "halfopenvertical" 5)))

\new DrumStaff <<
  \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)

  \drummode { hh4 hhc hho hhho }
>>

HTH,
  Harm

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


combine different note heads (drumset)

2016-05-22 Thread Daniel E. Moctezuma
Hello,

I would like to define a note head type (or modify/tweak an existing one) that 
uses a combination of 2 existing note heads from the Feta font.
I'm trying to use the notation proposed by Norman Weinberg in his book Guide to 
Standardized Drumset Notation.

Hi-Hat and Cymbals for instance use both Cross and Diamond shape note heads as 
follows:
1. Half-note and whole-note use a diamond, very similar to s0miThin except the 
height of s0miThin is kind of short.
2. Quarter-note and below use a cross shaped note-head such as s2cross.

I did manage to make Lilypond show the above note heads accordingly using 
tweaks.
The disadvantage is that in order to achieve the desired result I would have to 
do something like "\customDiamond cymc2" every time I have to input half or 
whole notes.
So I'm looking for an easier way to input those kind of notes as well as to 
support chords.

In the following sample code you can see how modifying the stencil can give you 
somewhat what I'm looking for, but here are some concerns:
1. It doesn't work when using chords (for example: hitting the crash cymbal and 
the snare drum at the same time).
2. When using s0miThin noteheads the stem is not conected to the diamond's left 
vertex.

Maybe a better approach could be, instead of the "cross" note head defined in 
"mydrums" drum style table could be something like "crossdiamond" so it can 
include the above mentioned note heads.
Probably just modifying the existing "cross" notehead could be enough since 
Weinberg's book doesn't mention any usage of both s0cross and s1cross.

Do you have any ideas on how to achieve something like this, as well as to fix 
the above 2 points mentioned?

Sample:

\version "2.18.2"

#(define mydrums '(
 (crashcymbal cross #f 6)))

% Based on: https://www.mail-archive.com/lilypond-user%40gnu.org/msg108679.html
#(define (my-note-head grob)
  (let ((duration (ly:grob-property grob 'duration-log)))
   (if (>= duration 2)
(grob-interpret-markup grob
 (markup #:musicglyph "noteheads.s2cross"))
(grob-interpret-markup grob
 (markup #:scale (cons -0.65 1.2)
 #:musicglyph "noteheads.s0miThin")

\new DrumStaff <<
  \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)

  \drummode {
\cadenzaOn
\autoBeamOff
\override NoteHead.stencil = #my-note-head
cymc32 cymc16 cymc8 cymc4 cymc2 cymc1 \bar "|."
  }
>>

--
Best regards

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


Re: Ask about the typesetting of Lilypond

2016-05-22 Thread Federico Bruni
Il giorno dom 22 mag 2016 alle 9:51, 15221328968 <15221328...@163.com> 
ha scritto:

Hello :
 I am using Lilypond to make a music score.
 But I found there are many bars in one line, and it is not very  
beautiful as the picture below shows.
 Could I ask u how to define the number of bars of each line?  Thank 
you very much.






Hi

This is a rather simple question. I assume that you are new to 
LilyPond, so let me explain how to search the answer in the 
documentation.


I suggest starting from the index of the Notation Reference:
http://lilypond.org/doc/v2.18/Documentation/notation/lilypond-index

If you click on the B and search for breaking, you quickly find:
http://lilypond.org/doc/v2.18/Documentation/notation/line-breaking

and at the bottom of that page:
http://lilypond.org/doc/v2.18/Documentation/notation/other-paper-variables#paper-variables-for-line-breaking

So you have two tools:

1. \break for "hard" breaks (I suggest using it rarely, only where you 
really want to force a line break)
2. \paper variables: this is what you'd like to use mostly, as you can 
usually change the line breaking of a whole score with one or two 
options without touching the music (easier to maintain and change later)


HTH
Federico




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


Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Rutger Hofman
Please be careful about distributing such information about IMSLP. It is 
incorrect. IMSLP still allows anyone to download any score for free and 
without registration, but you have to wait a short time, I think 10 
seconds, before downloading. If you are a subscriber, you don't have the 
wait penalty.


Rutger

On 05/22/2016 09:53 AM, Richard Shann wrote:

On Sun, 2016-05-22 at 17:51 +1000, Andrew Bernard wrote:

HI Richard,

On 22/05/2016, 5:41 PM, "Richard Shann"  wrote:


I gave a link to a scan of the original print,


You can’t view it unless you are a subscriber to IMSLP.


I heard they had introduced some sort of penalty system on IMSLP which
is a great pity. As I understand it though, they will still allow you to
download for free, but I suppose before you didn't have to register an
account (for free).

Richard



Andrew








___
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


Ask about the typesetting of Lilypond

2016-05-22 Thread 15221328968
Hello :
 I am using Lilypond to make a music score.
 But I found there are many bars in one line, and it is not very  beautiful as 
the picture below shows.
 Could I ask u how to define the number of bars of each line?  Thank you very 
much.

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


Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Andrew Bernard
Hi Richard,

Studying this in the full context of the scanned original, it’s clear to me 
these are ‘t.’ glyphs, and the edges of the type form have smudged from time to 
time. I notice there are some ‘.t’ forms – probably printing errors.

Even though an old print, it’s pretty miserable music printing for the era all 
said.

Andrew




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


Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Richard Shann
On Sun, 2016-05-22 at 17:51 +1000, Andrew Bernard wrote:
> HI Richard,
> 
> On 22/05/2016, 5:41 PM, "Richard Shann"  wrote:
> 
> >I gave a link to a scan of the original print,
> 
> You can’t view it unless you are a subscriber to IMSLP.

I heard they had introduced some sort of penalty system on IMSLP which
is a great pity. As I understand it though, they will still allow you to
download for free, but I suppose before you didn't have to register an
account (for free).

Richard

> 
> Andrew
> 
> 
> 
> 



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


Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Andrew Bernard
HI Richard,

On 22/05/2016, 5:41 PM, "Richard Shann"  wrote:

>I gave a link to a scan of the original print,

You can’t view it unless you are a subscriber to IMSLP.

Andrew





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


Re: Unknown marking in Roman print (1710)

2016-05-22 Thread Richard Shann
On Sun, 2016-05-22 at 11:42 +1000, Andrew Bernard wrote:
> Can you give a bit more context? What instrument? 
I gave a link to a scan of the original print, but here is a link to the
page where there is a choice of 80Mb or 4.5Mb scans of the print.

http://imslp.org/wiki/12_Recorder_Sonatas,_Op.3_%28Valentine,_Robert%29


Having tried the sonata out, I'm still none the wiser. Looking more
widely, I see it occurs five times in the Allegro movement of Sonata 1,
then twice more in the Gavotta and once in the Gavotta of Sonata 2,
three times in Sonata 3 and so on.
Attached is a part of sonata 9 and here I detect a sort of progression
from the first trill sign, quite distinctly "t." to the "E" at the end.
So perhaps it is, after all just the edges of a block for "t." catching
the ink, which Frauke Jurgensen reported is what it looked like viewed
on a mobile phone...

Thanks to you both!

Richard

> Can we see the signs at the bottom of the image? Who is the composer? The 
> work? More clues would help.
> 
> Andrew
> 
> 
> On 22/05/2016, 12:01 AM, "lilypond-user on behalf of Richard Shann" wrote:
> 
> >Attached is a bit of an early 18th print (*) using movable type - does
> >anyone on the list know what the sign that looks like an E is?
> 
> 
> 
> 

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