g-raffy / pymusco Goto Github PK
View Code? Open in Web Editor NEWa python application to manage digitised orchestral musical scores
License: GNU General Public License v3.0
a python application to manage digitised orchestral musical scores
License: GNU General Public License v3.0
the current test.py uses samples that are not included in the project. Find a small copyright free sample and include it in the project so that the test is fully usable to anyone.
there are still instrument names in pymusco to make ts-auto work. The goals of this task is:
Object 203 0 not defined.
Traceback (most recent call last):
File "./mno.py", line 3907, in <module>
prints_for_20240612()
File "./mno.py", line 3904, in prints_for_20240612
piece.build_print(track_selector, prints_dir=output_dir)
File "/home/graffy/private/dev/pymusco/src/pymusco/piece.py", line 232, in build_print
stub_to_print(
File "/home/graffy/private/dev/pymusco/src/pymusco/main.py", line 429, in stub_to_print
toto_pdf.add_page(track_page)
File "/home/graffy/private/melting-notes/partitions/partitions.venv/lib/python3.8/site-packages/PyPDF2/_writer.py", line 321, in add_page
return self._add_page(page, list.append, excluded_keys)
File "/home/graffy/private/melting-notes/partitions/partitions.venv/lib/python3.8/site-packages/PyPDF2/_writer.py", line 271, in _add_page
page = cast("PageObject", page_org.clone(self, False, excluded_keys))
File "/home/graffy/private/melting-notes/partitions/partitions.venv/lib/python3.8/site-packages/PyPDF2/generic/_data_structures.py", line 181, in clone
d__._clone(self, pdf_dest, force_duplicate, ignore_fields)
File "/home/graffy/private/melting-notes/partitions/partitions.venv/lib/python3.8/site-packages/PyPDF2/generic/_data_structures.py", line 243, in _clone
v.clone(pdf_dest, force_duplicate, ignore_fields)
File "/home/graffy/private/melting-notes/partitions/partitions.venv/lib/python3.8/site-packages/PyPDF2/generic/_base.py", line 248, in clone
assert obj is not None
AssertionError
At the moment, blanck pages in scan pdfs are declared as if they were a fake track (with a disabled keyword). As track ids are dictionary keys, they can't have the same name. As a result, we have to use a meaningless name to ensure there's no duplicate keys.
As an example, I had a scan of eb clarinet which had 2 blank pages : one at the beginning of the eb clarinet, and one at its end. Because blank pages are treated like disabled tracks, I've named them 'eb clarinet 10 and eb clarinet 11', as they need to also obey track naming conventions. This is suboptimal to say the least...
sometimes, one page of the resulting stub pdf contains a corrupted image (the bottom part contains wring pixel values).
The input images are not corrupted though. The corruption happens during the pdflatex part. Double check that the input images are completely written at the moment they are used as input
Latex is good, but what pymusco actually uses it for is very minimal (to generate a pdf with a table of content, and to overlay text on pdfs). If pymusco could use other ways to do this, it would make pymusco much lighter in its requirements.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.