Monday, May 27, 2013

Something new... Flea Circus

Copperbox revision 2979.

I've started something new (the wheels have rather fallen off my sound / music DSLs) - a platform game in Lua using Love and Zoetrope.

The game is being written for Light Night Leeds, Yorkshire's premier one-night only annual art festival. This year's Light Night theme is circus, hence the subject of my game. Light Night works by submission of interest, so I can make a proposal before I actually write the game. This is a necessity for me as I don't want to do all the work on a game only to have it rejected. Of course, if my submission doesn't make the grade I'll stop work on the game and go back to working on Majalan / Orca.

I do hope I get selected though - it will be fun to learn Lua properly and pressure makes pearls so working to an external deadline will be good discipline. As a game is quite a big project, it should make me get my code mojo working again - I've been very slack about committing to Copperbox this year, time for a change.





Wednesday, May 8, 2013

majalan

Copperbox revision 2978.

ImpulseMap - added more wrappers to functions in the underlying Data.Map.

This is a flagrant attempt to improve my rate of commits per month as I can do this kind of work without thinking about it (I find it difficult to do real design work after doing the day job). But, even autopilot work is better than no work.

Tuesday, May 7, 2013

majalan

Copperbox revision 2977.

Some work on ImpulseMap. The most salient part is that it now has "correct" stretch and reverse implementations. Having correct stretch and reverse should help me work out how the corresponding operations work for ImpulseEventList which is "modular" with respect to start point (ImpulseMap is always fixed - onset times represent actual, fixed times).

Monday, May 6, 2013

majalan

Copperbox revision 2976.

I've put ImpulseMap into its own module. An ImpulseMap - a finite map with onset time as the key - seems like a core data structure for composition, so it merits its own module.

Sunday, May 5, 2013

om-shell

Copperbox revision 2975.

I've updated OM-Shell to use Orca rather than Ochre. The changes were rather small as the monadic "languages" are essentially the same.

orca

Copperbox revision 2974.

I've added wrappers for Csound functions like abs.

orca

Copperbox revision 2973.

Work to get orchestra definitions to print properly when compiled. Note compilation is a misnomer for Orca as there are no optimization passes - the original syntax tree is simply pretty printed as Csound.

Ochre had genuine optimization passes to remove redundant variables and declarations but the utility of these transformations didn't match the complexity cost of their implementation.

Thursday, May 2, 2013

orca

Copperbox revision 2972.

I've now moved enough code from Ochre to define an example FM instrument.

Wednesday, May 1, 2013

orca

Copperbox revision 2971.

I've added the signal cast operations from Ochre. Although casting is somewhat untypical (ahem) in Haskell, the casting operators were one of the better features of the monadic language in Ochre. Without them the code was simply too verbose.

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.