Various Small Fires and Code

Tuesday, December 16, 2014


Copperbox revision 3272.

I've deleted the modules Base.Impulse and Base.Behavior - they seem too "electro-acoustic" to be generally useful for Payasan (which aims for "song" generation and use with LMMS or similar). Plus I've added a Metronome module.

Monday, December 15, 2014


Copperbox revision 3271.

I've simplified the handling of pitch to two representations: a user level octave + scale degree representation and a low level MIDI note number one. I'm not going to attempt handling microtones in MIDI (technically possible with ingenious use of pitch bend) so I don't need anything more complex.

Sunday, December 14, 2014


Copperbox revision 3270.

I've ported all the useful code from Majalan to Payasan, and Payasan can now generate MIDI files from scores.

As MIDI is simpler than Csound (no chance of microtonality, no electro-acoustic instruments - i.e. processors) there is quite a lot of potential to simplify and improve the imported code.

Thursday, December 11, 2014


Copperbox revision 3269.

I've started a new project Payasan which will be a score language based on Majalan but targeting MIDI rather than Csound sco files. This first commit is very initial work.

Monday, November 17, 2014


Copperbox revision 3268.

I've done some work improving the code, but inlining is still wrong. My feeling is that forms, and references to bindings in forms, need a change of syntax.

Sunday, November 16, 2014


Copperbox revision 3267.

All bits of the compiler are now in place, although some bits don't work. Particularly inlining references to form expressions does not work.

Saturday, November 15, 2014


Copperbox revision 3266.

I've put Main of the compiler in place, though there is still quite a bit of code missing or stubbed out.

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.