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

Re: Spreadsheet - Python – Ly

2020-11-20 Thread Noeck
Dear Max, what you describe sounds somewhat similar to gridly: https://github.com/openlilylib/gridly I have never been in need for such an approach. Which is why I don't know enough about gridly to describe it properly. And it is not about spreadsheets just the time/voice-segmentation sounds

Re: Spreadsheet - Python – Ly

2020-11-20 Thread Martín Rincón Botero
sorry, group_by_measure() www.martinrinconbotero.com On 20. Nov 2020, 19:22 +0100, Maximilian Marcoll , wrote: > > > > Wouldn’t you just put each measure in a separate cell, so that a cell in > > > column 227 corresponds to measure 227? Deleting the corresponding column > > > would delete the

Re: Spreadsheet - Python – Ly

2020-11-20 Thread Martín Rincón Botero
I see. Abjad has group_by_measures() as well if you’d like to go down that road. www.martinrinconbotero.com On 20. Nov 2020, 19:22 +0100, Maximilian Marcoll , wrote: > > > > Wouldn’t you just put each measure in a separate cell, so that a cell in > > > column 227 corresponds to measure 227?

Re: Spreadsheet - Python – Ly

2020-11-20 Thread Maximilian Marcoll
>> Wouldn’t you just put each measure in a separate cell, so that a cell in >> column 227 corresponds to measure 227? Deleting the corresponding column >> would delete the measure, wouldn’t it?. Or do you have a different structure >> for the Excel spreadsheet in mind? That’s exactly what I

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
Hi! thank you! That looks awesome. But what do you do if you want to delete measure 227 entirely? Cheers M __ http://www.marcoll.de subscribe to newsletter > On 20 Nov 2020, at 17:39, J Martin Rushton > wrote: > > Hi Max, > >

Re: Spreadsheet - Python – Ly

2020-11-20 Thread J Martin Rushton
Hi Max, Caveat: I've not used this personally, my scores are not complex enough. One of the standard ways of handling this is to use make (https://www.gnu.org/software/make). Basically you write a makefile which tells make which files to compile and use that as the input to Lilypond. Make

Spreadsheet - Python – Ly

2020-11-20 Thread Maximilian Marcoll
Hi Everyone, 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