[FWD] Proposed CPAN Module: Tk::Canvas::Music

[email protected] (Jean-Pierre Vidal) Mon, 23 Feb 2004 21:15:39 +0000
Newsgroups perl.midi
Message-ID <[email protected]>
Hello,

I have found this on comp.lang.perl.modules. I forward to this group in case  
someone is interested:

Proposed CPAN Module: Tk::Canvas::Music

This module will create a Tk::Widget which ISA Tk::Canvas.  It will 
export functions that paint scores, notes, key signatures, time 
signatures, tempo and other text, bar lines, a cursor/caret, ledger 
lines, and so on.  It will have a set of default bindings that allow 
input from the keyboard.  The key-mapping may be redefined at any time. 
  There will be a Read-Only version with none of the input bindings, for 
display purposes or for the perl community to add their own bindings to.

A module like this can allow the printing of musical score, the input of 
music in a conventional manner, or even the export of music to midi, 
MusicXML, or any other form of storage.  The Music::Note module will be 
  used to create a new Note module to represent the notes as objects. 
The new Note module is necessary so that notes may have a length 
property and may be rests.  A Staff module will allow representation of 
staves as objects.  paint()ing the Staff will automatically paint() all 
of the notes that belong to it, using the treble clef by default, but 
adjusting the vertical position appropriately for any clef.  Since the 
Music::Note module is used, transposition will be easy, thus a 
particular staff of a composition may be isolated and printed for Bb or 
Eb (or any other) instruments.

This module is at the idea stage, will be written in perl, and will have 
the standard perl license.

So, what do you think?... feedback please.

Jimi-Carlo Bukowski-Wills
[email protected]
www.jimicarlo.co.uk

-- 
Jean-Pierre Vidal