mlang / freedots Goto Github PK
View Code? Open in Web Editor NEWMusicXML to Braille Music transcription
Home Page: http://code.google.com/p/freedots/
License: GNU General Public License v3.0
MusicXML to Braille Music transcription
Home Page: http://code.google.com/p/freedots/
License: GNU General Public License v3.0
⠀FreeDots⠀⠀⠀⠀⢀⣀⡤⠤⠴⠒⠒⠒⠒⠦⠤⢤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀V0.6⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡤⠖⠉⠉⠀⢆⠀⠀⠀⠀⠽⠀⠀⠀⡔⠀⠉⠑⠲⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⣠⠚⠁⠀⠿⠀⠀⠀⠘⡄⠀⠀⠀⠀⠀⠀⢠⠃⠀⠀⠀⠷⠀⠈⠳⣄⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⡰⠞⢄⠀⠀⠀⠀⠀⠀⠀⠀⢣⠀⠀⠀⡀⠀⠀⡜⠀⠀⠀⠀⠀⠀⠀⠀⡠⠙⢆⠀⠀⠀⠀⠀ ⠀⠀⠀⢠⠞⠀⠀⠀⠱⢄⠀⠀⠀⢀⠤⠔⠚⡍⠉⠉⠈⠉⢹⠓⠢⠤⡀⠀⠀⠀⣠⠊⠀⠀⠈⠳⡀⠀⠀⠀ ⠀⠀⢠⠏⠀⠣⠾⠀⠀⠀⠑⣤⠒⠁⠀⠀⠀⢱⠀⠀⠀⠀⡎⠀⠀⠀⠈⠑⣤⠚⠀⠀⠀⠀⠵⠀⠙⡄⠀⠀ ⠀⢀⠏⠀⠀⠀⠀⠀⠀⢀⠞⠀⠑⢆⠀⠀⠀⠈⡆⠀⠀⢠⠁⠀⠀⠀⣠⠊⠀⠱⡀⠀⠀⠀⠀⠀⠀⠹⡄⠀ ⠀⡼⠠⣀⣀⠀⠀⠀⢀⠇⠀⠀⠀⠀⠑⢆⠀⠀⢱⠀⠀⡎⠀⠀⣠⠊⠀⠀⠀⠀⠘⡄⠀⠀⠀⣀⣀⠄⢧⠀ ⢀⡇⠀⠀⠀⠉⠉⠒⡞⠤⢄⣀⡀⠀⠀⠀⠱⢄⠈⡆⢰⠁⡠⠚⠀⠀⠀⢀⣀⡠⠤⠷⠒⠉⠉⠀⠀⠀⠸⡄ ⢸⠆⠀⠣⠯⠀⠀⢀⠇⠀⠀⠀⠈⠉⠒⠒⠢⠤⣱⣷⣾⣎⠤⠤⠒⠊⠉⠁⠀⠀⠀⢈⠄⠀⠀⠀⠮⠀⠈⡇ ⢸⠄⠀⠀⠀⠀⠀⢀⡂⠀⠀⠀⠀⣀⡠⠤⠔⠒⣪⢿⢿⢗⠒⠢⠤⢄⣀⡀⠀⠀⠀⢐⠂⠀⠀⠀⠀⠀⠀⡇ ⠈⡇⠀⠀⠀⢀⣀⠤⢧⠒⠒⠉⠁⠀⠀⠀⡠⠚⠀⡇⠸⡀⠑⢆⠀⠀⠀⠈⠉⠒⠒⡾⠤⣀⣀⠀⠀⠀⢰⠃ ⠀⢳⠐⠉⠉⠀⠀⠀⠈⢄⠀⠀⠀⠀⣠⠊⠀⠀⡸⠀⠀⢇⠀⠀⠱⢄⠀⠀⠀⠀⡠⠃⠀⠀⠀⠉⠉⠂⡼⠀ ⠀⠈⢇⠀⠀⠀⠀⠀⠀⠈⢆⡀⡠⠚⠀⠀⠀⠀⠇⠀⠀⠸⡀⠀⠀⠀⠑⢆⠀⡰⠁⠀⠀⠀⠀⠀⠀⢰⠃⠀ ⠀⠀⠘⣆⠀⠣⠮⠀⠀⠀⡠⠛⢤⡀⠀⠀⠀⡸⠀⠀⠀⠀⢣⠀⠀⠀⢀⡠⠛⢆⠀⠀⠀⠀⠯⠀⣠⠃⠀⠀ ⠀⠀⠀⠈⢦⠀⠀⠀⣠⠊⠀⠀⠀⠈⠑⠤⢄⣇⡀⢀⡀⢀⣘⣄⠤⠒⠁⠀⠀⠀⠱⢄⠀⠀⠀⡴⠃⠀⠀⠀ ⠀⠀⠀⠀⠀⠓⣄⠊⠀⠀⠀⠀⠀⠀⠀⠀⡸⠀⠀⠁⠈⠀⠀⢕⠀⠀⠀⠀⠀⠀⠀⠀⠑⣠⠎⠁⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠓⢤⡀⠀⠣⠵⠀⠀⢠⠃⠀⠀⠀⠀⠀⠀⠘⡄⠀⠀⠀⠾⠀⢀⡤⠚⠁⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠓⠤⣄⡀⠀⠜⠀⠀⠣⠷⠩⠿⠀⠀⠩⡀⢀⣀⠴⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠓⠒⠦⠤⠤⠤⠤⠴⠒⠒⠋⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ------------------------------------------------------------------------------- FreeDots is a music notation converter primarily for blind users. It can handle input in MusicXML format, a file format typically produced by optical music recognition software. A user can use their favourite OMR software to scan (and possibly correct) a piece of music, and use FreeDots to transcribe the resulting XML file to braille music notation. Optionally, the music can also be played back. Braille output is currently implemented using the Unicode Braille row. You will need your environment to be configured to use UTF-8. If you are on Linux console, you will also need the braille fonts from http://brl.thefreecat.org/linux-brl-console.tgz Requirements: A Java6 Runtime Environment To run freedots, use the -jar option to the "java" command: $ java -jar freedots.jar If you prefer to use FreeDots without the graphical user interface for batch operations or as a pure command-line tool, supply the -nw option (no-window) on the command-line: $ java -jar freedots.jar -nw bwv1013.xml Output format: -------------- FreeDots uses UTF-8 encoded Unicode to output braille dot patterns. This has the big advantage that it works independently of the users braille translation table. Therefore, output of FreeDots can easily be shared between people living in different countries. In the graphical user interface the dot patterns are also displayed on screen. This allows sighted people that have knowledge of braille music notation to work together with a blind user on a computer. It also allows seamless interchange of digital braille music notation files across the Internet, since the differences between localized braille variants are completely irrelevant if Unicode braille is used. This guarantees the readability of braille music by everyone, no matter what translation table is in use. Unfortunately, many screen readers do not support unicode braille patterns yet. On Linux console, you will need BRLTTY starting from version 3.10. If you are using Orca on Linux, Unicode braille patterns do work in GNOME terminal even with older versions of BRLTTY. In the meantime, you can use iconv to convert Unicode Braille to BRF format. See the FAQ for details. MusicXML data files: -------------------- FreeDots currently only supports input in MusicXML format. Such files are written by every major optical music recognition software available today. So one way to obtain music for FreeDots to work with (which was the primary motivation to write this program) is to scan sheet music yourself using one of the OMR programs available. However, there are other sources you can obtain music from: www.musedata.org has a big collection of baroque music in MuseData and Humdrum formats. There is a hum2xml conversion tool available from http://extras.humdrum.net/man/hum2xml/ which you can use to transform Humdrum files from www.musedata.org into MusicXML. Note that the license of musedata.org prevents redistribution of derived works, so you will have to download and convert the data from musedata.org yourself, we can not provide preconverted MusicXML files for you. Our tests have shown that hum2xml does not always produce correct results when it comes to multiple voices inside a staff. www.wikifonia.org has a growing collection of lead-sheets for popular and traditional music. While FreeDots does not fully support lead-sheet style MusicXML files yet, you can already extract the melody and lyric of wikifonia.org MusicXML files. Work on support for chord symbols is planned. www.mutopiaproject.org is a big collection of public domain music in Lilypond format. While we have no Lilypond support at all, the PDF files available for download from www.mutopiaproject.org can usually be processed with OMR software quite easily. There will still be scanning errors, but at least there is a relatively big repository of free sheet music you can readily play with. We will collect MusicXML files produced from mutopiaproject.org sources, since these are free to distribute. If you produce any freely distributable MusicXML files from public domain sources, we encourage you to consider sending them to [email protected] so that we can include them with FreeDots to avoid duplicate work by other people. -- Mario Lang <[email protected]>
Provide a command line option to output Braille Ready (brf) files form the command line somthing like:
-f [format]
-f txt Unicode text output
-f brf ASCII Braille (BRF) output
-f html HTML output
Add a check box to turn show fingering on and off, default is on to the web interface at http://musicxml2braille.appspot.com
As discussed on https://www.freelists.org/post/liblouis-liblouisxml/Automatic-translation-of-MusicXML-to-braille-music,16 it seems saving as braille is broken on MacOS: the save-as dialog box only shows the xml choice, and not the others.
Add the options for different transcription layouts of music section by section and bar over bar. to the web interface found at. http://musicxml2braille.appspot.com
I got a hold of the Java Access Bridge stuff and noticed that the JRE already included it, although there were two JDK versions that didn't have the DLL iles and the Ext folder, so I added those. I am running Winodws 64, but the message I get is that the JavaAccess32 file cannot be found in JRE. So, I put this JavaAccess32.dll file, but it told me that it cannot run on a 64-bit system.
I recently downloaded some stuff from MuseScore, but noticed that they are compressed in MXL> I was able to rename it to zip and extract the XML from it, but Braile Music Editor still won't recognie it.
When transcribing from visual scores created with photoscore or smartscore pro from scanned printed pages, then exported to MusicXML, edited using Musescore 2.0.2 on Linux Mint 18.3 (with Ubuntu 16.04 as a base) or 2.1 on WIndows XP (special noSSE version) and exported again to musicXML, some octave signs are missing and time signature changes don't get transcribed.
Tried uploading the score to my musescore profile and downloading it as MusicXML (I thought an incompatibility issue), no change.
When downloading others' musicXML scores from MuseScore.com community, I have no issues & transcription seems to work fine.
Score is uploaded on the following page:
https://musescore.com/user/100743/scores/4942830
The score is solfege exercises & plan to use it as a helper for teenagers with sight issues on a music junior high school in Greece, after this issue gets fixed.
Provide a Freedots plugin to museScore that could export both Unicode an ASCII (BRF) Braille files.
Running $ java -jar freedots.jar returns the error "Unable to access file freedots.jar". Same error when running this command in freedots/src/freedots.
Running $ java Main.java returns a number of errors because sub-packages within the freedots package are not recognized:
Main.java:39: error: package freedots.gui does not exist
import freedots.gui.GraphicalUserInterface;
^
Main.java:40: error: package freedots.musicxml does not exist
import freedots.musicxml.MIDISequence;
^
Main.java:41: error: package freedots.musicxml does not exist
import freedots.musicxml.Score;
^
Main.java:42: error: package freedots.playback does not exist
import freedots.playback.MIDIPlayer;
...
Will try to tackle this bug, but any help/suggestions would be most welcome :)
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.