Sunday, February 28, 2010

Neume

Copperbox revision 1154.

Work on a new beam grouping and bar splitting algorithm.

This one seems a lot more promising than previous attempts. What I'm doing is segmenting into metrical units that match each division of a meter pattern - say if I'm in 4-4 time with two beam groups each of a half note. I split the input stream into chunks of a half note in duration (possibly with some borrow). To turn the segmented stream into bars I take two chunks at a time and amalgamate them into a bar (beam grouping inside the chunk when necessary).

This is much simpler than what I was trying before, where I had split the input into single notes and beam groups and had to count them all again to form a bar.

I've easily accounted for a start anacrusis with the new algorithm and in my head it works for n-ary tuplets, though I have to work the details out - I'm still not sure what form n-ary tuplets should have in the intermediate syntax tree.

Neume

Copperbox revision 1153.

Work on summing the duration of PletTrees. It seems wrong at the moment but that might be my test instead, so I want the code check pointed.

Saturday, February 27, 2010

Neume

Copperbox revision 1152.

Back to work on Neume...

This time I'm working with input data type that can handle n-ary tuplets from the beginning. Last time bracketing quickly became too complicated, before I even thought about triplets and duplets, so I've decided to put them in from the start. Unfortunately this means I'll have to work with trees rather than simple linear lists - tuplets can be nested so this mandates trees.

Thursday, February 25, 2010

kangaroo

Copperbox revision 1151.

I've added the row formatting module from Hurdle to JoinPrint (where it belongs) and a couple of missing formatters (list, tupled, and semiBraces).

Wednesday, February 24, 2010

Hurdle-0.4.0

Copperbox revision 1150.

I've made a new release of Hurdle - no new functionality, but it does use the latest Kangaroo.

Hurdle

Copperbox revision 1149.

I've worked out a new formatter for tables via the TypeCase pattern. When integrated it should improve the TextDump module quite a bit, currently its quite horrible.

Tuesday, February 23, 2010

kangaroo-0.4.0

Copperbox revisions 1147 & 1148.

A new release of kangaroo with the JoinPrint improvements.

Revision 1147 has the new tar archive with the latest cabal file in the archive. Unfortunately I missed committing the latest cabal file with 1147, so it is committed at 1148.

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.