Re: Simple example with vertical spacing and dynamic contexts

2019-03-07 Thread Reggie
I also would like to know why this fails not just the fix.


Павел Буданов-2 wrote
> How to control vertical spacing in the middle of a piece?
> 
> \new StaffGroup \with
> { \override StaffGrouper.staff-staff-spacing.padding = 10 } % It's OK
> <<
>\new Staff
>{
>  c' c' c' c'
>  \break
>  \override StaffGrouper.staff-staff-spacing.padding = 30 % It isn't
> work
>  c' c' c' c'
>}
>\new Staff { c' c' c' c' c' c' c' c' }
>>>
> 
> пт, 1 февр. 2019 г. в 11:41, Павел Буданов 

> budanov.pavel@

> :
> 
>> It really helped me, I am very grateful to you. Would you like to change
>> the vertical spacing chapter
>> http://lilypond.org/doc/v2.18/Documentation/learning/vertical-spacing;
>> in the learning manual? You were able to explain a lot of things in plain
>> language.
>>
>> пт, 1 февр. 2019 г. в 05:54, Aaron Hill 

> lilypond@

> :
>>
>>> On 2019-01-31 9:11 am, Павел Буданов wrote:
>>> > I've solved this problem partially with for lower contexts, but i
>>> > can't find the necessary properties for upper contexts. Can you help
>>> > me?
>>> >
>>> > \new StaffGroup
>>> > <<
>>> >   \new Dynamics { s2.\< s4\ff }
>>> >   \new Lyrics \lyricmode { Ly4 -- ric ly -- ric }
>>> >   \new Staff \with
>>> >   { \override VerticalAxisGroup.staff-staff-spacing =
>>> > #'((basic-distance . 20) (padding . 0.5)) }
>>> >   { a'4 a' a' a' }
>>> >   \new Staff { d'4 d' d' d' }
>>> >   \new Lyrics \with
>>> >   {
>>> > \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
>>> > #'((basic-distance . 10) (padding . 0.5))
>>> > \override VerticalAxisGroup.nonstaff-nonstaff-spacing =
>>> > #'((basic-distance . 10) (padding . 0.5))
>>> >   }
>>> >   \lyricmode { Ly4 -- ric ly -- ric }
>>> >   \new Dynamics { s2.\< s4\ff }
>>> > >>
>>>
>>> Be sure to examine the output of LilyPond for warnings, not just errors:
>>>
>>> > warning: staff-affinities should only decrease
>>>
>>> This is telling you that you need to manually adjust
>>> VerticalAxisGroup.staff-affinity.  By default, Dynamics uses a
>>> staff-affinity of CENTER (0) as it typically appears between two staves,
>>> whereas Lyrics uses UP (1) as it typically appears below a staff.  Your
>>> upper Lyrics context is trying to locate its "relatedstaff" above, but
>>> there is none to be found.  You will need to set its staff-affinity to
>>> DOWN (-1).  (You could leave the two Dynamics contexts set to CENTER
>>> staff-affinity; but it arguably better to also explicitly set them to
>>> UP/DOWN based on where they appear.)
>>>
>>> There is a second issue that unfortunately there is no warning for.  You
>>> are setting basic-distance but not minimum-distance as well.  By
>>> omitting minimum-distance from the spacing alist, you are using the
>>> default value of zero.  LilyPond only attempts to honor basic-distance,
>>> but will collapse down to minimum-distance if needed (and often a little
>>> too eagerly).  If you tried to set only basic-distance for the upper
>>> contexts, you may find that it has no effect.
>>>
>>> It may be easier to see what it going on by only using padding, although
>>> a combination of basic-distance, minimum-distance, padding, and
>>> stretchability is often required to get the most out of the flexible
>>> spacing system.  Consider the following:
>>>
>>> 
>>> \version "2.19.82"
>>>
>>> % Forcibly reset all default spacing variables to zero.
>>> \layout {
>>>\context { \Dynamics
>>>  \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #'(())
>>>  \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'(())
>>>  \override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing =
>>> #'(())
>>>}
>>>\context { \Lyrics
>>>  \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #'(())
>>>  \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'(())
>>>  \override VerticalAxisGroup.nonstaff-unrelatedstaff-spacing =
>>> #'(())
>>>}
>>>\context { \Staff
>>>  \override VerticalAxisGroup.default-staff-staff-spacing = #'(())
>>>  \override VerticalAxisGroup.staff-staff-spacing = #'(())
>>>}
>>> }
>>>
>>> \new StaffGroup <<
>>>\new Dynamics \with {
>>>% Dynamics is above Staff.
>>>\override VerticalAxisGroup.staff-affinity = #DOWN
>>>% Spacing between this Dynamics and the following Lyrics.
>>>\override VerticalAxisGroup.nonstaff-nonstaff-spacing =
>>>  #'((padding . 2))
>>>  }
>>>  { s2.\< s4\ff }
>>>\new Lyrics \with {
>>>% Lyrics is above Staff.
>>>\override VerticalAxisGroup.staff-affinity = #DOWN
>>>% Spacing between this Lyrics and the following Staff.
>>>\override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
>>>  #'((padding . 3))
>>>  }
>>>  \lyricmode { Ly4 -- ric ly -- ric }
>>>\new Staff \with {
>>>% Spacing between this Staff and the following Staff.
>>>\override VerticalAxisGroup.staff-staff-spacing =
>>>  

Re: LilyPond 64-bit version for a Mac

2019-03-07 Thread Hans Åberg


> On 7 Mar 2019, at 20:24, Mason Hock  wrote:
> 
> I'm not familiar with Stockfish and am not sure what
> their situation is.

If one has the sources, they can be modified, and using Xcode, compiled, and 
the binary can be installed on a device connected to the computer without using 
the app store, cf. [1], "Install using Xcode".

1. https://docs.monaca.io/en/products_guide/monaca_ide/deploy/non_market_deploy/



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


Re: LilyPond 64-bit version for a Mac

2019-03-07 Thread Mason Hock
On 03/07, Karlin High wrote:
> Okay, probably not. Apple and GPL-maker the Free Software Foundation seem
> pretty uninterested in each other's goals.
> 
> 
> 
> 

My message to the list yesterday seems to have not gone through, but
here's my (IANAL) understanding of the situation:

Unless Apple has changed its policy, the App Store terms of use impose
restrictions beyond that of the software's license, which violates any
version of the GPL, even with the source code. Moreover, iOS does not
allow the user to install unsigned software, so even if the user can
modify the software they can not run it in iOS. GPLv2 allows this, but
the loophole was closed in GPLv3. In order to legally distribute
GPL-licensed software through the App Store, all contributors (unless
they have signed a CLA) must agree to relicense the iOS version of the
software or make an exception to the license. Nextcloud is an example of
the latter.[1] I'm not familiar with Stockfish and am not sure what
their situation is.

See also.[2]

[1] https://github.com/nextcloud/ios/blob/master/COPYING.iOS
[2] https://www.fsf.org/blogs/licensing/more-about-the-app-store-gpl-enforcement


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


Re: Discussion about Lilypond(for GSoC 2019 project)

2019-03-07 Thread Urs Liska


Am 7. März 2019 16:54:33 MEZ schrieb David Wright :
>On Thu 07 Mar 2019 at 19:32:27 (+0530), AKSHITA TYAGI wrote:
>> I mean like there are files in MIDI and for that we can get
>notations.
>> But we can also use those stored notations as input and get real
>music as
>> output.
>> Like we give 2 options-
>> 1.music to notations (the usual one)
>> 2.notations to music- In which we can give user the notations to
>enter and
>> he/she will get to listen to the music generated by those notations.
>
>I'm getting very confused by the terminology in this thread.
>So far we have:
>
>MIDI files
>notations (stored)
>real music
>music
>notation (given) to enter to something
>translations of notations (stored)
>audio
>lyrics
>suggestions of notations (popping up)
>
>I understand the following:
>
>M) MIDI files with the filename foo.mid or foo.midi
>L) LilyPond source with the filename foo.ly
>P) LilyPond program source with filenames like foo.scm and bar.ly
>(leaving aside binaries)
>S) Scores, varying from a Bach manuscript to printed editions of the
>same
>J) Real music which I hear in the concert hall or off the radio/MP3
>player
>G) Synthesised music which I hear when I play MIDI files on various
>devices
>
>LilyPond can do L→S and L→M using various fragments of P.
>Frescobaldi does much the same, displaying L and S on the screen.
>midi2ly does M→basic L, and I've tried Rosegarden for this too.
>
>I think programs exist that can turn a scanned S into a proprietary
>program's version of L, say, a .sib file.

