GithubHelp home page GithubHelp logo

germancentrallibraryfortheblind / sublime-braillemusic Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 152 KB

Sublime Text 3 syntax support for ASCII Braille Music text files

License: Other

Python 100.00%
braille braillemusic braille-music-notes syntax-highlighter sublime-text braille-music color-scheme sublimetext3 braille-music-notation

sublime-braillemusic's Introduction

sublime-brailleMusic

Sublime Text 3 syntax support for Ascii- Braille Music text files Sublime Braille Music with theme Monokai

Introduction

Braille music is a Braille code that allows music to be notated using Braille cells so music can be read by visually impaired musicians.

-- From Wikpedia

This is a Sublime Text 3 - package for sighted people to help them to read, produce or correct music scores for blind or visual impaired people.

Features

  • syntax highlighting
  • shows scope name under the cursor (like note>accidental) in the status bar

Configuration

  • loads specific settings for braille editing (ruler for end-of-line, tab-size etc.), see Braille.sublime-settings

Commands

  • align commands in relation to the setted ruler ("line width") in the plugins config (default: 36):
    • Center: Ctrl+Alt+c
    • Right: Ctrl+r
    • Headline: Ctrl+Alt+u = center + underline
  • font switcher: F10 : toggle between normal and braille font (default: blistabraille6+)
  • build system: call BrailleVis (Ctrl+B) or Rebuild with MakeBraille from capx (Ctrl+Shift+B)

TODO:

Installation

  • Download and install Sublime Text for your platform (to be fair, please register!)

  • Download, unpack this repo and copy it to your Packages folder, i.e. situated under windows in %appdata%\Sublime Text 3\Packages (the package is not yet listed in package control):

    git clone https://github.com/GermanCentralLibraryForTheBlind/sublime-brailleMusic.git Braillemusic

  • for Braille- Music files, set syntax to "Braille"

  • in order to use the font toggler, install a braille font, like Blistabraille

  • for examples, check the 'examples' subfolder folder

  • until we deliver an own color scheme, please install the "Phix Dark Color Scheme" over Package Control (recommended theme: "Theme Soda dark"), the default theme "Monokai" works decent as well

Particular Syntax requirements for ASCII Braille Music Files

Look at the examples!

  • all characters must be lower case

  • Music prefixes (e.g key or left/right hand) must be preceded by at least one whitespace

  • Music prefixes with ending char containing braille points 4-6 (e.g piano LH/RH) must not be followed by a char containing Braille- points 1 to 3

  • Following lines in the staff must not be preceded by whitespace or tab

  • particular order of prefixes/ postfixes in the notes required like defined:

      ({{value_sign}})?({{phrase_start}})?({{ornaments}})?({{pedal_on}})?((?:{{accent}})+)?''?({{accidental}})?({{octave}})?({{note}})(\.{,2})((?:{{finger}})+)?((?:{{bow_after}}){,2})?((?:{{interval}})+)?({{fermate}})?({{phrase_end}})?({{pedal_off}})?
    
  • in general we follow the standards as shown at http://braille.ch
    especially those defined in the New International Manual of Braille Music Notation

WARNING

This software is still under development and optimized for use at the German Central Library for the blind and visual impaired. It may not work with your own braille- music- text files. Especially the current builds are made for german ascii braille and may not work with other language character sets.

sublime-braillemusic's People

Contributors

martin-mueller avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mrhunsaker

sublime-braillemusic's Issues

Write own color theme

  • include phix in the plugin folder
  • fix scope names
  • rewrite colors (eye friendly, not too many!)

Add scope content routine

view.extract_scope from st3-api doesn't work like expected
Show scope content with at least two levels (e.g. note name and complete note with prefix/ postfix)
at the status bar,
or in a popup with braille font

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.