Re: \retrograde to equivalent Scheme function directly from the command line

2017-10-19 Thread Thomas Morley
2017-10-19 2:11 GMT+02:00 Jorge Gomez Abrante :
> Hello all!
>
> Is there a command line option that allows me to translate lilypond grammar
> to scheme internal code.
>
> I want to study how the \retrograde function was implemented in Scheme.
>
> Your help is greatly appreciated!
>
> best regards,
>
> Jorge Gomez Abrante composer and performer



You could do

lilypond scheme-sandbox
(procedure-source (ly:music-function-extract retrograde))
(procedure-source retrograde-music)

But why?
It's far easier to look it up in the relevant .ly and .scm-files using
searching utilities of a good editor.

Cheers,
  Harm

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


Re: \retrograde to equivalent Scheme function directly from the command line

2017-10-19 Thread David Kastrup
Jorge Gomez Abrante  writes:

> Hello all!
>
> Is there a command line option that allows me to translate lilypond grammar
> to scheme internal code.
>
> I want to study how the \retrograde function was implemented in Scheme.

This is Free Software, so you have the right to get the source code
without extra cost.  The freedom to study code is explicitly listed as
one of the fundamental four software freedoms.  Now in this particular
case this isn't exactly hard since both LilyPond and Guile are
interpreters and thus the source code _has_ to be in your installation
directory anyway.  If we were talking proprietary or precompiled
software, this could be in some mangled or stripped down form (and once
Guile 2 is fully supported, there _will_ be such a form in addition),
but it isn't.  All the original comments (which does not necessarily
mean a lot, but if you want, you can submit more) are still there.

You'll find the LilyPond part in ly/music-functions-init.ly and the
Scheme part in scm/modal-transforms.scm .

-- 
David Kastrup

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


Re: Re: midi \breathe

2017-10-19 Thread Gianmaria Lari
On 18 October 2017 at 23:43, Flaming Hakama by Elaine <
ela...@flaminghakama.com> wrote:

>
> []
>
> Here is an common approch:  use tags to identify content that is
> MIDI-specific, as well as PDF-specific. []
>

Thank you Flaming and Johan for your help! Yes, I will use the tag
technique.
g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


write text next to the staff

2017-10-19 Thread Gianmaria Lari
Is there any simple way to write some text on the right of the staff? Like
in the attached image.

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


\repeatTie on single note in chord still not showing up

2017-10-19 Thread Robert Murdoch

Hi,

A few months ago, somebody wrote about how to insert repeatTies on a 
single note in a chord, and it was discovered that when one did this 
e.g. 2, the tie wouldn't show up. It was decided it 
was a bug. You can find the thread here 
.


As of 2.19.80, the issue is still at hand.

Thanks for reading.

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


Re: Any other Thunderbird users have messages never post? (WAS: Hide slur?)

2017-10-19 Thread Ben

On 18/10/17 17:38, Karlin High wrote:

On Wed, Oct 18, 2017 at 9:08 AM, David Kastrup  wrote:

Bynow you should have realized that Mails to lilypond-user do not, as a
rule, get lost and reposting them several times does not help.

I was driven to switch to the Gmail web interface. I can make it work,
but I think I would still prefer Thunderbird.


But anyway, is anyone else using Thunderbird, and never having any
lost messages at all?
If so, is your email provider something other than Gmail, GMX, or
Microsoft? (Microsoft meaning Hotmail, Outlook.com, etc.)
--
Karlin High
Missouri, USA

Thuderbird + btinternet - though that's not much use for Missouri!  At
work I use Thunderbird + gmail and cannot say I've ever suffered from
dropped emails - yet!




Hi Karlin,

A little while back I had made a thread where I was having issues 
sending mail to the list via Thunderbird (and Nabble directly) - I 
contacted the mailing list admin and received some helpful advice.


In addition to only *attaching* files (vs. drag/drop images inline, 
which can be an overload for certain recipients), I also made one 
important change that may help you as it helped me. (see attached)


