Google Groups Home
Help | Sign in
Java Powertab Parser
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  17 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
joneric_wennerstrom@yahoo .com  
View profile
 More options Jul 10 2007, 11:40 am
From: "joneric_wennerst...@yahoo.com" <joneric.wennerst...@gmail.com>
Date: Tue, 10 Jul 2007 08:40:15 -0700
Local: Tues, Jul 10 2007 11:40 am
Subject: Java Powertab Parser
I've been working on a java version of a power tab file (.ptb) reader
for the past two months.
I think I've gotten far enough along to post an alpha release.
I've done some preliminary testing and it parses the few power tab
files I've tried it on.
This does not mean that there aren't any bugs, or that the code is
totally finished.

I'll post the source code as well as a binary jar file on my website
this evening at http://www.beaglebuddy.com/ptb/.
Feel free to download it and try it out.
I'd appreciate any feedback you may have.
This includes bugs as well as suggestions for making the code better,
whether it be in design, naming conventions, methods you'd like added
\removed, etc.  Just about anything as long as its constructive.

My e-mail address is listed on the website, so e-mail me your comments
and bug reports.

Thanks.
Hope you like it.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hirak  
View profile
 More options Jul 11 2007, 2:34 pm
From: Hirak <herak....@gmail.com>
Date: Wed, 11 Jul 2007 18:34:35 -0000
Local: Wed, Jul 11 2007 2:34 pm
Subject: Re: Java Powertab Parser
Hi,

I downloaded the ptb reader and I got followig stacktrace.
com.beaglebuddy.ptb.utility.PTBFileException: An error occurred while
reading a score from call_of_ktulu.ptb at file position 236.
An error occurred while reading a system from call_of_ktulu.ptb at
file position 15035.
An error occurred while reading a staff from call_of_ktulu.ptb at file
position 15471.
An error occurred while reading a position from call_of_ktulu.ptb at
file position 15856.
An error occurred while reading a note from call_of_ktulu.ptb at file
position 15868.
Invalid fret number 27.  It must be between 0 and 24.
        at com.beaglebuddy.ptb.PTBScore.load(PTBScore.java:242)
        at com.beaglebuddy.ptb.PTBFile.load(PTBFile.java:127)
        at com.beaglebuddy.ptb.PTBFile.<init>(PTBFile.java:64)
        at com.beaglebuddy.ptb.PTBFile.main(PTBFile.java:150)

It seems that the somehow PTB allowed  27 frets ??

It would be great if we can set up a version control like subversion
and issue tracker like bugzilla or something.
Then it would be easier for us.

Thanks
Herak

p.s  i will attach the the file which I tested


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
joneric_wennerstrom@yahoo .com  
View profile
 More options Jul 12 2007, 3:14 pm
From: "joneric_wennerst...@yahoo.com" <joneric.wennerst...@gmail.com>
Date: Thu, 12 Jul 2007 12:14:18 -0700
Local: Thurs, Jul 12 2007 3:14 pm
Subject: Re: Java Powertab Parser
I fixed the bug you are referring to today, and two others, and will
post the code this evening.

You're right, about the bug tracking and subversion repository, but I
just haven't sat down and done it.
I've been too busy working on the code :-)

Hopefully with these fixes, you should be able to read 80-90% of all
1.70 ptb files.

On Jul 11, 11:34 am, Hirak <herak....@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hirak  
View profile
 More options Jul 13 2007, 9:49 am
From: Hirak <herak....@gmail.com>
Date: Fri, 13 Jul 2007 13:49:04 -0000
Local: Fri, Jul 13 2007 9:49 am
Subject: Re: Java Powertab Parser
Okie...
I will download the code and continue testing.
so will u set up subversion??
please do it , it will be most helpful for the community.

thx
H

On Jul 12, 3:14 pm, "joneric_wennerst...@yahoo.com"


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
joneric_wennerstrom@yahoo .com  
View profile
 More options Jul 18 2007, 1:17 pm
