On Tue, Feb 15, 2011 at 2:03 PM, Henning Thielemann <
[email protected]> wrote:

>
> On Sun, 13 Feb 2011, Hudak, Paul wrote:
>
>  First, my group has designed a new computer music library that I call
>> Euterpea (named after Euterpe, the Greek muse of music).  Euterpea has all
>> of the original functionality of Haskore, plus an arrow-based signal
>> processing language for doing audio processing and sound synthesis.  It
>> also
>> has a GUI for creating sliders, pushbuttons, and so on.  Instructions for
>> downloading Euterpea can be found here:
>>
>
> You also told earlier that you have pure Haskell audio processing code. But
> that is not part of CCA (Commutative Causal Arrows) or Euterpea? (Btw. I did
> not understand why CCA needs both a preprocessor and Template Haskell, I
> thought that one of it should be enough.)


I think I can answer this, from my perspective as a user of CCA.  The
preprocessor converts arrow-notation into standard Haskell syntax, and
Template Haskell does the actual normalization process.  I suspect that both
steps could be combined into a single preprocessor, however that wouldn't be
as user-friendly.  It's sometimes useful to see the output of the syntax
conversion, it's definitely instructive, and I think it also makes arrow
code more amenable to inclusion in libraries.

Unfortunately it seems that the normalization step must happen at compile
time.  Several people (myself, and others independently) have implemented
run-time normalization via GADT's, but performance has been abysmal.  I
think that the normalized form needs to be visible to the Haskell compiler
in order to actually generate optimal code.


>  Also, here is a link to some compositions, mostly by my grad student Donya
>> Quick, all done entirely in Euterpea:
>>
>> http://haskell.cs.yale.edu/?page_id=279
>>
>
> I very like the examples and I am very curious about the Haskell sources
> that produce those results! Are there samples contained, that are not
> generated in Haskell or is there some arrangement that was not done in
> Haskell?
>

I would also be interested in the Haskell sources, if they're available.

Best,
John
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to