Re: New to Lilypond - Questions about using Python to structure Lilypond scores

2018-04-24 Thread Ben

On 4/23/2018 4:45 PM, AikiZen wrote:

Le Mon, 23 Apr 2018 14:57:24 -0400,
Ben  a écrit :

Now that I think about it, you may actually find better success with
Music21 - have you heard of it? It's a large collection of goodies
that will tick a lot of boxes for a lot of interesting music-related
projects. Works well w/ LilyPond as well.

Check it out if you haven't already :)

http://web.mit.edu/music21/doc/moduleReference/moduleLilyLilyObjects.html

http://web.mit.edu/music21/doc/about/what.html

music21 are python library for create score in python ?

How can i create tab for guitar in python ?

Best Regard,
Aiki



Hi Aiki,

Music21 has a fantastic active community mailing list here:
https://groups.google.com/forum/#!forum/music21list

Michael Scott Cuthbert is very involved in the group and there are a lot 
of people offering helpful advice among the threads - try posting there 
and you should get some feedback.


Good luck!


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


Re: New to Lilypond - Questions about using Python to structure Lilypond scores

2018-04-23 Thread Garreth
Thank y'all so much for the great answers and resources!

I realized shortly after I wrote my message that, since LilyPond is
text-based, it would certainly be possible to have a Py doc output some text
that could be put into an LP project. I'm glad to know that there are
several ways to bridge this gap already.

I will certainly be learning a lot more about this in the next few months
and I look forward to chatting with you guys more! For now, I'm glad to know
that what I want to do is very possible and I look forward to diving in with
learning more Python plus LP and Fresco!

Thanks again!!!


Garreth



--
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: New to Lilypond - Questions about using Python to structure Lilypond scores

2018-04-23 Thread Karlin High

On 4/23/2018 3:45 PM, AikiZen wrote:

How can i create tab for guitar in python ?


This email list will provide help with LilyPond.

Learning manual:


Fretted string instruments:


After learning guitar tab in LilyPond, other messages in this thread 
mention Python projects that use LilyPond.


If there are ways to make guitar tab music in Python without using 
LilyPond, this email list will not have good help for them. You would 
need a Python forum instead.

--
Karlin High
Missouri, USA

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


Re: New to Lilypond - Questions about using Python to structure Lilypond scores

2018-04-23 Thread AikiZen
Le Mon, 23 Apr 2018 14:57:24 -0400,
Ben  a écrit :
> Now that I think about it, you may actually find better success with 
> Music21 - have you heard of it? It's a large collection of goodies
> that will tick a lot of boxes for a lot of interesting music-related 
> projects. Works well w/ LilyPond as well.
> 
> Check it out if you haven't already :)
> 
> http://web.mit.edu/music21/doc/moduleReference/moduleLilyLilyObjects.html
> 
> http://web.mit.edu/music21/doc/about/what.html

music21 are python library for create score in python ?

How can i create tab for guitar in python ?

Best Regard,
Aiki

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


Re: New to Lilypond - Questions about using Python to structure Lilypond scores

2018-04-23 Thread David Kastrup
Garreth  writes:

> I am brand new to Lilypond (and Frescobaldi), like a couple of days new. I am
> a music theory professor looking to use some computer skills I have (I know
> some Python) to aid my teaching and research. I am sorry if this is a really
> basic question, or if it's been answered elsewhere in these forums. I tried
> to find an answer but didn't find one that made a lot of sense to me.
>
> Here are my questions:
>
> Can one write programs in Python that will then structure and launch scores
> in Frescobaldi/Lilypond? Specifically, I would like to write algorithms in
> Python that, given parameters I am working on programming, can write scores
> that can then be translated to and launched in Lilypond/Frescobaldi?
>
> Could one conceivably go the other way, somehow send a Lilypond document to
> a Python program that can "grade" and "evaluate" the score in ways that I am
> working on programming?
>
> I am not looking for a lot of depth at this point. I basically just want to
> know if these scenarios are possible. I don't want to spend a whole lot of
> time learning programs (like Lilypond and Frescobaldi) if my end goal simply
> isn't possible.
>
> Thank you so much for helping an sorry again if this has been covered
> elsewhere!

LilyPond uses Scheme (in particular GNU Guile) as its extension
language.  Frescobaldi, however, is written in Python and has a library
for parsing a lot of LilyPond (which it uses for syntax highlighting,
indentation, on-the-fly transposition and conversion between
relative/absolute mode, so it does a somewhat comprehensive job).  So
you might have success reading up the Frescobaldi programmer or
power-user level documentation.

