Friday, September 4, 2009

Mullein

Copperbox revision 786.

I've changed tie status to be a element of the Note and Chord constructors in the Glyph type, rather than have it as a separate constructor. This allows bracketing (beam grouping and bar splitting) to be oblivious of ties. Previously during bar splitting, ties were enqueue at the front of a new bar rather than at the end of an old bar.

Thursday, September 3, 2009

Bala2

Copperbox revision 785.

I've reworked rhythm patterns - though the code is better, its not useful - it was easier to ignore the rhythm pattern in the example!

What I want to do is distribute pitch material over a rhythm with some fmap like device. At the moment I haven't discovered what a rhythm is (or a least how to usefully and succinctly define it).

Wednesday, September 2, 2009

Bala2

Copperbox revision 784.

I've added functions to generate scales and modes from a root pitch and some complementary functions to generate triad sets for major and minor scales.

Bala2

Copperbox revision 783.

Work on the chord building using the grammar presented in Francois Pachet:
An Object-Oriented Representation of Pitch-Classes, Intervals, Scales and Chords: The basic MusES.

I'm a bit unhappy with my implementation as it seems ambiguous in a couple of cases, I'll have to think about this code again and it might change significantly.

Tuesday, September 1, 2009

Bala2

Copperbox revision 782.

Initial work on chord and scale modules - a chord is a root note plus a map of intervals, a scale is a root note plus a list of intervals.

Bala2

Copperbox revision 781.

I've reimplemented the affine pitch/interval operations. The new versions are simpler as I don't consider negative intervals. I allowed negative intervals before, as they indicated the direction and seemed to make more sense for the affine operations. Now I think it is arithmetically sound not to consider them.

Bala2

Copperbox revision 780.

I put the interval code into a separate module, and added arbitrary instances for Pitch and Interval.

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.