Various Small Fires and Code

Saturday, August 16, 2014

majalan

Copperbox revision 3246.

Minor work on Chain rephrasing the troublesome bar parsers. However, Chain (vis parsing) now looks like the wrong abstraction - it just doesn't seem to be a musical abstraction. A rethink is needed.

As a side note, I've missed the essence of TikZ's chains in both Wumpus and currently Majalan. Chains aren't about consumption - stepping through a trail or parsing a beta pattern. They are a way of making a trial not following one.

Friday, August 15, 2014

majalan

Copperbox revision 3245.

I've added memorable versions of event and eventFw. Plus more work on Chain.

majalan

Copperbox revision 3244.

I've been reworking Chain so it is based on parsing rather than stepping. The current version is very prototypical - there are enough differences to classic parser combinators (e.g. Parsec) that I can't crib Parsec's API wholesale.

Wednesday, August 13, 2014

majalan

Copperbox revision 3243.

I've moved the Bar and GenDivision datatypes from Base.BeatPattern into Base.Internal.Beat.

This is prelude to reworking Chain to consume bars rather than impulses. Impulses don't seem to have enough information to step through as a Chain - we can't do anything musically useful with the impulses other than transpose them. Stepping through bars appears to have more potential as we have an idea of the metrical structure.

majalan

Copperbox revision 3242.

Some tidying up and the first commit of (what should eventually be) a more substantial example.

At the moment the example is particularly monotonous, but it is a bit thrilling to hear it rattle through at such a brisk tempo.

Tuesday, August 12, 2014

majalan

Copperbox revision 3241.

Work on the Arpa (arpeggiator) module's API - hopefully improving it. In fact, the changes are quite minor but they seemed to take a lot of time to work out.

majalan

Copperbox revision 3240.

I've changed BeatPattern to use a simpler notion of division. Division now divides the whole bar, rather than subdivides the beats given by the time signature.

Blog Archive

About Me

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.