-- 
David Kastrup

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


Re: New to Lilypond - Questions about using Python to structure Lilypond scores

2018-04-23 Thread Ben

On 4/23/2018 1:10 PM, Garreth wrote:

I am brand new to Lilypond (and Frescobaldi), like a couple of days new. I am
a music theory professor looking to use some computer skills I have (I know
some Python) to aid my teaching and research. I am sorry if this is a really
basic question, or if it's been answered elsewhere in these forums. I tried
to find an answer but didn't find one that made a lot of sense to me.

Here are my questions:

Can one write programs in Python that will then structure and launch scores
in Frescobaldi/Lilypond? Specifically, I would like to write algorithms in
Python that, given parameters I am working on programming, can write scores
that can then be translated to and launched in Lilypond/Frescobaldi?

Could one conceivably go the other way, somehow send a Lilypond document to
a Python program that can "grade" and "evaluate" the score in ways that I am
working on programming?



Now that I think about it, you may actually find better success with 
Music21 - have you heard of it? It's a large collection of goodies that 
will tick a lot of boxes for a lot of interesting music-related 
projects. Works well w/ LilyPond as well.


Check it out if you haven't already :)

http://web.mit.edu/music21/doc/moduleReference/moduleLilyLilyObjects.html

http://web.mit.edu/music21/doc/about/what.html
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: New to Lilypond - Questions about using Python to structure Lilypond scores

2018-04-23 Thread Ben

On 4/23/2018 1:32 PM, Karlin High wrote:

On 4/23/2018 12:10 PM, Garreth wrote:
Can one write programs in Python that will then structure and launch 
scores
in Frescobaldi/Lilypond? Specifically, I would like to write 
algorithms in
Python that, given parameters I am working on programming, can write 
scores

that can then be translated to and launched in Lilypond/Frescobaldi?


That sounds a lot like the Abjad software project.


And, welcome to the world of LilyPond!


Hi Garreth,

Absolutely - I highly recommend both:

https://www.python-course.eu/python_scores.php

and

Abjad - they are outstanding resources.
http://abjad.mbrsi.org/

Even though the first Python course link seems rather elementary with 
its example that was chosen, the *potential *is massive - it's inspired 
me to make quite a few pieces using this Python-centric approach. Great 
for inspiration and seeing the bigger picture when it comes to putting 
all the pieces of a score together.


Definitely check it out.

And Abjad, wellit's just mind-boggling awesome.
A real game changer.
Heck, I'm always finding new things it can do and it's so much fun to 
work with. Very inspiring.
The learning curve can be quite a lot at first, but when it clicks...oh 
it clicks. Wicked good stuff.


Good luck!


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


Re: New to Lilypond - Questions about using Python to structure Lilypond scores

2018-04-23 Thread Karlin High

On 4/23/2018 12:10 PM, Garreth wrote:

Can one write programs in Python that will then structure and launch scores
in Frescobaldi/Lilypond? Specifically, I would like to write algorithms in
Python that, given parameters I am working on programming, can write scores
that can then be translated to and launched in Lilypond/Frescobaldi?


That sounds a lot like the Abjad software project.


And, welcome to the world of LilyPond!
--
Karlin High
Missouri, USA

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


New to Lilypond - Questions about using Python to structure Lilypond scores

2018-04-23 Thread Garreth
I am brand new to Lilypond (and Frescobaldi), like a couple of days new. I am
a music theory professor looking to use some computer skills I have (I know
some Python) to aid my teaching and research. I am sorry if this is a really
basic question, or if it's been answered elsewhere in these forums. I tried
to find an answer but didn't find one that made a lot of sense to me.

Here are my questions:

Can one write programs in Python that will then structure and launch scores
in Frescobaldi/Lilypond? Specifically, I would like to write algorithms in
Python that, given parameters I am working on programming, can write scores
that can then be translated to and launched in Lilypond/Frescobaldi?

Could one conceivably go the other way, somehow send a Lilypond document to
a Python program that can "grade" and "evaluate" the score in ways that I am
working on programming?

I am not looking for a lot of depth at this point. I basically just want to
know if these scenarios are possible. I don't want to spend a whole lot of
time learning programs (like Lilypond and Frescobaldi) if my end goal simply
isn't possible.

Thank you so much for helping an sorry again if this has been covered
elsewhere!


Garreth




--
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