Coder Social home page Coder Social logo

edirom / smufl-browser Goto Github PK

View Code? Open in Web Editor NEW
12.0 18.0 0.0 244 KB

A web based browser for the Standard Music Font Layout

Home Page: https://smufl-browser.edirom.de/

License: Other

XQuery 37.86% CSS 0.84% JavaScript 0.22% XSLT 13.40% HTML 27.10% Java 18.88% Dockerfile 1.71%
music-fonts smufl-specification smufl tei

smufl-browser's Introduction

SMuFL-Browser

GitHub release Docker Build

SMuFL-Browser is a web based viewer for the Standard Music Font Layout specification which facilitates searching and browsing of musical symbols. Additionally it serves as a TEI reference for the SMuFL specification so encoders can easily add musical symbols to their texts. For that purpose a set of ANT tasks has been developed for creating TEI charDecl descriptions from SMuFL.

Docker Image

There is a Docker image available at https://hub.docker.com/r/stadlerpeter/smufl-browser/ which you can run with

docker run --rm -it \
    -p 8080:8080 \
    --name smufl-browser \
    stadlerpeter/smufl-browser    

This will make your local SMuFL-Browser available at http://localhost:8080.

This image is derived from stadlerpeter/existdb and adds some SMuFL-browser specific settings for a production ready environment with SMuFL-browser as the root app. For more details about available options see https://github.com/peterstadler/existdb-docker

Dependencies

If you want to run the app your own you also need the eXist-db XML database. Please use a recent build from 2015 since the HTML5 serializer has been modified.

ANT Tasks

For working with the ANT tasks you need to have the above dependencies installed. Then, copy build.properties to local.build.properties and modify paths and version numbers according to your system and to match the desired SMuFL version and download location.

Target charDecl

This will create a TEI file based on the template charDecl.xml.template with charDecl elements (one for each SMuFL range). This task relies on Saxon and XML Shell.

Target otf2png

This will create png images from the Bravura font through a small program written by Alexander Erhard.

Target glyph2svg

This will extract individual svg paths from the Bravura font.

Target xar

This will create all the above and bundle it as an eXist app package.

Credits

Credits are due to Daniel Spreadbury and his great work on the SMuFL specification. The functionality of the SMuFL-Browser was highly inspired by James Cummings' work on the ENRICH Gaiji Bank.

License

This work is available under dual license: BSD 2-Clause and Creative Commons Attribution 4.0 International License (CC BY 4.0)

smufl-browser's People

Contributors

annamneubert avatar anneferger avatar dependabot[bot] avatar peterstadler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smufl-browser's Issues

[question] Content of `<mapping>'`?

The <mapping> elements in charDecl.xml contains the code points in a format like U+E000. Do you think we should substitute this with the actual characters or with XML character references like&#xE000;? I'm not sure if I get the TEI guidelines right in this point (http://www.tei-c.org/release/doc/tei-p5-doc/de/html/ref-mapping.html), but I tend to read U+E000 in a <mapping> as saying: there's a relation between the parent <char> and the char sequence "U", "+", "E" etc. What do you think?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.