Re: Embedding LilyPond in iOS app?

2016-05-20 Thread Andrew Bernard
Hi John,

On 20/05/2016, 1:19 PM, "lilypond-user on behalf of SNIPER36" wrote:

>Hello, I just came across lilypond while looking for a notation library that
>I can embed into an iOS app. I would like a view in my app that shows one
>bar of music notation at a time, and the lilypond file would be created
>programmatically, not by the user. I read the "Inserting LilyPond output
>into other programs" section, and see that I can output a png, which I could
>then display in my app. I'm just not sure how to embed this capability into
>the app, or if it can be done at all. Any help is appreciated. 

Lilypond is written in C++ and Scheme (using Guile) and various components use 
Python. Although I am not au fait with iOS, I don’t think you would be able to 
compile and build lilypond in that environment. Lilypond is powerful and 
complex – I am fairly sure a heavyweight program such as this would be 
difficult to implement on iOS systems such as a phone. So far I have not heard 
of any iOS port of lilypond. I may be wrong!

Andrew




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


Re: Guitar harmonics indicators

2016-05-20 Thread Andrew Bernard
Hi Tim,

Thanks. I neglected to mention, as not being totally relevant, that the piece 
if for 10 string guitar exclusively, with the extra string notes being 
indicated in the bass. Also, with my colleague, of the New Complexity School, 
for this piece the notation cannot be changed, say to use harmonic note heads 
and so on. This is a fixed requirement. As to playability, since being composed 
in 2008, the players who have done it all seem to like the notation, but then 
they are naturally specialists in modernism and new complexity, not your 
average classical guitarists I guess.

Andrew


On 20/05/2016, 11:44 PM, "Tim McNamara"  wrote:

>Bear in mind, though, that fairly few guitarists are used to seeing guitar 
>written as if for piano.  Johnny Smith advocated that, because it allows the 
>guitar to be written as it sounds, but he was almost unique.  99% of the 
>relatively few guitarists who can sight read expect to see treble clef, 
>transposed up an octave.  Few could play the example given.
>
>One fairly common standard is using an open diamond head to indicate the 
>harmonic, but that is really only useful for octave harmonics.




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


Re: Guitar harmonics indicators

2016-05-20 Thread Noeck
I could have just sent this:
http://lilypond.org/doc/v2.18/Documentation/notation/guitar


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


Re: Guitar harmonics indicators

2016-05-20 Thread Noeck
Hi Andrew,

yes it is common. Pierre already pointed you to \5 (string number) and a
markup for the fret.

Besides the special case of harmonics, roman numbers are also used to
indicate a general position (German: Lage) of the left hand. In this
case the number is the fret of the index finger, other fingers then play
on higher frets. The position usually stays the same for several notes
and can be indicated by a text spanner. The following example shows this
meaning:


\version "2.19.36"

m = \relative {

  \override TextSpanner.bound-details.left.text = \markup { \small XII }
  \override TextSpanner.direction = #DOWN
  a\5\startTextSpan b\5 c\5 d\4 e1\4 \stopTextSpan
}

<<
  \new Staff { \clef "treble_8" \m }
  \new TabStaff \m
>>


Cheers,
Joram

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


Re: Guitar harmonics indicators

2016-05-20 Thread BB



On 20.05.2016 15:44, Tim McNamara wrote:

Bear in mind, though, that fairly few guitarists are used to seeing guitar 
written as if for piano.  Johnny Smith advocated that, because it allows the 
guitar to be written as it sounds, but he was almost unique.  99% of the 
relatively few guitarists who can sight read expect to see treble clef, 
transposed up an octave.  Few could play the example given.
That is real! In my classical guitar education (50 years from now) I 
just had to read and play such notes for training purposes. I never 
needed that again.


One fairly common standard is using an open diamond head to indicate the 
harmonic, but that is really only useful for octave harmonics.



I do not agree that the diamond representation is useful only for octave 
harmonics. But an open diamond indeed is exclusively used for octave 
harmonics in some natation systems. The filled diamond head is then 
usually used for the other harmonics. But it is also common to use just 
normal (eliptic) note heads with Arabic or Roman numeral to indicate 
fret number. The string number may or may not be expressed and the left 
hand fingering may or may not be expressed. Sometimes one might find a H 
or a small empty circle obove notehead or beside the fret number. All 
combinations will result in many different possible ways of notation 
really in use!


Some composer/arrangers who use this system of natural harmonic notation 
differentiate between harmonics that sound the same pitches as the 
written notes and those that produce different pitches from the written 
notes. Heitor Villa-Lobos used this type of notation, but to regret, 
there are many, many errors/mistakes in his printed sheets.


To summarise, there are many systems for notation of harmonics. The most 
used is the system of Heitor Villa-Lobos . (That is just my personal 
impression, I think it depends on the publisher that published most of 
classical guitar literature?)


At the 12th fret, the pitch of the written note and the pitch that comes 
out of the guitar are the same. At the 19th fret the harmonics sound the 
same pitch as the written pitch.


