Re: Is it right how oneVoice reverts direction settings?

2018-04-11 Thread Simon Albrecht

On 11.04.2018 09:14, David Kastrup wrote:

Why would you use a \Voice context if you want to "globally override"?
Do it in Score context.

Then you'll get no interference from Voice-level reverts.


Astounding subtlety. Thanks very much!
Best, Simon

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


Re: Is it right how oneVoice reverts direction settings?

2018-04-11 Thread Simon Albrecht

On 11.04.2018 00:20, Thomas Morley wrote:

All other
settings are overrides, so probably below may work.
Please be aware it's not tested beyond the given example!


Thanks for that! I might prefer David’s solution, because it doesn’t 
require redefining commands, but it’s good to have that up the sleeve.


Best, Simon

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


Re: Is it right how oneVoice reverts direction settings?

2018-04-11 Thread David Kastrup
Simon Albrecht  writes:

> Hello everybody,
>
> suppose I want to globally override the direction of slurs, as far as
> neutral voices go. If I do this:
>
> %%% \version "2.19.80" \layout {   \context {     \Voice
>     \override Slur.direction = #UP   } } music = { c'( d' e' f') } {  
> \music   \voiceTwo   \music   \oneVoice   \music } 

Why would you use a \Voice context if you want to "globally override"?
Do it in Score context.

Then you'll get no interference from Voice-level reverts.

-- 
David Kastrup

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


Re: Is it right how oneVoice reverts direction settings?

2018-04-11 Thread David Kastrup
Simon Albrecht  writes:

> On 11.04.2018 09:14, David Kastrup wrote:
>> Why would you use a \Voice context if you want to "globally override"?
>> Do it in Score context.
>>
>> Then you'll get no interference from Voice-level reverts.
>
> Astounding subtlety.

Now that's a rare compliment for me to be hearing.

> Thanks very much!  Best, Simon

Hope this helped.

-- 
David Kastrup

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


Re: The search for an API

2018-04-11 Thread David Kastrup
"Felix D."  writes:

> Hello Lilypond-Fans,
>
> I have a question: Does Lilypond have an API that can be simply called from
> other programs to render some markup (stored as a string) into a SVG file?
>
> We want to use Lilypond in an Unity app/game, wich will be used by many
> musicians and thus requires some decent staff rendering. We basically
> program in C#, but there is an easy bridge to interface with C/C++
> libraries. So calling an API should not be a huge problem, but does it even
> exist and is documented somewhere?
>
> I asked in the IRC a few hors ago, and received a brief "No, it doesn't
> exist". Bit is that really the abrupt end of the story, or is there some
> other possibility to call Lilypond from an external program?

There is no API.  You can call it on the command line.

-- 
David Kastrup

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


Re: The search for an API

2018-04-11 Thread Mason Hock
Is this the sort of thing you're looking for?

http://projectabjad.org/

Mason

On 04/10, Felix D. wrote:
> Hello Lilypond-Fans,
> 
> I have a question: Does Lilypond have an API that can be simply called from
> other programs to render some markup (stored as a string) into a SVG file?
> 
> We want to use Lilypond in an Unity app/game, wich will be used by many
> musicians and thus requires some decent staff rendering. We basically
> program in C#, but there is an easy bridge to interface with C/C++
> libraries. So calling an API should not be a huge problem, but does it even
> exist and is documented somewhere?
> 
> I asked in the IRC a few hors ago, and received a brief "No, it doesn't
> exist". Bit is that really the abrupt end of the story, or is there some
> other possibility to call Lilypond from an external program?
> 
> Cheers
> Felix D.

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



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


Re: Scordatura question

2018-04-11 Thread bill wolf

Today, i believe it is standard to include both a fingered score and a sounding score.  i did, anyway, when i wrote my scordatura piece.  It had a complex tonality, and i thought it fair to give the performer a sounding score so they could more easily spot errors.  It might not be as necessary for a simpler language and approach.H.I.F. von Biber, in the generation before Bach, wrote extensively in scordatura tunings.  His cycle called, The Rosary Sonatas, has a different tuning for nearly every piece, including one where the D and A strings are switched.  That one is called the Cross Sonata.  A friend of mine performed the cycle and switched between four violins to cut down on the constant retuning.  Anyway, Biber only had fingered scores, and it's wild to follow the score while listening.  You see parallel tritones on the page while listening to thirds float by.Well, there you have it:  an open-ended answer.  Because scordatura has fallen out of practice for nearly all string players but guitarists, i'd include a fingered score with a sounding score no matter what--a bit like a courtesy accidental.Take care!billHello folks,String instruments sometimes use scordaturas: I?ve wondered how this is noted in modern scores, but couldn't find examples on the Internet.Can anyone give pointers to actual scores showing that?Thanks!JM
 

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


Re: The search for an API

2018-04-11 Thread Al Rushing


I suspect Python can do it.I plan on trying that in the future.

Python is C based.


Al.




 Original message 
From: David Kastrup 
Date: 4/11/18 12:17 AM (GMT-08:00)
To: "Felix D." 
Cc: lilypond-user@gnu.org
Subject: Re: The search for an API

"Felix D."  writes:

> Hello Lilypond-Fans,
>
> I have a question: Does Lilypond have an API that can be simply called from
> other programs to render some markup (stored as a string) into a SVG file?
>
> We want to use Lilypond in an Unity app/game, wich will be used by many
> musicians and thus requires some decent staff rendering. We basically
> program in C#, but there is an easy bridge to interface with C/C++
> libraries. So calling an API should not be a huge problem, but does it even
> exist and is documented somewhere?
>
> I asked in the IRC a few hors ago, and received a brief "No, it doesn't
> exist". Bit is that really the abrupt end of the story, or is there some
> other possibility to call Lilypond from an external program?

There is no API.  You can call it on the command line.

--
David Kastrup

___
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: The search for an API

2018-04-11 Thread Johan Vromans
On Wed, 11 Apr 2018 07:07:10 -0700, Mason Hock  wrote:

> Is this the sort of thing you're looking for?
> 
> http://projectabjad.org/

When looking for an API that makes detailed handling of scores possible,
yes.

However, I got the idea that OP was looking for an easy way to transform a
LP "scorelet" into an SVG, something that can be quite trivially obtained
by shelling out to LP.

This is exactly how tools like OOLilyPond do it.

-- Johan

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


Re: The search for an API

2018-04-11 Thread Helge Kruse
Hi Mason,

this is intentionally not to the Lilypond list to avoid unnecessary
traffic in that list.

I followed the link you posted. It doesn't address a sensible web
site. All you can read is:

  Web access is restricted. Please contact the administrator. (Parked Domains)
  (If you feel this site has been improperly categorized, please visit
here to submit a review.)

Can you check the link at send a mail with the intended URL to the list?

Best! Helge

2018-04-11 16:07 GMT+02:00 Mason Hock :
> Is this the sort of thing you're looking for?
>
> http://projectabjad.org/
>
> Mason

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


Re: The search for an API

2018-04-11 Thread David Wright
On Wed 11 Apr 2018 at 17:48:06 (+0200), Helge Kruse wrote:
> Hi Mason,
> 
> this is intentionally not to the Lilypond list to avoid unnecessary
> traffic in that list.
> 
> I followed the link you posted. It doesn't address a sensible web
> site. All you can read is:
> 
>   Web access is restricted. Please contact the administrator. (Parked Domains)
>   (If you feel this site has been improperly categorized, please visit
> here to submit a review.)
> 
> Can you check the link at send a mail with the intended URL to the list?
> 
> Best! Helge
> 
> 2018-04-11 16:07 GMT+02:00 Mason Hock :
> > Is this the sort of thing you're looking for?
> >
> > http://projectabjad.org/

It's fine here, attached.

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


Re: The search for an API

2018-04-11 Thread David Kastrup
Helge Kruse  writes:

> Hi Mason,
>
> this is intentionally not to the Lilypond list to avoid unnecessary
> traffic in that list.

Congrats on the intent.

> I followed the link you posted. It doesn't address a sensible web
> site. All you can read is:
>
>   Web access is restricted. Please contact the administrator. (Parked Domains)
>   (If you feel this site has been improperly categorized, please visit
> here to submit a review.)
>
> Can you check the link at send a mail with the intended URL to the list?
>
> Best! Helge
>
> 2018-04-11 16:07 GMT+02:00 Mason Hock :
>> Is this the sort of thing you're looking for?
>>
>> http://projectabjad.org/

Huh.  Looks fine here.  Temporary outage?

-- 
David Kastrup

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


Re: The search for an API

2018-04-11 Thread Mason Hock
On 04/11, Johan Vromans wrote:
> On Wed, 11 Apr 2018 07:07:10 -0700, Mason Hock  wrote:
> 
> > Is this the sort of thing you're looking for?
> > 
> > http://projectabjad.org/
> 
> When looking for an API that makes detailed handling of scores possible,
> yes.
> 
> However, I got the idea that OP was looking for an easy way to transform a
> LP "scorelet" into an SVG, something that can be quite trivially obtained
> by shelling out to LP.

Yes, it's because it's trivial that I assumed he was instead looking for a way 
to generate the lilypond code itself, but rereading the OP I think you're right.

Mason

> 
> This is exactly how tools like OOLilyPond do it.
> 
> -- Johan
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: Scordatura question

2018-04-11 Thread Jacques Menu Muzhic
Hello all,

Thanks for the pointers and explanations. 

I thought there might be a specific way to indicate a scordatura, and it turns 
out there are many possible ways, including providing a second scores with the 
actual pitches or a staff fragment showing the various string pitches 
vertically:



It would be nice to add the string number at the left of the notes, in case 
only some strings are tuned differently than usual.

\version "2.19.80"

\header {
  title = "Guitar tunings"
}

\relative c {
  \omit Staff.TimeSignature
  \hide Stem
  \mark "EADGBE"
  < e a d g b e >
}

\relative c {
  \omit Staff.TimeSignature
  \hide Stem
  \mark "DADGAD"
  < d a d' g a d >
}


JM
 

> Le 11 avr. 2018 à 01:49, Vaughan McAlley  a écrit :
> 
> On Wed, 11 Apr 2018, 09:47 Vaughan McAlley,  > wrote:
> On Wed, 11 Apr 2018, 07:10 Menu Jacques,  > wrote:
> Hello folks,
> 
> String instruments sometimes use scordaturas: I’ve wondered how this is noted 
> in modern scores, but couldn't find examples on the Internet.
> 
> Can anyone give pointers to actual scores showing that?
> 
> Thanks!
> 
> JM
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org 
> https://lists.gnu.org/mailman/listinfo/lilypond-user 
> 
> 
> Do you mean modern scores of old music?
> 
> https://www.google.com.au/search?q=bach+cello+suite+5+sheet+music=tablet-android-google=ivsn=lnms=isch=X=0ahUKEwi6hKnI7rDaAhUJi7wKHdYiDXAQ_AUIESgB=600=960
>  
> 
> 
> I like the one with both performed and sounding staves. The performer has to 
> deal with the notes sounding wrong or working out new fingerings from a 
> sounding score. You might as well give them the choice.
> 
> Vaughan
> 
> Ugh, the link didn't copy properly. Google an image search of Bach cello 
> suite 5...
> 
> 
> ___
> 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