You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mark Leicester <ma...@metering.co.nz> on 2003/08/03 14:41:30 UTC

Making sweet music with Cocoon

Hello,

I have just 'assembled' a Cocoon[1] generator for MIDI files. This component
takes a MIDI file as its source and then generates an XML representation of
the file in XMidi. XMidi was developed several years ago by Peter Loeb. I
was looking for an excuse to develop a Cocoon component and I stumbled
across his site[2] and his source code for converting MIDI into a DOM
representation. I converted his implementation to SAX. Peter's code seems to
have lain untouched for some time and is released under the MIT license[3].

My plans are to:
1. Implement a MIDI serializer (Peter Loeb's code includes an XMidi to MIDI
converter also) so that round trips are possible.
2. Create some XMidi to SVG transformers so that graphical (e.g. Western
musical notation, or Schenkerian analysis perhaps!) representations of MIDI
files can be rapidly generated.
3. Create some transformers to do some amusing musical transformations of
the XMidi, e.g. inversion, retrograde etc.

I realise that MIDI format provides very little presentation information
thus limiting the scope of my second aim, but this could well provide the
start of something that encompasses other XML formats for music (such as
NIFF XML, MusicML, or perhaps a new markup for music).

Does anyone else on the Cocoon list have an interest in wrestling with the
mismatch between markup and music?

[1] http://cocoon.apache.org/
[2] http://www.palserv.com/XMidi/
[3] http://www.opensource.org/licenses/mit-license.html

Cheers,
Mark Leicester


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Making sweet music with Cocoon

Posted by Konstantin Piroumian <kp...@apache.org>.
This sounds very interesting to me and I'd like to see the results of your
work.
I don't have any plans in the near future related to Music + Markup, so I
can't be of any use for your project except that I have some musical
education and quite a lot of experience with Cocoon and probably will be
able to provide some feedback or other hints on implementation.

Regards,
  Konstantin Piroumian kpiroumian@apache.org

From: "Mark Leicester" <ma...@metering.co.nz>

> Hello,
>
> I have just 'assembled' a Cocoon[1] generator for MIDI files. This
component
> takes a MIDI file as its source and then generates an XML representation
of
> the file in XMidi. XMidi was developed several years ago by Peter Loeb. I
> was looking for an excuse to develop a Cocoon component and I stumbled
> across his site[2] and his source code for converting MIDI into a DOM
> representation. I converted his implementation to SAX. Peter's code seems
to
> have lain untouched for some time and is released under the MIT
license[3].
>
> My plans are to:
> 1. Implement a MIDI serializer (Peter Loeb's code includes an XMidi to
MIDI
> converter also) so that round trips are possible.
> 2. Create some XMidi to SVG transformers so that graphical (e.g. Western
> musical notation, or Schenkerian analysis perhaps!) representations of
MIDI
> files can be rapidly generated.
> 3. Create some transformers to do some amusing musical transformations of
> the XMidi, e.g. inversion, retrograde etc.
>
> I realise that MIDI format provides very little presentation information
> thus limiting the scope of my second aim, but this could well provide the
> start of something that encompasses other XML formats for music (such as
> NIFF XML, MusicML, or perhaps a new markup for music).
>
> Does anyone else on the Cocoon list have an interest in wrestling with the
> mismatch between markup and music?
>
> [1] http://cocoon.apache.org/
> [2] http://www.palserv.com/XMidi/
> [3] http://www.opensource.org/licenses/mit-license.html
>
> Cheers,
> Mark Leicester
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Making sweet music with Cocoon

Posted by Jorg Heymans <jh...@coeno.com>.
This is a cool idea Mark !

I have been playing with the idea myself of using cocoon as a sort of 
binary transformation engine (so not just XML). I was wondering if I 
wouldn't be abusing the framework too much in this way, as it was built 
for XML transformations mainly :-) Still i think that the 
generate-transform-serialize design contract can be applied to a few 
other domains (think direction audio, imaging, video, 3D etc)..

I don't know much of midi but i do know svg and cocoon, maybe we can 
find a common ground?

Regards
Jorg

Mark Leicester wrote:

>Hello,
>
>I have just 'assembled' a Cocoon[1] generator for MIDI files. This component
>takes a MIDI file as its source and then generates an XML representation of
>the file in XMidi. XMidi was developed several years ago by Peter Loeb. I
>was looking for an excuse to develop a Cocoon component and I stumbled
>across his site[2] and his source code for converting MIDI into a DOM
>representation. I converted his implementation to SAX. Peter's code seems to
>have lain untouched for some time and is released under the MIT license[3].
>
>My plans are to:
>1. Implement a MIDI serializer (Peter Loeb's code includes an XMidi to MIDI
>converter also) so that round trips are possible.
>2. Create some XMidi to SVG transformers so that graphical (e.g. Western
>musical notation, or Schenkerian analysis perhaps!) representations of MIDI
>files can be rapidly generated.
>3. Create some transformers to do some amusing musical transformations of
>the XMidi, e.g. inversion, retrograde etc.
>
>I realise that MIDI format provides very little presentation information
>thus limiting the scope of my second aim, but this could well provide the
>start of something that encompasses other XML formats for music (such as
>NIFF XML, MusicML, or perhaps a new markup for music).
>
>Does anyone else on the Cocoon list have an interest in wrestling with the
>mismatch between markup and music?
>
>[1] http://cocoon.apache.org/
>[2] http://www.palserv.com/XMidi/
>[3] http://www.opensource.org/licenses/mit-license.html
>
>Cheers,
>Mark Leicester
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon.apache.org down

Posted by Tetsuya Kitahata <te...@apache.org>.
Yes.

I think it is due to the .htaccess file at daedalus.

Now it is discussed at infra team mailing list.

-- Tetsuya. (tetsuya@apache.org)

On Sun, 3 Aug 2003 11:50:22 -0400
(Subject: cocoon.apache.org down)
"Ryan Agler" <ry...@hotmail.com> wrote:

> I keep getting "Internal Server Error" at http://cocoon.apache.org .  Is this happening to anyone else?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon.apache.org down

Posted by Steven Noels <st...@outerthought.org>.
On 3/08/2003 17:56 Mark Leicester wrote:
> On 3/08/2003 16:50, "Ryan Agler" <ry...@hotmail.com> wrote:
> 
> 
>>I keep getting "Internal Server Error" at http://cocoon.apache.org .  Is this
>>happening to anyone else?
> 
> Yes, me too - I've just sent a message to the webmaster about it.

The problem has been resolved - sorry for the inconvenience!

</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at            http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org                stevenn at apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon.apache.org down

Posted by Mark Leicester <ma...@energyintellect.com>.
On 3/08/2003 16:50, "Ryan Agler" <ry...@hotmail.com> wrote:

> I keep getting "Internal Server Error" at http://cocoon.apache.org .  Is this
> happening to anyone else?
Yes, me too - I've just sent a message to the webmaster about it.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon.apache.org down

Posted by Mark Leicester <ma...@metering.co.nz>.
On 3/08/2003 16:50, "Ryan Agler" <ry...@hotmail.com> wrote:

> I keep getting "Internal Server Error" at http://cocoon.apache.org .  Is this
> happening to anyone else?
Yes, me too - I've just sent a message to the webmaster about it.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


cocoon.apache.org down

Posted by Ryan Agler <ry...@hotmail.com>.
I keep getting "Internal Server Error" at http://cocoon.apache.org .  Is this happening to anyone else?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org