From: "joneric_wennerst...@yahoo.com" <joneric.wennerst...@gmail.com>
Date: Wed, 18 Jul 2007 10:17:35 -0700
Local: Wed, Jul 18 2007 1:17 pm
Subject: Re: Java Powertab Parser
I've successfully tested the current version of the java power tab
reader on about 600 exisiting .ptb files.
It was able to read them all in.
So go ahead and download it at http://www.beaglebuddy.com/ptb.

On Jul 13, 6:49 am, Hirak <herak....@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hirak  
View profile
 More options Jul 22 2007, 10:11 am
From: Hirak <herak....@gmail.com>
Date: Sun, 22 Jul 2007 07:11:59 -0700
Local: Sun, Jul 22 2007 10:11 am
Subject: Re: Java Powertab Parser
Hi,

I will go ahead and download it.
I have been away for a while so could not test much..
Can you provide a basic documentation about the format of the file,
especially the relationships of score,notes,attributes etc with an
simple example
It would be helpful for testing and contributing.

Thanks and great work
Hirak

On Jul 18, 1:17 pm, "joneric_wennerst...@yahoo.com"


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hirak  
View profile
 More options Jul 22 2007, 10:11 am
From: Hirak <herak....@gmail.com>
Date: Sun, 22 Jul 2007 07:11:59 -0700
Local: Sun, Jul 22 2007 10:11 am
Subject: Re: Java Powertab Parser
Hi,

I will go ahead and download it.
I have been away for a while so could not test much..
Can you provide a basic documentation about the format of the file,
especially the relationships of score,notes,attributes etc with an
simple example
It would be helpful for testing and contributing.

Thanks and great work
Hirak

On Jul 18, 1:17 pm, "joneric_wennerst...@yahoo.com"


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
joneric_wennerstrom@yahoo .com  
View profile
 More options Jul 24 2007, 11:01 am
From: "joneric_wennerst...@yahoo.com" <joneric.wennerst...@gmail.com>
Date: Tue, 24 Jul 2007 08:01:42 -0700
Local: Tues, Jul 24 2007 11:01 am
Subject: Re: Java Powertab Parser
The format of a .ptb file is not composed of fixed fields like the
header is.
The best way to see the format is to start with the PTBFile class, and
look at the load(PTPFileInputStream file) method.
It makes repeated calls to other ptb classes load() methods, which in
turn make calls to other classes load() methods.
Basically, each ptb class calls the load() method on the classes it
contains, and so on.
The file format that brad came up with is actually quite clever and
very difficult to understand once you spend a few minutes with it, and
it results in very small files.

On Jul 22, 7:11 am, Hirak <herak....@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
joneric_wennerstrom@yahoo .com  
View profile
 More options Jul 26 2007, 11:30 am
From: "joneric_wennerst...@yahoo.com" <joneric.wennerst...@gmail.com>
Date: Thu, 26 Jul 2007 08:30:49 -0700
Local: Thurs, Jul 26 2007 11:30 am
Subject: Re: Java Powertab Parser
I had sent in another post, but its been a few days and I don't see it
in the forums so I'll submit this posting in hopes that it makes it
in.

I've pretty much finished the java ptb file reader, and am now at a
crossroads.
I can continue on and do the writer part of it next, or stop here.

The deciding factor is whether brad is working on the now infamous 2.0
version.
If so, then I won't spend any more time on this, and will wait for its
release, whenever that happens to be.
Otherwise, I'll continue on with the java version.

Brad seems very reluctant to discuss anything about the 2.0 version.
Whether he's working on it, whether he's abandoned it, whether he'd
like or accept help from others, etc.
I don't understand his reasons for not wanting to talk about it, so
all anyone can do is respect his decision and accept the situation.

I would very much like to see the next version of power tab happen, as
I'm sure so would thousands of other users.

I hope this post makes it into the forums, and that Brad will resolve
the questions surrounding the 2.0 version.

On Jul 24, 8:01 am, "joneric_wennerst...@yahoo.com"


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.