Re: [abcusers] Anyone up for writing a little script?

2004-07-01 Thread Phil Taylor
On 1 Jul 2004, at 06:43, Atte André Jensen wrote:
Dafydd Monks wrote:
Anyone out there up for writing a little ABC processor (midi and GIF)
in PHP?
You mean like this:
http://www.atte.dk/abc/
I submitted a minimal abc tune to this to try it out:
X:1
T:test
C:nobody
M:C
K:C
ABcd ABcd |]
Transpose worked OK (but only into flat keys), but neither Mac Preview
nor Acrobat could display the pdf.  Both said it was corrupted.  I tried
the postscript version and Ghostscript barfed on that too.  I'd guess
this is something going wrong with abc(m)2ps, rather than the php, but
you might want to take a look at it Atte.
Phil Taylor
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html


Re: [abcusers] Anyone up for writing a little script?

2004-07-01 Thread Dafydd Monks
I was thinking of a GIF/MIDI parser really - andone that dose not need the
backed of abc(m)2ps.

I know it's possible - there's a midi class out there, and GD could be used
to create the GIFs.

Acrobat PDF is not really a requirement, I only want to be able to provide
my users with sheet music embedded into a html (or from a database) page.
and let them play a midi file - if they want anything else they can put the
ABC through ABC2WIN or one of those kind of programs.

I still think this would be a worthwhile excercise - all PHP. If you look at
the source to abc(m)2ps or another command line program like this, it's only
a matter of converting everything to PHP. (which of course is better as it
can run on any server with PHP, my web host won't let me install any of the
command line routines that are in compiled C)

Dafydd.
- Original Message -
From: Phil Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 01, 2004 2:21 PM
Subject: Re: [abcusers] Anyone up for writing a little script?



On 1 Jul 2004, at 06:43, Atte André Jensen wrote:

 Dafydd Monks wrote:

 Anyone out there up for writing a little ABC processor (midi and GIF)
 in PHP?

 You mean like this:

 http://www.atte.dk/abc/

I submitted a minimal abc tune to this to try it out:

X:1
T:test
C:nobody
M:C
K:C
ABcd ABcd |]

Transpose worked OK (but only into flat keys), but neither Mac Preview
nor Acrobat could display the pdf.  Both said it was corrupted.  I tried
the postscript version and Ghostscript barfed on that too.  I'd guess
this is something going wrong with abc(m)2ps, rather than the php, but
you might want to take a look at it Atte.

Phil Taylor

To subscribe/unsubscribe, point your browser to:
http://www.tullochgorm.com/lists.html

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html


Re: [abcusers] Anyone up for writing a little script?

2004-07-01 Thread Atte André Jensen
Dafydd Monks wrote:
I was thinking of a GIF/MIDI parser really - andone that dose not need the
backed of abc(m)2ps.
Ok, I see. Would be very cool indeed.
--
peace, love  harmony
Atte
http://www.atte.dk
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html