I changed the way Google *authenticated* my account and the problem 
immediately was resolved. I now use Oath instead of a "normal" password. 
It doesn't require any extra work on your end other than an initial 
setup, but it's very easy.


Hope this helps you too.


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


Re: write text next to the staff

2017-10-19 Thread Ben

On 10/19/2017 4:22 AM, Gianmaria Lari wrote:
Is there any simple way to write some text on the right of the staff? 
Like in the attached image.


Thank you, g.




Hi G,

I came across this code a while back on another website and it worked 
for what you're asking.

So I saved it for a rainy day... :)

Here it is:
(see attached)

\version "2.19.65"


barlineMarkup = \markup {
  \whiteout
  \pad-around #1
  \vcenter
  \column {
    "Some text I want"
    "next to the score"
  }
}

customBarLine = {
  \once \override Staff.BarLine #'stencil =
  #(lambda (grob)
 (ly:stencil-combine-at-edge
  (ly:bar-line::print grob)
  X RIGHT
  (grob-interpret-markup grob barlineMarkup)
  0))
}

{
  \override Score.BarLine.layer = 1
  c' d' e' c' \customBarLine \bar "|."
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Any other Thunderbird users have messages never post? (WAS: Hide slur?)

2017-10-19 Thread Bernhard Kleine

Am 18.10.2017 um 18:38 schrieb Karlin High:
> On Wed, Oct 18, 2017 at 9:08 AM, David Kastrup  wrote:
>> Bynow you should have realized that Mails to lilypond-user do not, as a
>> rule, get lost and reposting them several times does not help.
> Would that were true for some of us Thunderbird users! (Header says
> that's what sent the messages.)
>
> https://lists.gnu.org/archive/html/lilypond-user/2017-09/msg00260.html
>
> I was driven to switch to the Gmail web interface. I can make it work,
> but I think I would still prefer Thunderbird.
>
> In my experience, it is a fool's errand to try fixing problems of this
> nature. It usually means lots of research, and then telling an email
> admin something like "Your system has configuration X and it is
> causing me problems." Usually that gets a response like "We configured
> it that way because Y, and we are not changing it. Sorry about your
> email client."
>
> But anyway, is anyone else using Thunderbird, and never having any
> lost messages at all?
> If so, is your email provider something other than Gmail, GMX, or
> Microsoft? (Microsoft meaning Hotmail, Outlook.com, etc.)
> --
> Karlin High
> Missouri, USA

As I started this, I would like to comment:

 1. I read this list using Thunderbird, my mail server sits with
gmx.net. When I didnot see my mail for several hours arriving on the
list I started to worry.
 2. In the mean time there were to messages in the mailing list
arriving. I checked the spam folder with gmx using a webinterface,
but there were not any mails from lilypond-user@gnu.org.
 3. I have not yet understood why this delay. It is nice to know that
mails do not get lost, but how can you be sure, David. Mails lost
would not be seen?

Bernard

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09



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


Re: write text next to the staff

2017-10-19 Thread Gianmaria Lari
On 19 October 2017 at 12:17, Ben  wrote:

> On 10/19/2017 4:22 AM, Gianmaria Lari wrote:
>
> Is there any simple way to write some text on the right of the staff? Like
> in the attached image.
>
> Thank you, g.
>
>
>
> Hi G,
>
> I came across this code a while back on another website and it worked for
> what you're asking.
> So I saved it for a rainy day... :)
>
[]

Thank you Ben, yes I had seen it but it looked too much complicated for a
so simple need so I have think it was not the right solution

Playing a bit I have been able to obtain something that is not perfect but
at least pretty simple:

\version "2.19.80"
mytext = {
  \stopStaff \hideNotes c c'^\markup {This is a simple text}
}

\score {
  \fixed c' {c d c d \mytext}
  \layout{}
}


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


Re: Any other Thunderbird users have messages never post? (WAS: Hide slur?)

2017-10-19 Thread Wols Lists
On 19/10/17 12:33, Bernhard Kleine wrote:
> 

> 
> As I started this, I would like to comment:
> 
>  1. I read this list using Thunderbird, my mail server sits with
> gmx.net. When I didnot see my mail for several hours arriving on the
> list I started to worry.

Has gmx sat on the mail for a while before sending it? This can happen
... expecially if one of "internet tubes" is clogged.

>  2. In the mean time there were to messages in the mailing list
> arriving. I checked the spam folder with gmx using a webinterface,
> but there were not any mails from lilypond-user@gnu.org.

Messages should turn up eventually, but don't forget mail servers can
get clogged up. We're so used to immediate delivery we forget that
doesn't always happen.

I sometimes get messages back from lists saying random messages have
been held for moderation. I don't remember this happening here, but it can.

>  3. I have not yet understood why this delay. It is nice to know that
> mails do not get lost, but how can you be sure, David. Mails lost
> would not be seen?
> 
And again, I don't think it applies here, don't forget some lists will
look at the distribution list on the incoming mail, and not send the
outgoing message to those addresses. So you do not receive a copy of
your own emails.

Cheers,
Wol


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


\StaffGroup \consists "Mark_engraver"

2017-10-19 Thread Pierre-Luc Gauthier
Hi there,

I'm trying to move the "Mark_engraver" from the \Score context to the
\StaffGroup context so as to have \mark \default be displayed at the
top of every new \StaffGroup.

I'm not sure why this does not work though :

What I get is marks pilled at the top of the score.

\version "2.21.0"

music = \relative c' {
  \mark \default
  c4 d e f g a b c
}

