PHP Power Tab Classes

9 views
Skip to first unread message

allpow...@gmail.com

unread,
Jun 9, 2007, 11:34:13 AM6/9/07
to Power Tab Developers Support
In lew of the java parser, I am releasing incomplete PHP power tab
classes. I have worked off and on translating the parser's classes to
php in hope of writing a MusicXML to Power Tab convertor. Simply I'm
burnt out. I hope this gives anyone who is trying to do the same, a
head start.

Download at:

http://www.allpowertabs.com/tools/phpptparser.zip

Ronald [PTA]

unread,
Jun 10, 2007, 7:05:14 AM6/10/07
to Power Tab Developers Support
This is great! Thanks for releasing it! The more open source snippets
we got, the more it is likely, that we will be able to do something
like http://www.tellini.org/mac/tabview/ in an open-source and
possibly online fashion. PHP (and/or possibly Python) seem to be a
good choice for that.

Cheers,
Ron

On Jun 9, 5:34 pm, "allpowert...@gmail.com" <allpowert...@gmail.com>
wrote:

joneric.w...@gmail.com

unread,
Jul 7, 2007, 4:57:16 PM7/7/07
to Power Tab Developers Support
cool guys.
For those interested, I should finish up the complete java version
within the next two weeks.


On Jun 10, 4:05 am, "Ronald [PTA]" <powertabs....@gmail.com> wrote:
> This is great! Thanks for releasing it! The more open source snippets
> we got, the more it is likely, that we will be able to do something

> likehttp://www.tellini.org/mac/tabview/in an open-source and

Simone Tellini

unread,
Jul 9, 2007, 2:39:24 AM7/9/07
to Power Tab Developers Support
allpow...@gmail.com ha scritto:

beware, there's a bug in ptparser's chordname.h file. The following
lines:

/// Sets a formula flag
/// @param flag Flag to set
/// @return True if the flag was set, false if not
bool SetFormulaFlag(wxByte flag)
{wxCHECK(IsValidFormulaFlag(flag), false); m_key |= flag;
return (true);}
/// Clears a formula flag
/// @param flag Flag to clear
/// @return True if the flag was cleared, false if not
bool ClearFormulaFlag(wxByte flag)
{wxCHECK(IsValidFormulaFlag(flag), false); m_key &= ~flag;
return (true);}
/// Determines if a formula flag is set
/// @param flag Flag to test
/// @return True if the flag is set, false if not
bool IsFormulaFlagSet(wxByte flag) const
{return ((m_key & flag) == flag);}

should be changed not to use m_key but m_formula instead. Your PHP
classes should be modified too.

--
Simone Tellini
http://www.tellini.org

Dummy

unread,
Jul 9, 2007, 8:19:24 PM7/9/07
to Power Tab Developers Support
Fixed, and uploaded.

Brad

On Jul 9, 2:39 am, Simone Tellini <simone.tell...@gmail.com> wrote:
> allpowert...@gmail.com ha scritto:

allpow...@gmail.com

unread,
Jul 9, 2007, 11:27:12 PM7/9/07
to Power Tab Developers Support
Thanks for the FYI Simone.

On Jul 9, 2:39 am, Simone Tellini <simone.tell...@gmail.com> wrote:

> allpowert...@gmail.com ha scritto:

Reply all
Reply to author
Forward
0 new messages