GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ai-tonchev/kassia-api: Kassia - a Byzantine Chant scorer API with support for a shorthand.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

459 Commits
459 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs/org
docs/org
 
 
examples
examples
 
 
fonts
fonts
 
 
kassia
kassia
 
 
tests
tests
 
 
.dockerignore
.dockerignore
 
 
.flake8
.flake8
 
 
.gitignore
.gitignore
 
 
.pyproject.toml_
.pyproject.toml_
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
UIdev.py
UIdev.py
 
 
app.py
app.py
 
 
fly.toml
fly.toml
 
 
kassia_main.py
kassia_main.py
 
 
music_parser.py
music_parser.py
 
 
requirements.txt
requirements.txt
 
 
test.ipynb
test.ipynb
 
 
test.pdf
test.pdf
 
 

Repository files navigation

Kassia

build

Kassia is a scoring program for creating music written in Byzantine notation. It takes an XML file, parses the neumes and lyrics, and generates a formatted PDF using ReportLab.

Requirements

Python 3.7+

Setup

  1. Make sure Python 3.7 or higher is installed
  2. Install poetry
  3. Install the required packages by running poetry install
  4. Start a poetry shell by running poetry shell
  5. Re-create the sample score in /examples to make sure everything works properly by running python kassia.py examples/sample.xml examples/sample.pdf

Running Kassia

python kassia.py [input_xml_file] [output_pdf_file]

The examples folder has sample scores to experiment with. Input files must be XML files, using the syntax of the sample scores. Output files will be in PDF format.

Editing Scores

Scores are saved as XML files (called BNML). Our wiki page explains the structure of a score.

Fonts

Kassia can utilize true type fonts files to draw neumes. To add new neume fonts, create a folder with the font name, place TTF files in the folder, and create classes.yaml and glyphnames.yaml files. The wiki has more information about how the YAML files should be structured.

Some sample fonts are included for headings and lyrics (Alegreya, EB Garamond, and Gentium Plus). Kassia will scan the /fonts folder and use any TTF files found there.

Contributing

We need your help with documentation, testing, and submitting fixes and features!

Before submitting a pull request, make sure your changes pass all tests.

  1. Install imagemagick and poppler
  2. Run tests:
  • pytest
  • flake8
  • isort . --recursive --diff

About

Kassia - a Byzantine Chant scorer API with support for a shorthand.

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.