Monday, January 28, 2008

Bala

Copperbox revision 88.

Small update to pitch class and pitch conversion modules.

The pitch conversion functions now work on values wrapped in newtypes. The pitch class module is still pretty much a placeholder waiting for some useful functionality.

Sunday, January 27, 2008

Bala

Copperbox revision 87.

Another update to the MIDI file reader. It now uses an ErrorT-WriterT-Get monad - I was seeing some strange parse errors so logging became essential.

Unfortunately, at least on Windows XP, the reader won't parse files longer than 200 or so bytes. Something is getting confused and end-of-file is signalled too early.

Thursday, January 24, 2008

Bala

Copperbox revision 86.

Big improvement to the MIDI file reader. It now uses the ErrorT monad transformer rather than the Either datatype and some home-spun combinators. Also the use of the Data.Applicative combinators has been improved.

Wednesday, January 16, 2008

Bala

Copperbox revision 85.

I've updated the datatype names in Format.ABC - they are now more `Haskell-like`.

Tuesday, January 15, 2008

Bala

Copperbox revision 84

I've changed the ABC format parser back to use Parsec rather than ReadP. Using ReadP was useful for making me think about character level parsers, but some things are difficult with ReadP (notably error reporting and getting the longest match when munch1 isn't appropriate).

While there is still quite a lot to do to this module to get it into shape, it's pleasing that swapping back to Parsec was only about 20 minutes work.

Sunday, January 13, 2008

Bala

Copperbox revisions 82 & 83.

Revision 82 - Bala is now moved to the top level in the repository.

Revision 83 - Updates to the module paths in the Bala files. They are no longer under a `Sound` top level path. Added datatypes for general MIDI instruments.

DiffKit

Copperbox revisions 80 & 81.

I've renamed the hsdiff library to DiffKit (revision 80) and added some currently incomplete handling for context and normal format diffs (revision 81).

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.