More generally: from scanned sheet music to MusicXML, from which it can be 
converted to LilyPond source files. Both steps need manual proofreading.

Urs

>
>Given those terms, I can't quite figure out what's being discussed
>here.
>
>> On Thu, Mar 7, 2019, 5:20 PM Karlin High 
>wrote:
>> 
>> > If replies to lilypond-user messages are only addressed to the
>sender,
>> > the rest of the list will not see them. Please include
>> > lilypond-user@gnu.org as a TO or CC address in future messages. A
>GSoC
>> > discussion requires input from others besides me.
>> >
>> > On 3/7/2019 3:42 AM, AKSHITA TYAGI wrote:
>> > > Translating to real music- like we input the notations and get
>music as
>> > > output. For that maybe we can reverse the program or we can
>create a new
>> > > library which stores the translation of the notations maybe a bit
>> > > complicated but worth trying I think.
>> > > Maybe we can add more features and make it look better as display
>it is
>> > > translated to both audio and lyrics.
>> > > And pop up with suggestions of notations.
>> > > And for more languages we can add on more languages in the
>library.
>> > > Because India and China are one of the top most countries that
>are found
>> > > of music.
>> >
>> > The Frescobaldi editor for LilyPond has a MIDI player. It plays the
>MIDI
>> > files made by LilyPond for the given notation. Would your feature
>for
>> > translating to real music be something like that?
>
>Cheers,
>David.
>
>___
>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: Discussion about Lilypond(for GSoC 2019 project)

