Convert the guitarpro to vexflow

772 views
Skip to first unread message

Metal

unread,
Jan 6, 2011, 9:11:40 PM1/6/11
to vexflow
I found there is another opensource software TuxGuitar (java) , which
can parse guitar pro file.so can we work out a solution or adapter to
view guitarpro file online?
btw, there is another version of C#, tabotron, http://sourceforge.net/projects/tabotron/,
i am working on that.

ps: Guitar Pro (http://www.guitar-pro.com) is first and foremost a
program designed to edit tablatures for guitar, bass, and other
fretted instruments from 4 to 8 strings.

Mohit Muthanna

unread,
Jan 7, 2011, 8:11:22 AM1/7/11
to vex...@googlegroups.com
On Thu, Jan 6, 2011 at 9:11 PM, Metal <tgui...@gmail.com> wrote:
> I found there is another opensource software TuxGuitar (java) , which
> can parse guitar pro file.so can we work out a solution or adapter to
> view guitarpro file online?

Hi,

That's a good plan... I'd love it if someone could write a javascript
parser for the guitarpro format ;-)

Mohit.

> btw,  there is another version of C#, tabotron, http://sourceforge.net/projects/tabotron/,
> i am working on that.
>
> ps: Guitar Pro (http://www.guitar-pro.com) is first and foremost a
> program designed to edit tablatures for guitar, bass, and other
> fretted instruments from 4 to 8 strings.
>

> --
> You received this message because you are subscribed to the Google
> Groups "vexflow" group.
> To post to this group, send email to vex...@googlegroups.com
> To unsubscribe from this group, send email to
> vexflow+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/vexflow?hl=en
>

--
Mohit Muthanna [mohit (at) muthanna (uhuh) com]

Gregory Jopa

unread,
Jan 7, 2011, 5:02:29 PM1/7/11
to vex...@googlegroups.com
Hey Guys,

I agree that a JavaScript parser would be awesome. Why not create the parser for musicXML instead of the guitar pro format? I use Guitar Pro 6 and it has the ability to export files to musicXML along with many other music notation programs.

I actually did an experiment with creating a JavaScript parser for MusicXML files that uses Vexflow and the Firefox Audio Data API. An article just got published today about it to Mozilla's developer website. The article includes the technical details and a short video demo. Check it out here: http://hacks.mozilla.org/2011/01/html5guitar/

--
Greg

Metal

unread,
Jan 7, 2011, 7:38:01 PM1/7/11
to vexflow
JavaScript has very little support for binary data. And we do parsing
as server side or leveraging the flash. for file format , i prefer the
guitar pro's, since it is native file and more popular

On Jan 8, 6:02 am, Gregory Jopa <grj...@gmail.com> wrote:
> Hey Guys,
>
> I agree that a JavaScript parser would be awesome. Why not create the parser
> for musicXML instead of the guitar pro format? I use Guitar Pro 6 and it has
> the ability to export files to musicXML along with many other music notation
> programs.
>
> I actually did an experiment with creating a JavaScript parser for MusicXML
> files that uses Vexflow and the Firefox Audio Data API. An article just got
> published today about it to Mozilla's developer website. The article
> includes the technical details and a short video demo. Check it out here:http://hacks.mozilla.org/2011/01/html5guitar/
>
> --
> Greg
>
>
>
>
>
>
>
> On Fri, Jan 7, 2011 at 7:11 AM, Mohit Muthanna <mo...@muthanna.com> wrote:
> > On Thu, Jan 6, 2011 at 9:11 PM, Metal <tguit...@gmail.com> wrote:
> > > I found there is another opensource software TuxGuitar (java) , which
> > > can parse guitar pro file.so can we work out a solution or adapter to
> > > view guitarpro file online?
>
> > Hi,
>
> > That's a good plan... I'd love it if someone could write a javascript
> > parser for the guitarpro format ;-)
>
> > Mohit.
>
> > > btw,  there is another version of C#, tabotron,
> >http://sourceforge.net/projects/tabotron/,
> > > i am working on that.
>
> > > ps: Guitar Pro (http://www.guitar-pro.com) is first and foremost a
> > > program designed to edit tablatures for guitar, bass, and other
> > > fretted instruments from 4 to 8 strings.
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "vexflow" group.
> > > To post to this group, send email to vex...@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > vexflow+u...@googlegroups.com<vexflow%2Bunsu...@googlegroups.com >
> > > For more options, visit this group at
> > >http://groups.google.com/group/vexflow?hl=en
>
> > --
> > Mohit Muthanna [mohit (at) muthanna (uhuh) com]
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "vexflow" group.
> > To post to this group, send email to vex...@googlegroups.com
> > To unsubscribe from this group, send email to
> > vexflow+u...@googlegroups.com<vexflow%2Bunsu...@googlegroups.com >

Metal

unread,
Jan 7, 2011, 7:54:25 PM1/7/11
to vexflow
i found 2 libraries of binary parse for JavaScript
http://blog.vjeux.com/2010/javascript/javascript-binary-reader.html
http://jsfromhell.com/classes/binary-parser

for guitar pro file format:
http://www.music-notation.info/en/formats/GuitarProFormat.html
http://dguitar.sourceforge.net/GP4format.html


On Jan 7, 10:11 am, Metal <tguit...@gmail.com> wrote:
> I found there is another opensource software TuxGuitar (java) , which
> can parse guitar pro file.so can we work out a solution or adapter to
> view guitarpro file online?
> btw,  there is another version of C#, tabotron,http://sourceforge.net/projects/tabotron/,

Luuk de Waal Malefijt

unread,
Jan 8, 2011, 8:53:04 AM1/8/11
to vex...@googlegroups.com
Hi guys,

a little while ago, I started on writing a MusicXML parser for Vexflow.
Haven't worked on it on a while, but it's fairly decent. 
Is anyone interested in the code?

As for the guitarpro parser, Alphatab has ported the Tuxguitar file loaders to javascript, so you could use that to convert the tabs to musicxml.

- Luuk

--
You received this message because you are subscribed to the Google
Groups "vexflow" group.
To post to this group, send email to vex...@googlegroups.com
To unsubscribe from this group, send email to
vexflow+u...@googlegroups.com

Alan Szlosek

unread,
Jan 8, 2011, 9:52:13 PM1/8/11
to vex...@googlegroups.com
I'm definitely interested. Are you going to put it up on github?

--
Alan Szlosek

Gregory Jopa

unread,
Jan 9, 2011, 12:22:58 PM1/9/11
to vex...@googlegroups.com
I am definitely interested too. I agree that github would be the best place for the MusicXML parser.
Greg

Luuk de Waal Malefijt

unread,
Jan 9, 2011, 5:53:32 PM1/9/11
to vex...@googlegroups.com
Hi guys,

I'm not sure whether I made some alterations to /src and whether the changes have been committed too,
but the musicxml parser is there.

It can be found in my branch here: https://github.com/Tails/vexflow/tree/master/parsers

In the directory you find a modified tabdiv.js that allows a parser to be specified in an attribute, defaulting to the vextab parser.
The file parserapi.js is meant to be some kind of standardized api for creating and accessing the vexflow objects. Note that is far from complete.
The musicxml parser has some issues of it's own, for example, musicxml does not support dead notes and neither does vexflow (tab). There are also some issues with ties. 

However, I will not develop this code any further, in favor for Alphatab. Alphatab is a javascript port of TuxGuitar and is better (for me) performance-wise.
Also, Alphatab allows for more efficient runtime editing of a score because of it's OOP-origin.

The reason I am interested in the development of a javascript partiture renderer/editor is because I'm developing a(nother) Guitar Pro tab website where people are able to submit corrections while viewing the tab in the browser. It has a tab conversion service and everything. Launch is scheduled begin Februari. /spam

Lastly, the musicxml parser has some issues with chrome, but it works fine with Firefox.

- Luuk 
Reply all
Reply to author
Forward
0 new messages