lilypond-user
[Top][All Lists]
Advanced

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

Re: Flat - with "2" number


From: Server Acim
Subject: Re: Flat - with "2" number
Date: Tue, 17 Nov 2015 20:21:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Dear Urs,
I experienced the code right away and it worked.
It was that simple what I want.

Thank you.
========================================================================
I will write a blog post that is related about this problem in Turkish language and in English language.

I will keep you posted and this list. I will be a useful information for every body.

Bye.

On 11/17/2015 06:13 PM, Urs Liska wrote:
Sorry for not replying earlier, but I didn't realize earlier what you
actually need.

If you just want to replace the regular time signature with that
specific glyph from the SMuFL range you can actually do that quite easily:
What you have to do is simply replace the "stencil" of
Staff.KeySignature with a markup containing your glyph.

See this blog post for some more information
http://lilypondblog.org/2014/04/using-special-characters-from-smufl-fonts/

and this code:

\version "2.19.30"

#(define (accidental2CommaFlat grob)
    (grob-interpret-markup grob
      (markup ;; Select Bravura font
             ; This doesn't seem to work (although I think it should)
             ; #:font-name "Bravura"
              ;; set size of the glyph -
              ; please experiment wtih appearance and problem of
interference with staff lines
              #:fontsize 5
              ;; choose the glyph to be taken
              #:char #xE455)))

\relative c'{
   % There has to be a key, otherwise nothing will be printed.
   \key g \major

   % Use Bravura, the SMuFL reference font (actually this should be done
   % inside the stencil but I don't know how
   \override Staff.KeySignature.font-name = "Bravura"

   % Tell LilyPond to use something else than the default key signature
   \override Staff.KeySignature.stencil = #accidental2CommaFlat

   c
}

which expects the Bravura font from here: http://www.smufl.org/fonts/ to
be installed as a system font.

HTH
Urs

Am 08.08.2015 um 18:55 schrieb Server Acim:
Hello,
I want to ask you a very important question.

Turkish Music is divide two kinds in it inside.
One of is "Turkish Classical Music". Its roots are based of Ottoman
Impire. And "MAKAM" word is based some series. The title of makams are
changed according to its note that where the serie is begined and ended.

The second sub-genre of "Turkish Music" as an general title, is
"Turkish Folk Music". This is the public's music that are coming from
many eras. During the Turkish Classical Music is performing at the
serailles, the folk music of Turkish folk people were singing their
folk songs in villages and towns of Turkey.

So, the "segah" koma(a littile bit lower than flat) sound is used in
the key signature with normal flat sign but added a "2" number above
it. We(The Turkish musician who uses LilyPond for engraving an Turkish
Folk Song) need this sign for using it at the engraving project of a
Turkish Folk Song.

I am adding an attachment that includes this flat sign with number "2"
in its key signature. This is taken from the Turkish Folk Song Archive
of Turkey Radio and Television (TRT) Corporation.

This is a very urgent matter. I need to have the solutiong as quick as
possible.

How can you help me?

Thank you. Bye.


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



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


--
Server ACİM
- Besteci (Composer)
- İnönü Üniversitesi Öğretim Üyesi (Full Professor of Music Composition at Inonu Universitesi - Malatya - TURKEY)
- Linux Mint Kullanıcısı ve Destekçisi (Linux Mint User and Supporter)

http://google.com/+AcimNameTr
http://about.me/server.acim

Attachment: test2.ly
Description: Text Data

Attachment: test2.pdf
Description: Adobe PDF document


reply via email to

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