At the 7th fret, the pitch produced with a harmonic is an octave higher 
than the written note. At the 5th fret, the pitch that comes out of the 
guitar is an octave plus a fifth higher than the written note. At the 
4th fret, the pitch that comes out of the guitar is two octaves higher 
(though noticeably flatter) than the written pitch. At the 9th fret, the 
pitches that come out of the guitar are exactly the same as the 
harmonics at the 4th fret. (Will often be used for tuning a guitar or a 
bass.)


Regards




On May 20, 2016, at 6:35 AM, Andrew Bernard  wrote:

Not being a guitar player, I am out of my area here, hence my question. 
Referring to the attached sample image, my composer uses a circled numeral to 
indicate the string number, with superscript roman numerals to indicate the 
fret on that string to play for a harmonic. Is this standard for fretted 
instruments? Has anybody got a function written already that does this? I was 
unable to find anything the same as this in the NR or LSR.

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



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


Embedding LilyPond in iOS app?

2016-05-20 Thread SNIPER36
Hello, I just came across lilypond while looking for a notation library that
I can embed into an iOS app. I would like a view in my app that shows one
bar of music notation at a time, and the lilypond file would be created
programmatically, not by the user. I read the "Inserting LilyPond output
into other programs" section, and see that I can output a png, which I could
then display in my app. I'm just not sure how to embed this capability into
the app, or if it can be done at all. Any help is appreciated. 

John



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Embedding-LilyPond-in-iOS-app-tp190782.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: Guitar harmonics indicators

2016-05-20 Thread Tim McNamara
Bear in mind, though, that fairly few guitarists are used to seeing guitar 
written as if for piano.  Johnny Smith advocated that, because it allows the 
guitar to be written as it sounds, but he was almost unique.  99% of the 
relatively few guitarists who can sight read expect to see treble clef, 
transposed up an octave.  Few could play the example given.

One fairly common standard is using an open diamond head to indicate the 
harmonic, but that is really only useful for octave harmonics.



> On May 20, 2016, at 6:35 AM, Andrew Bernard  wrote:
> 
> Not being a guitar player, I am out of my area here, hence my question. 
> Referring to the attached sample image, my composer uses a circled numeral to 
> indicate the string number, with superscript roman numerals to indicate the 
> fret on that string to play for a harmonic. Is this standard for fretted 
> instruments? Has anybody got a function written already that does this? I was 
> unable to find anything the same as this in the NR or LSR.
> 
> 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


Re: Guitar harmonics indicators

2016-05-20 Thread BB

From Lilypond Manual 2.4.2 Guitar
Subchapter
Indicating harmonics and dampened notes

Special note heads can be used to indicate dampened notes or harmonics. 
Harmonics are normally further explained with a text markup.


\relative c' {
  \clef "treble_8"
  \override Staff.NoteHead.style = #'harmonic-mixed
  d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} 1
}


On 20.05.2016 13:35, Andrew Bernard wrote:

Not being a guitar player, I am out of my area here, hence my question. 
Referring to the attached sample image, my composer uses a circled numeral to 
indicate the string number, with superscript roman numerals to indicate the 
fret on that string to play for a harmonic. Is this standard for fretted 
instruments? Has anybody got a function written already that does this? I was 
unable to find anything the same as this in the NR or LSR.

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


Re: Guitar harmonics indicators

2016-05-20 Thread Pierre Perol-Schneider
Hi Andrew,
Yes it is.
Try something like:

{
 2^\markup
 %% optional:
 %\small
 \center-column{
   %% optional:
   %\italic
   "XII"
   %% optional:
   %\fontsize #-4 \circle\number "5"
 }
}

Cheers,
Pierre

2016-05-20 13:35 GMT+02:00 Andrew Bernard :

> Not being a guitar player, I am out of my area here, hence my question.
> Referring to the attached sample image, my composer uses a circled numeral
> to indicate the string number, with superscript roman numerals to indicate
> the fret on that string to play for a harmonic. Is this standard for
> fretted instruments? Has anybody got a function written already that does
> this? I was unable to find anything the same as this in the NR or LSR.
>
> 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


Guitar harmonics indicators

2016-05-20 Thread Andrew Bernard
Not being a guitar player, I am out of my area here, hence my question. 
Referring to the attached sample image, my composer uses a circled numeral to 
indicate the string number, with superscript roman numerals to indicate the 
fret on that string to play for a harmonic. Is this standard for fretted 
instruments? Has anybody got a function written already that does this? I was 
unable to find anything the same as this in the NR or LSR.

Andrew



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


Re: print instrument abbreviations to left of staff

2016-05-20 Thread Simon Albrecht

On 20.05.2016 00:52, Ryan Michael wrote:

\set Staff.instrumentName = #"Cello "


You don’t need the # here; strings in LilyPond syntax and Scheme syntax 
are equivalent.


Best, Simon

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