Re: Fun with Python...

2023-02-09 Thread Jean Abou Samra
    Le 10 févr. 2023 à 04:11, Jeff Kopmanis a écrit : What version of Lilypond will that appear in?     "That" refers to Guile 3, right? There are no plans yet. It is currently

Re: Fun with Python...

2023-02-09 Thread Paulo Matos
Jean Abou Samra writes: > while LilyPond is currently on Guile 2, so nobody can use > it yet apart from a few people who, like me, run a version > of LilyPond self-compiled with Guile 3. > What are the current blockers to moving to Guile 3? -- Paulo Matos

Re: Fun with Python...

2023-02-09 Thread Jeff Kopmanis
That's pretty cool, and sets a template for those who are brave/foolish enough to build extensions of all sorts in Python. Nice job! What version of Lilypond will that appear in? On Thu, Feb 9, 2023 at 9:40 PM Jean Abou Samra wrote: > Hi, > > I just want to share a little adve

Re: Fun with Python...

2023-02-09 Thread Abraham Lee
t; > rather than > > \markup \qr-code "https://my-url.com"; > > I was too lazy to reimplement QR-code encoding (with error-correcting > codes etc.). I decided to take a look at getting the QR code data directly > from Python. Of course, you can do that with a script and th

Fun with Python...

2023-02-09 Thread Jean Abou Samra
ps://my-url.com"; ``` I was too lazy to reimplement QR-code encoding (with error-correcting codes etc.). I decided to take a look at getting the QR code data directly from Python. Of course, you can do that with a script and the `system` or `system*` function to run the `python` command. But par

Frescobaldi and Python 3.11

2022-10-23 Thread Jean Abou Samra
Hi, Frescobaldi is facing an issue that prevents it from launching under Python 3.11 beta. https://github.com/frescobaldi/frescobaldi/issues/1453 Python 3.11.0 will be released tomorrow, and it's a matter of weeks until Fedora 37 is also released, with Python 3.11.0. Thus the Fresco

Re: musicxml2ly in python

2022-02-25 Thread Jacques Menu
Hello Sebastian,This can also be done with a make file, but maybe that is not your use case. Doing so offers means to place the generated files in sub-folders and to remove them seamlessly. Also, only the .xml files modified or created since the last ‘make’ execution are converted.Attached is an ex

Re: musicxml2ly in python

2022-02-25 Thread Sebastian Adams
7;s just a matter of changing a few lines at the start of the main() function. I'll report back if I get that to work, in case anybody is interested Thanks, Sebastian On Fri, 25 Feb 2022 at 08:04, Jean Abou Samra wrote: > Le 25/02/2022 à 00:27, Sebastian Adams a écrit : > > Does anybody

Re: musicxml2ly in python

