lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond and Python


From: 98123981293 1293812397123
Subject: Re: Lilypond and Python
Date: Sat, 31 Oct 2020 18:30:50 -0400

Abjad is the most robust tool for this, as far as I'm aware. It won't run well on windows, so consider using a Linux virtual box if you're a windows user.

https://github.com/Abjad

This is a helpful guide for installation and learning:
https://github.com/Abjad/intensive

A not very high resolution video which goes through the ideas behind the package (you can't see the code well on screen but you can hear Trevor Baca talk about it, which is interesting and informative):
https://www.youtube.com/watch?v=r3d-msxyeDI

I began learning how to use Abjad for algorithmic composition purposes this summer, until I discovered that the BACH library for Max MSP, which exports directly to lilypond and with which I am much more familiar, now has a robust internal programming language which duplicates many of the attractive features of Abjad. Trevor is on the Lilypond mailing list I think, so perhaps he will respond.

Hope this helps,
Kyle

On Sat, Oct 31, 2020 at 2:49 PM <lilypond-user-request@gnu.org> wrote:
Send lilypond-user mailing list submissions to
        lilypond-user@gnu.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/lilypond-user
or, via email, send a message with subject or body 'help' to
        lilypond-user-request@gnu.org

You can reach the person managing the list at
        lilypond-user-owner@gnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lilypond-user digest..."
Today's Topics:

   1. Re: Point & Click with Atom (Martín Rincón Botero)
   2. Re: vertical positioning of text spanners and hairpins
      (Werner LEMBERG)
   3. Re: Point & Click with Atom (Henning Hraban Ramm)
   4. Re: Point & Click with Atom (Martín Rincón Botero)
   5. Lilypond and Python (Megan Aldrich)
   6. Percent repeat counter starting at 1 (David Sumbler)



---------- Forwarded message ----------
From: "Martín Rincón Botero" <martinrinconbotero@gmail.com>
To: Henning Hraban Ramm <lilypondml@fiee.net>
Cc: Lilypond-User Mailing List <lilypond-user@gnu.org>
Bcc: 
Date: Sat, 31 Oct 2020 18:21:53 +0100
Subject: Re: Point & Click with Atom
Dear Henning,

thank you for your answer. I don't think I understand correctly. I open a terminal and type export LYEDITOR=atom, hit Enter and then write something like lilypond myfile.ly? If it works (I just tried that and it didn't), I add the export line to .bashrc and then follow the steps in the Manual for Gnome 3 (I'm using Ubuntu 18.04)?

Am Sa., 31. Okt. 2020 um 18:03 Uhr schrieb Henning Hraban Ramm <lilypondml@fiee.net>:

> Am 31.10.2020 um 17:45 schrieb Martín Rincón Botero <martinrinconbotero@gmail.com>:
>
> I went over the Usage Manual for trying to configure Point & Click so that I can use it with Atom (as much as I like Frescobaldi, its poor performance with large scores makes it unusable after a certain number of lines of code). The usage manual http://lilypond.org/doc/v2.20/Documentation/usage/configuring-the-system-for-point-and-click says to "simply" write this line export LYEDITOR=atom, but doesn't say where. After that I suppose I can go to the GNOME 3 steps and follow them, but since those steps don't mention any particular editor, I guess I should first know what to do with said export line.

Try if it works in your shell (e.g. bash) before you call lilypond.

If it works, you should add it to the startup file of your default shell, e.g. .bashrc or .bash_profile

Hraban


--



---------- Forwarded message ----------
From: Werner LEMBERG <wl@gnu.org>
To: kieren_macmillan@sympatico.ca
Cc: lilypond-user@gnu.org
Bcc: 
Date: Sat, 31 Oct 2020 18:33:57 +0100 (CET)
Subject: Re: vertical positioning of text spanners and hairpins

> From
> <https://lilypond.org/doc/v2.19/Documentation/learning/outside_002dstaff-objects>:
> "changing outside-staff-priority of the Hairpin object will have no
> effect on the vertical positioning of hairpins – you must change
> outside-staff-priority of the associated DynamicLineSpanner object
> instead."

Aah, I faintly remember now, thanks!

> So one would *think* the following would work:
>
> \new Dynamics {
>   s2\tweak DynamicLineSpanner.outside-staff-priority #1000 \<
>   s2\tweak outside-staff-priority #0
>     \tweak bound-details.left.text "rit."
>     \startTextSpan |
>   s1\!\stopTextSpan
> }
>
> However, there’s a collision (?!) — looks like a spacing engine bug
> to me.

Yep, and it seems not being registered in the tracker.


    Werner



---------- Forwarded message ----------
From: Henning Hraban Ramm <lilypondml@fiee.net>
To: lilypond-user@gnu.org
Cc: 
Bcc: 
Date: Sat, 31 Oct 2020 18:38:58 +0100
Subject: Re: Point & Click with Atom
Martín,

I didn’t read the documentation before, and I’m on OSX, so I can’t try.

It looks like you need the setup for GNOME *and* the environment variable.

Did you try to do what the docs say?

Hraban

> Am 31.10.2020 um 18:21 schrieb Martín Rincón Botero <martinrinconbotero@gmail.com>:
>
> Dear Henning,
>
> thank you for your answer. I don't think I understand correctly. I open a terminal and type export LYEDITOR=atom, hit Enter and then write something like lilypond myfile.ly? If it works (I just tried that and it didn't), I add the export line to .bashrc and then follow the steps in the Manual for Gnome 3 (I'm using Ubuntu 18.04)?
>
> Am Sa., 31. Okt. 2020 um 18:03 Uhr schrieb Henning Hraban Ramm <lilypondml@fiee.net>:
>
> > Am 31.10.2020 um 17:45 schrieb Martín Rincón Botero <martinrinconbotero@gmail.com>:
> >
> > I went over the Usage Manual for trying to configure Point & Click so that I can use it with Atom (as much as I like Frescobaldi, its poor performance with large scores makes it unusable after a certain number of lines of code). The usage manual http://lilypond.org/doc/v2.20/Documentation/usage/configuring-the-system-for-point-and-click says to "simply" write this line export LYEDITOR=atom, but doesn't say where. After that I suppose I can go to the GNOME 3 steps and follow them, but since those steps don't mention any particular editor, I guess I should first know what to do with said export line.
>
> Try if it works in your shell (e.g. bash) before you call lilypond.
>
> If it works, you should add it to the startup file of your default shell, e.g. .bashrc or .bash_profile
>
> Hraban
>
>
> --
> www.martinrinconbotero.com






---------- Forwarded message ----------
From: "Martín Rincón Botero" <martinrinconbotero@gmail.com>
To: lilypond-user@gnu.org, Henning Hraban Ramm <lilypondml@fiee.net>
Cc: 
Bcc: 
Date: Sat, 31 Oct 2020 18:48:26 +0100
Subject: Re: Point & Click with Atom
Did you try to do what the docs say?

Because the very beginning of the documentation is not clear as to what to do with the export line, I didn’t follow the steps for Gnome3. I’ll try adding that line to .bashrc and follow the Gnome3 steps parallelly. If I succeed, I’ll try writing a small guide for Ubuntu. The documentation is so poor, I’m surprised anyone can make Point & Click work on any OS just by reading that. Perhaps I’m just dumb.

www.martinrinconbotero.com
On 31. Oct 2020, 18:39 +0100, Henning Hraban Ramm <lilypondml@fiee.net>, wrote:

Did you try to do what the docs say?



---------- Forwarded message ----------
From: Megan Aldrich <maldrich@conncoll.edu>
To: lilypond-user@gnu.org
Cc: 
Bcc: 
Date: Sat, 31 Oct 2020 13:51:01 -0400
Subject: Lilypond and Python
Hello,

Is there a package that would allow me to output in a lilypond format from python? I found something through google searches and it’s poorly documented and hard to use. Is there something that you recommend using?

Meg
--
Megan Aldrich

Connecticut College



---------- Forwarded message ----------
From: David Sumbler <david@aeolia.co.uk>
To: lilypond-user@gnu.org
Cc: 
Bcc: 
Date: Sat, 31 Oct 2020 18:46:42 +0000
Subject: Percent repeat counter starting at 1
By default the percent repeat counter does not put a "1" over the bar
which is to be repeated; it starts with a "2" over the first actual
repetition.

This is what is normally required, but for clarity in one particular
instance I would like the repeat counter to put a "1" over the bar
which is going to be repeated.

Is there a simple way of telling the repeat counter to do this?  If
not, it is not too difficult to fake it, of course.  But if the
facility to change the counter's behaviour is already available in
Lilypond, then that will no doubt be the simplest solution for me to
use.

David



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

reply via email to

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