lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The code of the domra tremolo part.


From: Виноградов Юрий
Subject: The code of the domra tremolo part.
Date: Wed, 08 Sep 2021 11:54:25 +0300

Hello. Help please. I need to enter a tremolo in the domra part. It looks like in the screenshot. I don't know how to write it in code. Help please.

Юрий Виноградов

11:47, 8 сентября 2021 г., "lilypond-user-request@gnu.org" <lilypond-user-request@gnu.org>:

Send lilypond-user mailing list submissions to
        lilypond-user@gnu.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/lilypond-user
or, via email, send a message with subject or body 'help' to
        lilypond-user-request@gnu.org

You can reach the person managing the list at
        lilypond-user-owner@gnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lilypond-user digest..."


Today's Topics:

   1. Misunderstanding \footnote (Kevin Cole)
   2. Is there a simple way to move the instrument / voice
      location? (Kevin Cole)
   3. Re: Misunderstanding \footnote (Hans Aikema)
   4. change custom notehead for different stem direction
      (Orm Finnendahl)
   5. Re: change custom notehead for different stem direction
      (Lukas-Fabian Moser)
   6. Re: change custom notehead for different stem direction
      (Orm Finnendahl)


----------------------------------------------------------------------

Message: 1
Date: Tue, 7 Sep 2021 21:33:46 -0400
From: Kevin Cole <dc.loco@gmail.com>
To: lilypond-user mailinglist <lilypond-user@gnu.org>
Subject: Misunderstanding \footnote
Message-ID:
        <CA+pvXRdCehOZ1Nh-e-K=LRvLTDxNWQ=wEX3f++AOzmjMvDz92Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I am once again dipping my foot in the shallow end of the LilyPond.

I added a footnote to the title. It puts the superscript "*" at the end,
but then the footnote never appears anywhere. What am I missing? (This
isn't for a book or anything fancy like that. And, initially I tried it
without \concat as just a single very long line, to the same effect.)

\header {
  title = \markup {
    "The Song of the Heather"
    \footnote "*" \concat {
      "* This song has been translated by the leading Irish,"
      " Scotch Gaelic, Manx, Welsh, Breton, and Cornish poets"
      " into their native languages for singing in each Celtic"
      " country and at Pan-Celtic Festivals."
    }
  }
}