2022-02-24 Thread Jean Abou Samra
Le 25/02/2022 à 00:27, Sebastian Adams a écrit : Does anybody out there have a Python script for converting a folder of musicxml (.xml) files into .ly or know how to do this? Welcome to the list. This question sounds like you want to learn about what your shell can do. Assuming UNIX (not

Re: musicxml2ly in python

2022-02-24 Thread Valentin Petzel
Hello Sebastian, musicxml2ly is not a part of python-ly, but a standalone python script included with lilypond using lilylib. It shouldn’t be too hard to figure out how to turn this into a module. The file does already come with a main method that is called on calling it as a script. Just

musicxml2ly in python

2022-02-24 Thread Sebastian Adams
Hi All, I spent a couple of hours trying to figure out whether I should be able to invoke the musicxml2ly command in python-ly and didn't get anywhere. Does anybody out there have a Python script for converting a folder of musicxml (.xml) files into .ly or know how to do this? Thanks in ad

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-10 Thread Valentin Petzel
ar as I have read this is solved by this patch: >> https://github.com/frescobaldi/frescobaldi/pull/1401/files >> which is simply adding int(...) twice. As python is an interpreted language >> you can apply this patch to an existing Frescobaldi installation. >> So you si

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-10 Thread Federico Bruni
Il giorno mer 10 nov 2021 alle 16:14:19 +0100, Valentin Petzel ha scritto: As far as I have read this is solved by this patch: https://github.com/frescobaldi/frescobaldi/pull/1401/files which is simply adding int(...) twice. As python is an interpreted language you can apply this patch to an

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-10 Thread Valentin Petzel
Hello Martin, As far as I have read this is solved by this patch: https://github.com/frescobaldi/frescobaldi/pull/1401/files which is simply adding int(...) twice. As python is an interpreted language you can apply this patch to an existing Frescobaldi installation. So you simply have to open

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-10 Thread Federico Bruni
idea to wait until this problem is fixed before upgrading. Hope the problem (wherever it is) will be fixed soon. The problem did not happen with previous Python version(s) on Fedora 34. Yes, I saw bug reports on Fedora tracker as well as Frescobaldi. Wilbert pushed some fixes already but I

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-09 Thread Martin Tarenskeen
Just out of interest, what level of Frescobaldi are you using? I use the Frescobaldi version that is shipped with the Fedora 35 repositories: frescobaldi-3.1.3-6.fc35.noarch The "about" dialog inside Frescobaldi shows: Frescobaldi: 3.1.3 Extension API: 0.9.0 Python: 3.10.0

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-09 Thread Paul Hodges
What version, then? Paul On 09/11/2021 23:08:59, "Martin Tarenskeen" wrote: > > >On Tue, 9 Nov 2021, Knute Snortum wrote: > >>Just out of interest, what level of Frescobaldi are you using? >> >>-- >>Knute Snortum > >Level? > >I don't understand your question? > >MT >

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-09 Thread Martin Tarenskeen
On Tue, 9 Nov 2021, Knute Snortum wrote: Just out of interest, what level of Frescobaldi are you using? -- Knute Snortum Level? I don't understand your question? MT

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-09 Thread Knute Snortum
Just out of interest, what level of Frescobaldi are you using? -- Knute Snortum On Tue, Nov 9, 2021 at 1:18 AM Martin Tarenskeen wrote: > > > Hi, > > After upgrading my Linux Fedora from 34 to 35, which now provides Python > 3.10, Frescobaldi will hang with a message like: &

Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-09 Thread Martin Tarenskeen
Hi, After upgrading my Linux Fedora from 34 to 35, which now provides Python 3.10, Frescobaldi will hang with a message like: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/frescobaldi_app/qpageview/highlight.py", line 209, in paintEvent

Re: Frescobaldi and python-poppler-qt5 build failure

2021-02-23 Thread Andrew Bernard
I know - that was a slip of the wrist (or mind) in an email sent without due care. I meant Frescobaldi of course. Andrew On Wed, 24 Feb 2021 at 00:10, Jonas Hahnfeld wrote: > Note that Frescobaldi != LilyPond, and the latter is provided via the > official community repository.

Re: Frescobaldi and python-poppler-qt5 build failure

2021-02-23 Thread Jonas Hahnfeld via LilyPond user discussion
gt; Andrew > > > > On Sun, 21 Feb 2021 at 22:18, Andrew Bernard wrote: > > > > Issue #43 stops python-poppler-qt5 being built, and prevents me from > > using Frescobaldi on Arch Linux. > > According to the github page this project is actively maintained, but &

Re: Frescobaldi and python-poppler-qt5 build failure

2021-02-23 Thread Andrew Bernard
Anybody? Is Arch Linux to become an orphan for Lilypond? I'd offer to fix it but I just don't know anything about poppler and sip and so on. Andrew On Sun, 21 Feb 2021 at 22:18, Andrew Bernard wrote: > > Issue #43 stops python-poppler-qt5 being built, and prevents

Frescobaldi and python-poppler-qt5 build failure

2021-02-21 Thread Andrew Bernard
Issue #43 stops python-poppler-qt5 being built, and prevents me from using Frescobaldi on Arch Linux. According to the github page this project is actively maintained, but is there anybody currently looking at issues? https://github.com/frescobaldi/python-poppler-qt5/issues It would be great to

Re: Spreadsheet - Python – Ly

2020-11-22 Thread Gilles Thibault
Over last last couple of days I have been thinking about possible ways to organize the engraving of a rather large piece (~45+ staves) in Lilypond. My problem is that the piece in question might undergo significant changes in the future, so I need access to both instrument-wise and measure-wise

Re: Spreadsheet - Python – Ly

2020-11-20 Thread Noeck
ounds similar to me. But perhaps you can have a look at it. More links: http://lilypond.1069038.n5.nabble.com/Gridly-simple-Segmented-Grid-td171558.html#a171704 http://web.archive.org/web/20191223132852/http://lilypondblog.org/2014/10/segment-grid/ But implementing a conversion from spreadsheet to a P

Re: Spreadsheet - Python – Ly

2020-11-20 Thread Martín Rincón Botero
this idea.) > > I’m experimenting with the spreadsheet-python-appoach atm and it looks quite > promising. > > M > > __ > http://www.marcoll.de > > subscribe to newsletter > > > On 20 Nov 2020, at 19:15, Martín Rincón Botero > >