2019-03-07 Thread David Wright
On Thu 07 Mar 2019 at 19:32:27 (+0530), AKSHITA TYAGI wrote:
> I mean like there are files in MIDI and for that we can get notations.
> But we can also use those stored notations as input and get real music as
> output.
> Like we give 2 options-
> 1.music to notations (the usual one)
> 2.notations to music- In which we can give user the notations to enter and
> he/she will get to listen to the music generated by those notations.

I'm getting very confused by the terminology in this thread.
So far we have:

MIDI files
notations (stored)
real music
music
notation (given) to enter to something
translations of notations (stored)
audio
lyrics
suggestions of notations (popping up)

I understand the following:

M) MIDI files with the filename foo.mid or foo.midi
L) LilyPond source with the filename foo.ly
P) LilyPond program source with filenames like foo.scm and bar.ly
(leaving aside binaries)
S) Scores, varying from a Bach manuscript to printed editions of the same
J) Real music which I hear in the concert hall or off the radio/MP3 player
G) Synthesised music which I hear when I play MIDI files on various devices

LilyPond can do L→S and L→M using various fragments of P.
Frescobaldi does much the same, displaying L and S on the screen.
midi2ly does M→basic L, and I've tried Rosegarden for this too.

I think programs exist that can turn a scanned S into a proprietary
program's version of L, say, a .sib file.

Given those terms, I can't quite figure out what's being discussed here.

> On Thu, Mar 7, 2019, 5:20 PM Karlin High  wrote:
> 
> > If replies to lilypond-user messages are only addressed to the sender,
> > the rest of the list will not see them. Please include
> > lilypond-user@gnu.org as a TO or CC address in future messages. A GSoC
> > discussion requires input from others besides me.
> >
> > On 3/7/2019 3:42 AM, AKSHITA TYAGI wrote:
> > > Translating to real music- like we input the notations and get music as
> > > output. For that maybe we can reverse the program or we can create a new
> > > library which stores the translation of the notations maybe a bit
> > > complicated but worth trying I think.
> > > Maybe we can add more features and make it look better as display it is
> > > translated to both audio and lyrics.
> > > And pop up with suggestions of notations.
> > > And for more languages we can add on more languages in the library.
> > > Because India and China are one of the top most countries that are found
> > > of music.
> >
> > The Frescobaldi editor for LilyPond has a MIDI player. It plays the MIDI
> > files made by LilyPond for the given notation. Would your feature for
> > translating to real music be something like that?

Cheers,
David.

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


Re: LilyPond 64-bit version for a Mac

2019-03-07 Thread Hans Åberg


> On 7 Mar 2019, at 15:01, Karlin High  wrote:
> 
> On 3/7/2019 7:44 AM, Karlin High wrote:
>> Think it's worth reaching out to that project to find out?
> 
> Okay, probably not. Apple and GPL-maker the Free Software Foundation seem 
> pretty uninterested in each other's goals.
> 
> 
> 
> 

If one has the sources, maybe one can compile it in Xcode and install it from 
there.



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


Re: Discussion about Lilypond(for GSoC 2019 project)

2019-03-07 Thread AKSHITA TYAGI
I mean like there are files in MIDI and for that we can get notations.
But we can also use those stored notations as input and get real music as
output.
Like we give 2 options-
1.music to notations (the usual one)
2.notations to music- In which we can give user the notations to enter and
he/she will get to listen to the music generated by those notations.

