Comments (1)
HI,
what exactly do you want to achieve? What kind of project do you have in mind?
To answer your question so far. There is a core-API for abc2svg. See http://moinejf.free.fr/js/interface-1.xhtml
In addition to this there is an API to get a JSON representation. Zupfnoter is implemented in opal/Ruby. You can see the connection to this API in https://github.com/bwl21/zupfnoter/blob/master/30_sources/SRC_Zupfnoter/src/opal-abc2svg.rb
There are callbacks whcih allow to inject IDs based on the the ABC-Model to the generated SVG. By this you can connect and highlight particular notes.
Furtheron you can get a JSON representation of the abc2svg model enhanced by the midi pitch.
def _callback_get_abcmodel(tsfirst, voice_tb, music_types, info)
json_model = ""
%x{
abcmidi = new AbcMIDI();
abcmidi.add(#{tsfirst}, #{voice_tb}[0].key);
to_json = new AbcJSON();
#{json_model} = to_json.gen_json(#{tsfirst}, #{voice_tb}, #{music_types}, #{info});
}
@abc_model = JSON.parse(json_model)
if $log.loglevel == "debug"
$log.debug(@abc_model.to_json)
end
@abc_model
end
Hope that helps. I close this issue. Please send a personal email if you have questions. I will be glad to help.
B.
from zupfnoter.
Related Issues (20)
- drag drop jumplines does not work on okon harp
- Support arbitrarily tuned instruments HOT 1
- Attach inline lyrics to count note to indicate rythm (e.g. zoltan-kodaly)
- more issues with unicode characters
- configuration is replaced by template when importing .abc files HOT 1
- there should be a text style for "title"
- chord symbol for transposed F (F#) does not work on pdf
- update abc2svg
- Improve counthints
- harmonyassistent
- Crash if no M:
- improve break in Flowlines
- CR - handling in Textnotes
- rotate annotation in Saitenspiel
- align stringname to iinstrument border in Saitenspiel
- Update Dropbox
- Variantes Ende mitten im Takt - zählzahlen der folgenden Varianten sind falsch
- Support dotted whole note
- documentation of hidden parameters
- fix dropbox login and refeshtoken handling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zupfnoter.