someGroup = \new StaffGroup <<
  \music
  \music
>>

\score {
  <<
\someGroup
\someGroup
\someGroup
  >>
  \layout {
\context {
  \Score
  \remove "Mark_engraver"
}
\context {
  \StaffGroup
  %\Staff
  \consists "Mark_engraver"
}
  }
}

Thanks for any pointers.

-- 
Pierre-Luc Gauthier
\version "2.21.0"

music = \relative c' {
  \mark \default
  c4 d e f g a b c
}

someGroup = \new StaffGroup <<
  \music
  \music
>>

\score {
  <<
\someGroup
\someGroup
\someGroup
  >>
  \layout {
\context {
  \Score
  \remove "Mark_engraver"
}
\context {
  \StaffGroup
  %\Staff
  \consists "Mark_engraver"
}
  }
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Any other Thunderbird users have messages never post? (WAS: Hide slur?)

2017-10-19 Thread Bernhard Kleine
Am 19.10.2017 um 15:04 schrieb Wols Lists:
> And again, I don't think it applies here, don't forget some lists will
> look at the distribution list on the incoming mail, and not send the
> outgoing message to those addresses. So you do not receive a copy of
> your own emails.
Actually I do receive my own mails with most of the list I am attached
as well as with the lilypond-user list.

> Has gmx sat on the mail for a while before sending it?
I have never experienced such behaviour.
Cheers
Bernhard

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09




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


Re: Any other Thunderbird users have messages never post? (WAS: Hide slur?)

2017-10-19 Thread Robert Schmaus
Hi Karlin,

> But anyway, is anyone else using Thunderbird, and never having any
> lost messages at all?

I do, and I haven't ever lost a message to this (or indeed any) list.
Sometimes it took a while for it to show up but I doubt that's anything to do 
with TBird. 

> If so, is your email provider something other than Gmail, GMX, or
> Microsoft? (Microsoft meaning Hotmail, Outlook.com, etc.)

It's FastMail. 

HTH,
Robert

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


Re: Any other Thunderbird users have messages never post? (WAS: Hide slur?)

2017-10-19 Thread Karlin High
On Thu, Oct 19, 2017 at 10:39 AM, Robert Schmaus  wrote:
>> is anyone else using Thunderbird, and never having any
>> lost messages at all?
>
> I do, and I haven't ever lost a message to this (or indeed any) list.
>
>> If so, is your email provider something other than
> It's FastMail.

Curiouser and curiouser. The part that bugs me the worst is when I do
a Reply-All and the message never appears on the list, but then the
other recipients of my message ALSO do a Reply-All, and have their
replies to my message get posted to list, making it seem that my
message delivered everywhere but to the list. Most recent example
here, in David Nalesnik's automatic partwriter thread:

https://lists.gnu.org/archive/html/lilypond-user/2017-09/msg00471.html

That makes it hard not to blame something on the GNU Lists end of things.

Anyway, the Gmail web interface has never had delivery trouble here so
far. I'll be fine. But for the moment, I think people who make
multiple postings or apparently off-list conversations should be given
some extra grace.
-- 
Karlin High
Missouri, USA

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


Re: Any other Thunderbird users have messages never post? (WAS: Hide slur?)

2017-10-19 Thread SoundsFromSound
Karlin High wrote
> Anyway, the Gmail web interface has never had delivery trouble here so
> far. I'll be fine. But for the moment, I think people who make
> multiple postings or apparently off-list conversations should be given
> some extra grace.
> -- 
> Karlin High
> Missouri, USA

Karlin,

Did you try my suggestion from earlier in the thread, did it help in
Thunderbird?





-
composer | sound designer | asmr artist 
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: automatic partwriter

2017-10-19 Thread Urs Liska

Hi David,

I just stumbled over this thread (basically when working on my mail 
server ;-) )
And although I didn't have the opportunity to look into all of this 
(hey, could you consider writing a blog post about it?) one though 
struck my mind. No idea whether it's worthwile but perhaps it gives you 
some inspiration.