On Thu, Mar 7, 2019, 5:20 PM Karlin High  wrote:

> If replies to lilypond-user messages are only addressed to the sender,
> the rest of the list will not see them. Please include
> lilypond-user@gnu.org as a TO or CC address in future messages. A GSoC
> discussion requires input from others besides me.
>
> On 3/7/2019 3:42 AM, AKSHITA TYAGI wrote:
> > Translating to real music- like we input the notations and get music as
> > output. For that maybe we can reverse the program or we can create a new
> > library which stores the translation of the notations maybe a bit
> > complicated but worth trying I think.
> > Maybe we can add more features and make it look better as display it is
> > translated to both audio and lyrics.
> > And pop up with suggestions of notations.
> > And for more languages we can add on more languages in the library.
> > Because India and China are one of the top most countries that are found
> > of music.
>
> The Frescobaldi editor for LilyPond has a MIDI player. It plays the MIDI
> files made by LilyPond for the given notation. Would your feature for
> translating to real music be something like that?
> --
> Karlin High
> Missouri, USA
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPond 64-bit version for a Mac

2019-03-07 Thread Karlin High

On 3/7/2019 7:44 AM, Karlin High wrote:

Think it's worth reaching out to that project to find out?


Okay, probably not. Apple and GPL-maker the Free Software Foundation 
seem pretty uninterested in each other's goals.






--
Karlin High
Missouri, USA

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


Re: LilyPond 64-bit version for a Mac

2019-03-07 Thread Karlin High

On 3/6/2019 5:34 PM, Hans Åberg wrote:

Isn't it enough to distribute the sources along with the app, as with Stockfish
https://stockfishchess.org/download/


That DOES look like a GPL v3 project getting distributed on Apple App Store.



I wonder how that's allowed. David K? Anyone? Think it's worth reaching 
out to that project to find out?

--
Karlin High
Missouri, USA

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


Re: Discussion about Lilypond(for GSoC 2019 project)

2019-03-07 Thread Karlin High
If replies to lilypond-user messages are only addressed to the sender, 
the rest of the list will not see them. Please include 
lilypond-user@gnu.org as a TO or CC address in future messages. A GSoC 
discussion requires input from others besides me.


On 3/7/2019 3:42 AM, AKSHITA TYAGI wrote:
Translating to real music- like we input the notations and get music as 
output. For that maybe we can reverse the program or we can create a new 
library which stores the translation of the notations maybe a bit 
complicated but worth trying I think.
Maybe we can add more features and make it look better as display it is 
translated to both audio and lyrics.

And pop up with suggestions of notations.
And for more languages we can add on more languages in the library. 
Because India and China are one of the top most countries that are found 
of music.


The Frescobaldi editor for LilyPond has a MIDI player. It plays the MIDI 
files made by LilyPond for the given notation. Would your feature for 
translating to real music be something like that?

--
Karlin High
Missouri, USA

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


Re: Bug: restarting staff destroys DynamicLineSpanner.staff-padding after line break

2019-03-07 Thread David Kastrup
Trevor Bača  writes:

> Restarting the staff during the lifespan of a multisystem
> DynamicLineSpanner destroys the value of DynamicLineSpanner properties
> (like staff-padding) that were set when the DynamicLineSpanner was
> created.

It doesn't.  It's just that the DynamicLineSpanner has a relation with
the Staff it was started in.

> In the MWE below, the hairpin should exhibit staff-padding equal to 10
> staff spaces below all four systems; but the value of staff-padding is lost
> at the point (in system 2) that the staff is restarted; we see evidence of
> this after the next line break (in systems 3 and 4) where no staff padding
> appears.
>
> %%% BEGIN %%%
>
> \version "2.19.82"
>
> \new Staff
> {
>
> \override DynamicLineSpanner.staff-padding = 10
> c'1
> \p
> \<
> c'1
> c'1
> \break
>
> c'1
> \stopStaff
> \startStaff
> c'1
> c'1
> \break
>
> c'1
> c'1
> c'1
> \break
>
> c'1
> c'1
> c'1
> \f
>
> }
>
> \paper
> {
> indent = 0
> ragged-right = ##t
> system-system-spacing.minimum-distance = 30
> }
>
> %%% END %%%
>
> [image: restart-staff-dynamic-line-spanner-bug.png]

If you start a new DynamicLineSpanner like

c'1\!
\stopStaff
\startStaff
c'1\<

it will be properly spaced.  It's probably not the only spanner
unprepared to span pieces of interrupted staff symbols.

-- 
David Kastrup

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