CoderLine / alphaTab

alphaTab is a cross platform music notation and guitar tablature rendering library.
http://www.alphatab.net
Mozilla Public License 2.0
1.23k stars 199 forks source link

Blank canvas in Firefox4 #11

Closed ben-ng closed 12 years ago

ben-ng commented 13 years ago

If hardware acceleration is turned on in FF4, canvas sizes appear to be limited and alphatab fails to render larger tablatures.

Possibly circumvented by using SVG instead?

Danielku15 commented 13 years ago

I already recognized this bug. Firefox throws an NS_ERROR_OUT_OF_MEMORY. The bug is already known by Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=649924 and https://bugzilla.mozilla.org/show_bug.cgi?id=633936

I will take a look a t the idea of chaning the rendering context as needed in order to use i.E. Raphael for rendering (http://raphaeljs.com/)

ben-ng commented 13 years ago

Been looking at raphael myself, but I don't understand alphaTab well enough at this point to implement it!

Danielku15 commented 12 years ago

alphaTab now supports rendering SVGs

ben-ng commented 12 years ago

cool stuff daniel! i'm working on a new java player that's more reliable. the existing one is horribly buggy on mac.

Danielku15 commented 12 years ago

Sounds great. But I don't think the main problem is caused by the player source code. I think browsers generally have problems with Java Applets to work well. I also have started a new project named "alphaSynth" which is a HTML5 Midi Synthesizer with Flash Fallback.

A very basic audio sample generation already works but still a lot of work needs to be done. http://demo.alphatab.net/alphaSynth/