[Lily4jedit-devel] My near plans
Brought to you by:
fodber
From: Joshua K. <jos...@gm...> - 2004-11-23 03:14:20
|
Hi, here is some stuff I planning to work on for lilytool. 1. Convert To Lilypond macro. and support for MusicXML. A macro which allow user to chose a file (eg. midi or musicxml) and convert it into a new file or replace the buffer file, something like the convert to newer version function. I have tried Xalan on the command line with xml2ly. I'm not sure if i should import the jars into lilytool. One way i think of doing is to allow user to specify path to the jar (or maybe to another xslt processor). I tried to create some transcent classes with XSLTC but didnt work out for me. I also find that inserting a \version "1.7.0" from the generate ly is quite usefully as it can be converted to the newest version easily (xml2ly was using a slightly older syntax). As xml2ly give absolutes pitches, I tempted now to write a macro to convert absolute pitches in selection to relative pitches. 2. Learning how to use the macrohelper classes - to find out whats the pitch/duration of the note in the buffer so its possible to edit it, and to be able to insert relative notes from the "Piano input mode". - improving someother functions that uses the helper classes. Bert, do you think for articulations/appendnotes macro, instead of checking if cursor is infront of notes, but notes behind the selection/cursor should be placed into the iterator maybe by search for the next space. This way, a selection of notes hightlighted, by not hightlighted thru out would work as well. eg. {a b c}is can covert correctly to a-> b-> cis-> instead of a-> b-> c->is {} is where highlight stops and end. About the what beat, is it possible to backmatch more to find the duration of the notes if not yet known. Or could the values of note be stored in the sidekick parser? 3. Note visualiser I'm thinking of modifing Nifty from http://niffty.sourceforge.net for displaying notes. What do you think? 4. After all these, I can work on to integrate these into the Keyboard class to make sure all is working esp. the Keybindings Actions. 5. Then, I'll try to improve on the playback experience - score and midi. I'll hope to bring good news in time to come! Joshua |