Tuesday, February 12, 2013

om-shell

Copperbox revision 2942.

I've updated the demos to work with the changes to Gens. Also I've fixed an error with the definition of GEN07 in both Ochre and Majalan.

Monday, February 11, 2013

majalan

Copperbox revision 2941.

I've updated the gens modules in Majalan so they follow their corresponding modules in Ochre. Also Majalan now directly depends on Ochre so it can use the strict pair.

Sunday, February 10, 2013

ochre

Copperbox revision 2940.

I've added some syntax sugar for binding top level orchestra variables - top level variables don't synthesize their name instead it has to be supplied as a string, this is clumsy but it generates better Csound code. I've implemented an idiom with my pair constructor that gives this a pleasant enough syntax.

I've also put the low level gen table wrappers in a module Language.GensRaw  - and started implementing some higher level wrappers.

ochre, om-shell

Copperbox revision 2939.

I've updated the FM demo in OM-Shell to use an orchestra ftgen table. Also I've added more table wrappers to Ochre.

The Ochre Gen modules now have a name clash with Majalan - because they use different symbolic representations for their DSLs the code cannot be shared.

Saturday, February 9, 2013

ochre

Copperbox revision 2938.

I've added the ability to define gentables in orchestras - Csound has had the ftgen opcode to do this for quite some time, but because it isn't covered in the Csound book I've overlooked it.

Wednesday, February 6, 2013

ochre, om-shell

Copperbox revision 2937.

I've changed the module organization in Ochre moving the strict pair from Language.Envelope (now deleted) to Language.Prim. The instruments that used the old envelope notation in OM-Shell have been updated to use the new list-and-strict-pair style.

Tuesday, February 5, 2013

ochre

Copperbox revision 2936.

I've implemented a new notation for envelopes that uses standard lists and novel strict pairs.


envelope1 :: IFloat -> GenKSig
envelope1 idur = expseg                    0.01 
                        [ 0.002        ::: 1.00
                        , idur - 0.002 ::: 0.01
                        ]

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.