Re: Spreadsheet - Python – Ly

2020-11-20 Thread Martín Rincón Botero
an alternative rather than > an extension to this idea.) > > I’m experimenting with the spreadsheet-python-appoach atm and it looks quite > promising. > > M > > __ > http://www.marcoll.de > > subscribe to newsletter > > > On

Re: Spreadsheet - Python – Ly

2020-11-20 Thread Maximilian Marcoll
? That’s exactly what I had in mind. (Sorry, I thought you meant the “make”-approach as an alternative rather than an extension to this idea.) I’m experimenting with the spreadsheet-python-appoach atm and it looks quite promising. M __ http://www.marcoll.de subsc

Re: Spreadsheet - Python – Ly

2020-11-20 Thread Martín Rincón Botero
Hi Maximilian, after having failed at the beginning with abjad (it’s looking better now) I programmed some functions in Python to also be able to access instruments and measures. For measures, I made a function that simply looks for | and gives you back whatever is between | as a list. The

Re: Spreadsheet - Python – Ly

2020-11-20 Thread Maximilian Marcoll
. >> My problem is that the piece in question might undergo significant changes >> in the future, so I need access to both instrument-wise and measure-wise >> organisation simultaneously. >> I am considering to enter the entire music in a huge excel spreadsheet and >>

Re: Spreadsheet - Python – Ly

2020-11-20 Thread J Martin Rushton
ss to both instrument-wise and measure-wise organisation simultaneously. I am considering to enter the entire music in a huge excel spreadsheet and to write a (python)-script to create one .ly file per voice, storing all the music in variables that can be used both in the full score and the indivi

Spreadsheet - Python – Ly

2020-11-20 Thread Maximilian Marcoll
measure-wise organisation simultaneously. I am considering to enter the entire music in a huge excel spreadsheet and to write a (python)-script to create one .ly file per voice, storing all the music in variables that can be used both in the full score and the individual parts. I’m having

Re: Lilypond and Python

2020-11-01 Thread Stefan Thomas
. It > > seems to be a python problem: > > pip install setuptools > > Collecting setuptools > > > > Using cached > > > https://files.pythonhosted.org/packages/e1/b7/182161210a13158cd3ccc41ee19aadef54496b74f2817cc147006 > > ec932b4/setuptools-44.1.1

Re: Lilypond and Python

2020-11-01 Thread Federico Bruni
Il giorno dom 1 nov 2020 alle 17:07, Stefan Thomas ha scritto: many thanks to Your fast reply. But unfortunately it didn't work. It seems to be a python problem: pip install setuptools Collecting setuptools Using cached https://files.pythonhosted.org/packages/

Re: Lilypond and Python

