Wednesday, October 30, 2013

majalan

Copperbox revision 3012.

I've added phrases with advance vectors rather than explicit onsets. Advance vectors are patterned after text in PostScript whereby the next drawing position of a character is advanced to by the width vector of the last one.

This has rather messed up the code - particularly, the Answer type wasn't as universal as I was imagining. I'll have to tidy the code up at the weekend when I've got enough time to properly concentrate on it.

Tuesday, October 29, 2013

majalan

Copperbox revision 3011.

I've finally hooked everything together so that Majalan2 generates Csound scores. In reality doing this wasn't much over and above what I had yesterday, but I was tired and didn't think to code it up.

Monday, October 28, 2013

majalan

Copperbox revision 3010.

I've changed the EventList in the Majalan2 branch to generate the new Tree type as its accumulator (rather than a list of I-statements).

Sunday, October 27, 2013

majalan

Copperbox revision 3009.

I've added an internal tree representation for note lists. This should allow sequential concatenation that displaces the onset of right hand lists only once (c.f a Hughes list avoiding ++). It also embeds affine-like transformations - scale, displace and reverse.


Tuesday, October 22, 2013

majalan

Copperbox revision 3008.

I've added an EventList to the experimental Majalan2 branch.

The example is now broken as it was constructing i-statement lists using a temporary (read invalid) API. I need to correct the example to use the Event and EventList types.

Wednesday, October 9, 2013

majalan

Copperbox revision 3007.

Initial work on the Event type. Most of the work is take straight from the original Majalan but I think I can improve the handling of Zak ports.

Tuesday, October 8, 2013

majalan

Copperbox revision 3006.

Work on Answers - the result type for Events / EventLists, etc.

Answer is a tuple of accumulated i-stmts, the timespan of the event or events and a polymorphic user answer. Sometimes timespan will be accessible like a state monad (e.g. EventList), other times it will be opaque like the "output state" of a writer monad (e.g Event).


Monday, October 7, 2013

majalan

Copperbox revision 3005.

I've coded up the basic functionality for printing note lists (now including a column headings comment).

The note list writer is due to be wrapped in some other monad - accumulating the time span (state), parametric on start time (reader)...

Sunday, October 6, 2013

majalan

Copperbox revision 3004.

I've started a new version of Majalan - currently in the directory majalan2 but I'll overwrite majalan when it is functional.

This version will produce independent scores - the previous version was expected to work with Orca, but I'll now to be working with hand-made orchestras (at least initially).


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.