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.
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
Wednesday, January 16, 2008
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.
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
Subscribe to:
Posts (Atom)
Blog Archive
About Me
- Stephen Tetley
- 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.