2020-11-01 Thread Stefan Thomas
Dear Dave, many thanks to Your fast reply. But unfortunately it didn't work. It seems to be a python problem: pip install setuptools Collecting setuptools Using cached https://files.pythonhosted.org/packages/e1/b7/182161210a13158cd3ccc41ee19aadef54496b74f2817cc147006 ec932b4/setuptools-44.1.

Re: Lilypond and Python

2020-11-01 Thread Martín Rincón Botero
Hi Stefan, it seems the updating process failed before having installed a newer version of pip (it says “command not found”). I would stick to learning how to install stuff using pip (with which you can install many modules for Python, not only abjad). If you’re using Ubuntu, reinstalling pip

Re: Lilypond and Python

2020-11-01 Thread Stefan Thomas
fan/.local/lib/python2.7/site-packages/pip/req/req_install.py", >>>>> line 1064, in move_wheel_files >>>>>isolated=self.isolated, >>>>> >>>>> >>>>> File "/home/stefan/.local/lib/python2.7/site-packages/pip/whee

Re: Lilypond and Python

2020-11-01 Thread Stefan Thomas
fan/.local/lib/python2.7/site-packages/pip/wheel.py", >>> line 316, in clobber >>>ensure_dir(destdir) >>> >>> >>> File >>> "/home/stefan/.local/lib/python2.7/site-packages/pip/utils/__init__.py", >>> line 83, in ensure_dir

Re: Lilypond and Python

2020-11-01 Thread Martín Rincón Botero
Hi Stefan. I remember having to make my version of Python 3 (3.6 I think) the system default (yours is 2.7) for abjad to work. I also remember having to install some things as root for it to work (you have a “Permission Denied” somewhere...). I read somewhere it’s not recommendable to use root

Re: Lilypond and Python

2020-11-01 Thread Stefan Thomas
on 9.0.3, however version 20.2.4 is available. > You should consider upgrading via the 'pip install --upgrade pip' command. > What can I do know? Thanks for Your help, Stefan Hey Megan, > > I use a different approach, but have you checked Abjad already? > https:

Re: Lilypond and Python

2020-10-31 Thread 98123981293 1293812397123
& 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 R

Re: Lilypond and Python

2020-10-31 Thread Martín Rincón Botero
rmat 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

Lilypond and Python

2020-10-31 Thread Megan Aldrich
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

Re: How to run Lilypond programatically from Python instead of calling the Lilypond executable to generate sheet music?

2020-10-10 Thread Jean Abou Samra
On 2020-10-09 18:00, Matthew Moisen wrote: Hello, The normal way to run Lilypond is to create a text file and then call the lilypond executable to convert it into a PDF. Is it possible to instead from python programmatically call Lilypond APIs to generate PDFs? I know that I

Re: How to run Lilypond programatically from Python instead of calling the Lilypond executable to generate sheet music?

2020-10-09 Thread Anders Eriksson
On 2020-10-09 18:00, Matthew Moisen wrote: Hello, The normal way to run Lilypond is to create a text file and then call the lilypond executable to convert it into a PDF. Is it possible to instead from python programmatically call Lilypond APIs to generate PDFs? I know that I can make a

How to run Lilypond programatically from Python instead of calling the Lilypond executable to generate sheet music?

2020-10-09 Thread Matthew Moisen
Hello, The normal way to run Lilypond is to create a text file and then call the lilypond executable to convert it into a PDF. Is it possible to instead from python programmatically call Lilypond APIs to generate PDFs? I know that I can make a system call to the lilypond executable, but I was

Re: Help: can't invoke lilypond-book (python exception)

2020-02-12 Thread David Kastrup
Alon Sho'er writes: > I downloaded python to be able to run lilypond-book, but it doesn't seem to > work. > > Upon invoking lilypond-book I get the following error: > > > > File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line 5

Help: can't invoke lilypond-book (python exception)

2020-02-12 Thread Alon Sho'er
I downloaded python to be able to run lilypond-book, but it doesn't seem to work. Upon invoking lilypond-book I get the following error:   File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line 590

