Monday, March 31, 2008

Bala

Copperbox revision 119.

More work on Chords - again this work is partial so is currently comment out. However it revealed another problem with intervals - I couldn't count up from one pitch to another with an arithmetic distance. So I've added a new function, to do this:

arithmeticStep :: Pitch -> Int -> Pitch

This has shown up a problem with the Pitch instance of`addSemi` whereby the pitch spelling goes wrong. I haven't correct this at the moment as I'm not sure if my obvious fix is correct (the obvious fix is to keep the pitch letter the same and simply alter the accidental).

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.