Thursday, July 31, 2008

Bala

Copperbox revision 209.

I've changed the LilyPond backend to use the PolyScore datatypes. While there is still a lot to do, it is producing output again.

Wednesday, July 30, 2008

Bala

Copperbox revisions 207 & 208.

Revision 207 - more work towards viable support for polyphony. My current thinking is to sequence all the measures in a pending worklist (represented by the new ADT OnsetQueue) then regroup them into PolyUnits - polyphonic lines that are printed together on the same staff.

In Abc, a PolyUnit has to be a measure long and are represented by voice overlays. In LilyPond, a unit can be of variable length and a separated with the (\\) operator.

Revision 208 - all translation steps for scores now implemented in ToPolyScore. Currently it only translates into measure length 'PolyUnits'.

Tuesday, July 29, 2008

Bala

Copperbox revision 206.

There were problems with polyphony in the last commit that I didn't spot at the time - I've now improved things in the Score rendered but disabled polyphony in the LilyPond renderer.

I've added a LilyPond sample - polyphony.ly - which illustrates what the design choices are for the renderers.

Bala

Copperbox revision 205.

Its a bit messy as I had to change things that I thought work working properly, but the new LilyPond back end now renders polyphony.

Monday, July 28, 2008

Bala

Copperbox revision 204

Work on the ToScore renderer. Making it less imperative and hopefully more readable.

Sunday, July 27, 2008

Bala

Copperbox revisions 202 & 203.

I've reorganized the Perform directory. The original code that worked in one step (EventTree -> Midi, EventTree -> LilyPond, ...) is now in the Original folder. The new code that will supersede it at some point is split into various folders.

Saturday, July 26, 2008

Bala

Copperbox revision 201.

I've added the new LilyPond backend. It takes an ScScore syntax tree and outputs it as LilyPond.

Although it is incomplete at present - it doesn't yet render polyphony, I think it does live up to the expectation that generating LilyPond in two steps (EventTree -> Score, Score -> LilyPond) is more comprehensible than EventTree -> LilyPond.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.