\score {
  ...
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnu.org/archive/html/lilypond-user/attachments/20210907/4cff0ea9/attachment.html>

------------------------------

Message: 2
Date: Tue, 7 Sep 2021 21:39:24 -0400
From: Kevin Cole <dc.loco@gmail.com>
To: lilypond-user mailinglist <lilypond-user@gnu.org>
Subject: Is there a simple way to move the instrument / voice
        location?
Message-ID:
        <CA+pvXRdWmGykFg0RFELGhYRstLOaJ4uDL_YDjCGqA5aco3Ckmw@mail.gmail.com">CA+pvXRdWmGykFg0RFELGhYRstLOaJ4uDL_YDjCGqA5aco3Ckmw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Again, a newbie question. The score I'm transcribing has

SOPRANO.
Allegro energico.

above the start of the piece.

I sort of achieved the effect badly by doing:

        \tempo \markup {
          \left-column {
            "SOPRANO."
            \italic "Allegro energico."
          }
        } 4 = 140

But I'm guessing there's a much better way... hopefully without creating a
whole new style or whatever.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnu.org/archive/html/lilypond-user/attachments/20210907/52457450/attachment.html>

------------------------------

Message: 3
Date: Wed, 8 Sep 2021 10:10:50 +0200
From: Hans Aikema <hans.aikema@aikebah.net>
To: Kevin Cole <dc.loco@gmail.com>
Cc: lilypond-user mailinglist <lilypond-user@gnu.org>
Subject: Re: Misunderstanding \footnote
Message-ID: <6BD7C087-C86F-4D25-88B6-5D4D5278E2E3@aikebah.net">6BD7C087-C86F-4D25-88B6-5D4D5278E2E3@aikebah.net>
Content-Type: text/plain; charset=utf-8


 On 8 Sep 2021, at 03:33, Kevin Cole <dc.loco@gmail.com> wrote:
 
 I am once again dipping my foot in the shallow end of the LilyPond.
 
 I added a footnote to the title. It puts the superscript "*" at the end, but then the footnote never appears anywhere. What am I missing? (This isn't for a book or anything fancy like that. And, initially I tried it without \concat as just a single very long line, to the same effect.)
 
 \header {
   title = \markup {
     "The Song of the Heather"
     \footnote "*" \concat {
       "* This song has been translated by the leading Irish,"
       " Scotch Gaelic, Manx, Welsh, Breton, and Cornish poets"
       " into their native languages for singing in each Celtic"
       " country and at Pan-Celtic Festivals."
     }
   }
 }
 
 \score {
   …
 }
 


From the looks of it footnotes are only supported in the musical context and in **standalone text**, so not in markup of header fields.

Note how the example in the notation manual has the footnoted markup as a direct child of the \book, outside the header and outside the music.

kind regards,
Hans


------------------------------

Message: 4
Date: Wed, 8 Sep 2021 10:18:42 +0200
From: Orm Finnendahl <orm.finnendahl@selma.hfmdk-frankfurt.de>
To: lilypond-user@gnu.org
Subject: change custom notehead for different stem direction
Message-ID: <YThx4v8fILMTKz9X@t14s-orm.localdomain>
Content-Type: text/plain; charset="utf-8"

Hi,

 for flute pizzicato in contemporary music, it is quite common to use
a ">" as a notehead. With a stem down, the ">" should be changed to a
"<" as visible in the attached png.

I know how to change the notehead by overriding the NoteHead stencil
with an eps file, but can't find any information about automatically
changing the glyph depending on stem direction. Is that possible in
lilypond and does anybody have advice?

It's cumbersome to do this by hand each time stem direction is
changed.

--
Orm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pizz.png
Type: image/png
Size: 858 bytes
Desc: not available
URL: <https://lists.gnu.org/archive/html/lilypond-user/attachments/20210908/c430f2a9/attachment.png>

------------------------------

Message: 5
Date: Wed, 8 Sep 2021 10:32:35 +0200
From: Lukas-Fabian Moser <lfm@gmx.de>
To: lilypond-user@gnu.org, orm.finnendahl@selma.hfmdk-frankfurt.de
Subject: Re: change custom notehead for different stem direction
Message-ID: <b06a0e7a-ebe8-633c-2d97-2541087a0567@gmx.de">b06a0e7a-ebe8-633c-2d97-2541087a0567@gmx.de>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Orm,

   for flute pizzicato in contemporary music, it is quite common to use
 a ">" as a notehead. With a stem down, the ">" should be changed to a
 "<" as visible in the attached png.

 I know how to change the notehead by overriding the NoteHead stencil
 with an eps file, but can't find any information about automatically
 changing the glyph depending on stem direction. Is that possible in
 lilypond and does anybody have advice?

 It's cumbersome to do this by hand each time stem direction is
 changed.


Unfortunately you didn't provide a working example, hence my cumbersome
and ugly choice of > or < for "note-heads".

\version "2.22.0"

\relative
{
   \override NoteHead.stencil = #ly:text-interface::print
   \override NoteHead.text =
   #(lambda (grob)
      (let*
       ((notecolumn (ly:grob-parent grob X))
        (stem (ly:grob-object notecolumn 'stem))
        (direction (ly:grob-property stem 'direction)))
       (markup #:general-align
               Y CENTER
               (if (positive? direction) ">" "<"))))
   c'4 d e f g a b c d e f
}

Of course, one might adapt the general logic to either use glyphs better
suited than ">"/"<", or even conditionally rotate/mirror _any_ note-head
depending on the direction. (One might use grob-transformer for that.)

Lukas




------------------------------

Message: 6
Date: Wed, 8 Sep 2021 10:47:11 +0200
From: Orm Finnendahl <orm.finnendahl@selma.hfmdk-frankfurt.de>
To: lilypond-user@gnu.org
Subject: Re: change custom notehead for different stem direction
Message-ID: <YTh4j4EFm6ok5hg8@t14s-orm.localdomain>
Content-Type: text/plain; charset=utf-8

Hi Lukas,

 thanks, that's perfect! I'll provide a working example to share as
soon as I've finished the code.

Best,
Orm

Am Mittwoch, den 08. September 2021 um 10:32:35 Uhr (+0200) schrieb Lukas-Fabian Moser:

 Hi Orm,
 
 > for flute pizzicato in contemporary music, it is quite common to use
 > a ">" as a notehead. With a stem down, the ">" should be changed to a
 > "<" as visible in the attached png.
 >
 > I know how to change the notehead by overriding the NoteHead stencil
 > with an eps file, but can't find any information about automatically
 > changing the glyph depending on stem direction. Is that possible in
 > lilypond and does anybody have advice?
 >
 > It's cumbersome to do this by hand each time stem direction is
 > changed.
 
 Unfortunately you didn't provide a working example, hence my cumbersome and
 ugly choice of > or < for "note-heads".
 
 \version "2.22.0"
 
 \relative
 {
   \override NoteHead.stencil = #ly:text-interface::print
   \override NoteHead.text =
   #(lambda (grob)
      (let*
       ((notecolumn (ly:grob-parent grob X))
        (stem (ly:grob-object notecolumn 'stem))
        (direction (ly:grob-property stem 'direction)))
       (markup #:general-align
               Y CENTER
               (if (positive? direction) ">" "<"))))
   c'4 d e f g a b c d e f
 }
 
 Of course, one might adapt the general logic to either use glyphs better
 suited than ">"/"<", or even conditionally rotate/mirror _any_ note-head
 depending on the direction. (One might use grob-transformer for that.)
 
 Lukas
 




------------------------------

Subject: Digest Footer

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


------------------------------

End of lilypond-user Digest, Vol 226, Issue 40
**********************************************

Attachment: photo_2021-09-07_21-58-35.jpg
Description: JPEG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]