Proposed CPAN Module: Tk::Canvas::Music
From: Jimi-Carlo Bukowski-Wills (jimicarlo_at_ntlworld.com)
Date: 02/20/04
- Previous message: thumb_42_at_yahoo.com: "Re: passing global variable by reference?"
- Next in thread: Slaven Rezic: "Re: Proposed CPAN Module: Tk::Canvas::Music"
- Reply: Slaven Rezic: "Re: Proposed CPAN Module: Tk::Canvas::Music"
- Reply: Jean-Pierre Vidal: "Re: Proposed CPAN Module: Tk::Canvas::Music"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 20 Feb 2004 22:14:23 +0000
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
jimi@jimicarlo.co.uk
www.jimicarlo.co.uk
- Previous message: thumb_42_at_yahoo.com: "Re: passing global variable by reference?"
- Next in thread: Slaven Rezic: "Re: Proposed CPAN Module: Tk::Canvas::Music"
- Reply: Slaven Rezic: "Re: Proposed CPAN Module: Tk::Canvas::Music"
- Reply: Jean-Pierre Vidal: "Re: Proposed CPAN Module: Tk::Canvas::Music"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|