Git Product home page Git Product logo

Comments (12)

sethborders avatar sethborders commented on August 11, 2024

Ben can answer more definitively, but you may want to take a look into how
it is used in the compline project:
https://bbloomf.github.io/compline/

On 1 March 2016 at 11:35, SirPL [email protected] wrote:

Hello,
First of all, I'd like to apologize for my english and say that I very
appreciate work you've done. jgabc is almost exactly what I need. Almost,
because I'm looking for a way of getting fully passive behavior of jgabc.
More accurately: the way test.html was working in one of the first releases
(i.e. a0ce9fd
a0ce9fd).
So rendering based on gabc source in div, no interactivity (no neumes
color change on hover, no textbox to edit syllables, no playback).
Is it hard to get it working that way?
Thank you for help and/or responses.


Reply to this email directly or view it on GitHub
#10.

from jgabc.

bbloomf avatar bbloomf commented on August 11, 2024

Yes, I was just going to mention that compline project, which uses it that way, and uses a more recent version than the release that you mentioned. I think that may have been just before I added some of the interactivity, so you could just try using the version of jgabc.js from that project. Though I probably should fix it so that it can work in fully passive situations as well, and I don't think it would be difficult to do that, but I haven't had much time for working on side projects, such as this one, lately.

Thanks,

Ben

from jgabc.

SirPL avatar SirPL commented on August 11, 2024

That's exactly what I need. Thank you very much.

from jgabc.

SirPL avatar SirPL commented on August 11, 2024

Compiline project is not working as good as I thought. It doesn't work in all browsers except Firefox... So I'm patiently waiting for passive mode of jgabc.

from jgabc.

bbloomf avatar bbloomf commented on August 11, 2024

OK, I think it is starting to work pretty well again. Take a look, and let me know what you think.

from jgabc.

SirPL avatar SirPL commented on August 11, 2024

I can confirm, that ligatures are now working in Firefox... But when it comes to passive mode, I see no difference. Which files have been updated?

from jgabc.

bbloomf avatar bbloomf commented on August 11, 2024

You should be able to see that from looking at the commit logs. However, now I see that I only committed the latest changes to the gh-pages branch, so if you weren't simply trying https://bbloomf.github.io/jgabc/test.html then you might not have seen the changes I made that affect passive mode. I will merge them into the master branch right now

from jgabc.

SirPL avatar SirPL commented on August 11, 2024

Oh, I though you had commited it to master... So yes, I can confirm that test is working properly on all browsers except IE10.

from jgabc.

bbloomf avatar bbloomf commented on August 11, 2024

I just tried it in IE10, and it seemed to work, although it took quite a long time to render. What happened for you?

from jgabc.

SirPL avatar SirPL commented on August 11, 2024

Sorry, I was wrong - Thats IE11, not 10. What happened? I can see only names of staff (Kyrie XVII: etc...). I checked svg, and all of them looks like this:

<svg style="width: 100%; height: 0px">
  <defs> ... </defs>    <!-- defs contains all definitions -->
  <g class="caeciliae" transform="translate(0 42)"></g>
</svg>

And that's it. I have also found bug. There's problem with space between the first neume (or bar) in the line and the clef:

somethingwrong

from jgabc.

SirPL avatar SirPL commented on August 11, 2024

And one more question: Is it possible to remove audio library from passive mode - it's not necessary at all, and the loading time would be (very likely) better

from jgabc.

bbloomf avatar bbloomf commented on August 11, 2024

Here is another project to watch for SVG rendering of GABC: https://github.com/frmatthew/exsurge

from jgabc.

Related Issues (20)

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.