Re: Gentoo python-poppler phaseout

2020-01-24 Thread N. Andrew Walsh
Hi Davide, On Fri, Jan 24, 2020 at 10:32 AM Davide Liessi wrote: > > they are right: indeed python-poppler-qt5 (Python bindings for the Qt5 > frontend of poppler) does not depend on python-poppler (Python > bindings for the glib frontend of poppler). > > thanks for the clarif

Re: Gentoo python-poppler phaseout

2020-01-24 Thread Davide Liessi
Dear Andrew, Il giorno ven 24 gen 2020 alle ore 09:12 N. Andrew Walsh ha scritto: > The dev there asserts that python-poppler-qt5 does not require python-poppler, they are right: indeed python-poppler-qt5 (Python bindings for the Qt5 frontend of poppler) does not depend on python-popp

Gentoo python-poppler phaseout

2020-01-24 Thread N. Andrew Walsh
Hi List, Hi Wilbert, I just want to check something. According to this bug: https://bugs.gentoo.org/706030 gentoo will be removing python-poppler from its tree. The dev there asserts that python-poppler-qt5 does not require python-poppler, and the version in the gentoo repo does not. Wilbert

Re: Frescobaldi doesn’t recognise python-ly

2019-12-30 Thread Urs Liska
Am Montag, den 30.12.2019, 17:59 +0100 schrieb Simon Albrecht: > Hello everybody, > > after upgrading to Ubuntu 18.04 I freshly installed Frescobaldi (and > python-ly) according to the guide in the wiki (except for writing > the > ~/bin/frescobaldi within gedit, because some

Re: Frescobaldi doesn’t recognise python-ly

2019-12-30 Thread Federico Bruni
it from the ‘echo’ calls in <https://github.com/frescobaldi/frescobaldi/wiki/Run-Frescobaldi-3-on-Linux#step-by-step-instructions>… Shouldn' that read: export PYTHONPATH=~/python-ly:$PYTHONPATH ??? Obviously, yes. Thanks, that fixes it. I never read up on sh basics… There&#

Re: Frescobaldi doesn’t recognise python-ly

2019-12-30 Thread Simon Albrecht
ldi/frescobaldi/wiki/Run-Frescobaldi-3-on-Linux#step-by-step-instructions>… Shouldn' that read: export PYTHONPATH=~/python-ly:$PYTHONPATH ??? Obviously, yes. Thanks, that fixes it. I never read up on sh basics… Best, Simon

Re: Frescobaldi doesn’t recognise python-ly

2019-12-30 Thread Ralf Mattes
Am Montag, 30. Dezember 2019 17:59 CET, Simon Albrecht schrieb: [...] > The most sensible explanation for that would be an error in the bash > file, so I attach it in case someone else can see one… Where did you get this shell script from? Shouldn' that read: export PYTHONPA

Frescobaldi doesn’t recognise python-ly

2019-12-30 Thread Simon Albrecht
Hello everybody, after upgrading to Ubuntu 18.04 I freshly installed Frescobaldi (and python-ly) according to the guide in the wiki (except for writing the ~/bin/frescobaldi within gedit, because somehow the first echo line wouldn’t work… and I cloned both repos from github.com/frescobaldi

Python and Visual Studio

2019-12-27 Thread Peter Gentry
It seems there is a way to switch between 3.7 and 2.7 BUT it is complex and opaque. It needs careful downloading of Python 3.7 and some other mysterious messing with "Shebangs" whatever they are and using strange characters such as Greek "lambda" (not on my keyboards). It wo

Re: lilyglyphs: Python 2 deprecation

2019-11-12 Thread Urs Liska
Am 12. November 2019 10:50:45 MEZ schrieb David Kastrup : >Werner LEMBERG writes: > >>>> This package is written by Urs Liska , who is >>>> quite busy these days. In case you have experience with Python 2 >>>> to 3 conversion, please help produce

Re: lilyglyphs: Python 2 deprecation

2019-11-12 Thread David Kastrup
Werner LEMBERG writes: >>> This package is written by Urs Liska , who is >>> quite busy these days. In case you have experience with Python 2 >>> to 3 conversion, please help produce a new version! >> >> Should it still be backwards compatible with Python

Re: lilyglyphs: Python 2 deprecation

2019-11-12 Thread Werner LEMBERG
>> This package is written by Urs Liska , who is >> quite busy these days. In case you have experience with Python 2 >> to 3 conversion, please help produce a new version! > > Should it still be backwards compatible with Python 2.7 if possible or > is it o

Re: lilyglyphs: Python 2 deprecation

2019-11-11 Thread Martin Tarenskeen
-commands.py lilyglyphs/lily-rebuild-pdfs.py lilyglyphs/lilyglyphs_common.py ... This package is written by Urs Liska , who is quite busy these days. In case you have experience with Python 2 to 3 conversion, please help produce a new version! Should it still be backwards compatible with

lilyglyphs: Python 2 deprecation

2019-11-11 Thread Werner LEMBERG
on on the whole Py2/Py3 mess ...) We have quite a lot of scripts in TeX Live that are Python2 only, and we should seriously do some work on getting that fixed, rather soon. I have started a list of packages/scripts I found that require python, and tried to check which version they need

crossplatform Python script for point-and-click

2019-08-21 Thread Federico Bruni
Hi folks I remember that some time ago a user in this list shared a Python script to get point-and-click working on Windows and probably other operating systems. I can't remember his name, as I think he writes very seldomly in this list. I've searched the archive but I cannot fi

Re: frescobaldi extensions [was: python-ly, ly.indent]

2019-08-19 Thread mason
e > has modules like annotate, choice or editorial-markup), package version, API > version and dependencies. > https://github.com/openlilylib/scholarly/blob/master/package.cnf is > scholarLY's metadata file. > Andrew Bernard has written a parser for a simple configuration