Am 27.09.2017 um 04:59 schrieb David Nalesnik:

One possible flaw is the way that I generate possible realizations.
Basically, I look for all possible rule-obeying two-chord pairings
between chords 1 and 2, then find all possible connections between
chords 2 and 3 which dovetail with the found connections between 1 and
2, and so forth.  It's easy to see that this could lead to an overflow
with a long progression or if there aren't plenty of rules to weed out
as many branches of the tree as possible before they have the chance
to propagate,


This very much reminds me of the - seemingly unrelated - experience I 
had with going through an "algorithms" course. Essentially what you are 
describing seems very similar to shortest-path graph algorithms, where 
the choice and implementation of an algorithm may (with large datasets) 
make the difference between getting a result in a few seconds or never 
in the current century.


I don't know whether there's any path towards a viable solution, but 
maybe it's worth looking at the problem through the lens of things like 
Dijkstra's algorithm and all of its improvements from the navigation 
software category?


Best
Urs

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


Re: Any other Thunderbird users have messages never post? (WAS: Hide slur?)

2017-10-19 Thread David Wright
On Thu 19 Oct 2017 at 17:33:08 (+0200), Bernhard Kleine wrote:
> Am 19.10.2017 um 15:04 schrieb Wols Lists:
> > And again, I don't think it applies here, don't forget some lists will
> > look at the distribution list on the incoming mail, and not send the
> > outgoing message to those addresses. So you do not receive a copy of
> > your own emails.
> Actually I do receive my own mails with most of the list I am attached
> as well as with the lilypond-user list.

I regularly read reports where it's the sender's email system that
silently prunes postings that lists send back to the poster. But
this is secondhand information and wouldn't explain an occasional loss.

> > Has gmx sat on the mail for a while before sending it?
> I have never experienced such behaviour.

If you know that, then you presumably know where in the chain it
*is* delayed because you've examined the header. I've already deleted
the email(s) in question, but I did check your posts that I still have
(14), and all got from your client to my email provider in about 60
seconds except two (3 and 6 minutes) where the extra time was spent in
the bowels of gnu.org.

Cheers,
David.

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