Re: frescobaldi extensions [was: python-ly, ly.indent]

2019-08-18 Thread Wols Lists
On 18/08/19 09:00, Urs Liska wrote: > Hi Mason, > > 18. August 2019 01:05, ma...@masonhock.com schrieb: > >> > On 08/17, Urs Liska wrote: >> > >>> >> ... >> > >> > Thanks. While I personally prefer command line tools, I would consider >> > turning this into a Frescobaldi extension if that would

Re: frescobaldi extensions [was: python-ly, ly.indent]

2019-08-18 Thread Urs Liska
nfiguration language used for this (https://github.com/openlilylib/oll-core/blob/master/scheme/oll-core/internal/vbcl.scm), which I've ported to Python for use in Frescobaldi (https://github.com/frescobaldi/frescobaldi/blob/master/frescobaldi_app/vbcl/__init__.py). The trigger for that develo

frescobaldi extensions [was: python-ly, ly.indent]

2019-08-17 Thread mason
e same code as the backend of a Frescobaldi extension I will. I'm not familiar with Frescobaldi's code, but I imagine that relying on tools provided by python-ly where possible would be wise, and that I should generally avoid reimplementing something Frescobaldi already does. For exa

Re: python-ly, ly.indent

2019-08-17 Thread Urs Liska
gt; To make things easier on myself in the future, I am starting over from > scratch with Python and hindsight. I just started and haven't gotten far > yet. I'm taking it slow and trying to make sure I do things "the right > way" this time. Here's what I have

Re: python-ly, ly.indent

2019-08-17 Thread mason
e multiple movements with different instrumentations, arias transposed to multiple keys, etc., and while it works, I'm not happy with how complicated it is. To make things easier on myself in the future, I am starting over from scratch with Python and hindsight. I just started and haven't got

Re: python-ly, ly.indent

2019-08-17 Thread Urs Liska
t(music) > c = ly.document.Cursor(d) > i = ly.indent.Indenter() > > c.select_all() > i.indent(c) > > print (d.plaintext()) > %%% end test.py %%% > > $ python3 test.py > \new Staff << > \relative c' { c4 c c c } | >> > > Best,

Re: python-ly, ly.indent

2019-08-17 Thread mason
on On 08/17, Urs Liska wrote: > Just shortly: does > > https://github.com/frescobaldi/python-ly/blob/master/ly/cli/main.py > > and > > https://github.com/frescobaldi/python-ly/blob/master/ly/cli/command.py#L116 > > help you further? I thought it would be best to look ho

Re: python-ly, ly.indent

2019-08-16 Thread Urs Liska
Just shortly: does https://github.com/frescobaldi/python-ly/blob/master/ly/cli/main.py and https://github.com/frescobaldi/python-ly/blob/master/ly/cli/command.py#L116 help you further? I thought it would be best to look how the ly command line program does it. Urs Am 17. August 2019 03:00

python-ly, ly.indent

2019-08-16 Thread mason
Hi all, The command line tools provided by python-ly are very convenient and easy to use, but I'm finding it a little harder to wrap my head around the Python module. For example, it is easy to automatically indent a file with $ ly "indent" file.ly or to indent the output of

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

2018-04-24 Thread Ben
lated 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

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

2018-04-23 Thread Garreth
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

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: <http://lilypond.org/doc/v2.19/Documentation/learning/index.html> Fretted string instruments: <http://lilypond.org/doc/v2.19/Docu

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

2018-04-23 Thread AikiZen
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

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

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

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

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

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

2018-04-23 Thread Erik Ronström
Hi Garreth, Since Lilypond is text based, you can obviously write Lilypond source files with Python and run them with Lilypond. In fact, several such projects already exists, for a (very) simple example, see https://www.python-course.eu/python_scores.php Erik > 23 apr. 2018 kl. 19:10 sk

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 f

Re: Python dependencies: plea for help

2017-12-09 Thread bb
Ralph Palmer writes, setting up a new frescobaldi version always >> needs uninstall of the old version. > > Only frescobaldi itself isn’t what causes the problem, but python and > pyqt and python-poppler-qt5 and the different versions of each. > > Best, Simon ___

Re: Python dependencies: plea for help

2017-12-09 Thread Simon Albrecht
frescobaldi itself isn’t what causes the problem, but python and pyqt and python-poppler-qt5 and the different versions of each. Best, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Python dependencies: plea for help

2017-12-09 Thread bb
and I couldn’t solve the problem > described in <https://github.com/wbsoft/python-poppler-qt5/issues/14>. > > So I beg your pardon and beg for advice on how to proceed, even if > it’s just about how to completely purge all of python3.x and > frescobaldi and the package

Re: Python dependencies: plea for help

2017-12-09 Thread Blöchl Bernhard
There is not remarked which fresobaldi version you try to install? With frescobaldi 3.0.0 I found that python-poppler-qt5 does notb work, python3-poppler-qt5 is needed!! I did not get frescobaldi 3.0.0 on Linux mint 17 (did not try 16), tried tons of library versions. In general I found the

Re: Python dependencies: plea for help

2017-12-08 Thread Noeck
Hi Simon, on which system? And do you need to build it or can you use a deb package? As discussed on Sept 23rd on this list [1], I used this package python3-poppler-qt5_0.24.2-3build1_amd64.deb on my Ubuntu machine. And Jamie found out where it came from: > This one worked for me: > https://ans

Python dependencies: plea for help

2017-12-08 Thread Simon Albrecht
Hello everybody, following the post by Vincenzo I take the liberty of turning to this group for advice, even if it’s OT. It’s such a hassle working with LilyPond without Frescobaldi, and I couldn’t solve the problem described in <https://github.com/wbsoft/python-poppler-qt5/issues/14>.

Re: Error with Frescobaldi and python-poppler

2017-09-23 Thread Jaime Oliver La Rosa
://ftp.us.debian.org/debian/pool/main/p/python-poppler-qt5/python3-poppler-qt5_0.24.2-3+b1_amd64.deb is a Debian package, likely built from the same source (though I would check). As you probably know, but for the benefit of others, .deb just signifies the format of the package, an ar archive containing a couple of

Re: Error with Frescobaldi and python-poppler

2017-09-23 Thread David Wright
/pool/main/p/python-poppler-qt5/python3-poppler-qt5_0.24.2-3+b1_amd64.deb is a Debian package, likely built from the same source (though I would check). As you probably know, but for the benefit of others, .deb just signifies the format of the package, an ar archive containing a couple of typic

Re: Error with Frescobaldi and python-poppler

2017-09-23 Thread Noeck
Hi, I used python3-poppler-qt5_0.24.2-3build1_amd64.deb, I think from debian despite I have a Ubuntu installation. So this is probably not a sane advice but it worked for me. The version in the package repository did not work for me. Cheers, Joram ___

Re: Error with Frescobaldi and python-poppler

2017-09-23 Thread SoundsFromSound
Jaime Oliver La Rosa wrote > Hi all, > > I am encountering this problem when trying to engrave any score in > Frescobaldi. The score compiles fine, but I can't see the preview, and I > get the error below as described in this post: > > https://github.com/wbsoft/frescobaldi/issues/838 > > Is th

Error with Frescobaldi and python-poppler

2017-09-22 Thread Jaime Oliver La Rosa
Hi all, I am encountering this problem when trying to engrave any score in Frescobaldi. The score compiles fine, but I can't see the preview, and I get the error below as described in this post: https://github.com/wbsoft/frescobaldi/issues/838 Is there a known solution for this? I am using

Re: ANN: Frescobaldi 2.20.0, Frescobaldi 3.0.0, python-ly 0.9.5

2017-03-11 Thread Klaus Blum
Hi Jones, Am 11.03.2017 um 20:41 schrieb 19joh...@gmail.com: Well, that is really strange. Besides the redistribution problem I've not heard of this poppler problem yet. (I had it on my machine, but in my case it was because of the missing poppler-qt5.dll I have created a new setup which includ

Re: ANN: Frescobaldi 2.20.0, Frescobaldi 3.0.0, python-ly 0.9.5

2017-03-11 Thread 19joho66
Hi Klaus, I think your problem is not related to the redistribution pack. You seem to be missing the poppler-qt5.dll which should be in the main Frescobaldi folder. Please check if you can find it there. Cheers Jones Am Freitag, 10. März 2017 17:27:56 UTC+1 schrieb Klaus Blum: > > Hi Jones, >

Re: ANN: Frescobaldi 2.20.0, Frescobaldi 3.0.0, python-ly 0.9.5

2017-03-11 Thread 19joho66
Well, that is really strange. Besides the redistribution problem I've not heard of this poppler problem yet. (I had it on my machine, but in my case it was because of the missing poppler-qt5.dll I have created a new setup which includes the redist depenencies. On Monday I have access to a clean

Re: ANN: Frescobaldi 2.20.0, Frescobaldi 3.0.0, python-ly 0.9.5

2017-03-11 Thread Klaus Blum
Hi Jones, that doesn't seem to be the problem. The file is present. Strange... Cheers, Klaus Am 11.03.2017 um 20:03 schrieb 19joh...@gmail.com: Hi Klaus, I think your problem is not related to the redistribution pack. You seem to be missing the poppler-qt5.dll which should be in the main Fr

Re: ANN: Frescobaldi 2.20.0, Frescobaldi 3.0.0, python-ly 0.9.5

2017-03-10 Thread Klaus Blum
Hi Jones, Am 09.03.2017 um 08:58 schrieb 19joh...@gmail.com: Please install the Visual Studio 2015 Redistribution pack which you can download here: https://www.microsoft.com/en-US/download/details.aspx?id=48145 Make sure you download the x86 Version. This should fix the problem. I will integra

  1   2   3   4   >