From: Frank Buss
Subject: Lisp polyphone
Date: 
Message-ID: <d3sljq$lfa$1@newsreader3.netcologne.de>
I've tried Common Lisp Music at http://ccrma.stanford.edu/software/clm/
on Linux (didn't work on Windows), see 

http://groups.google.de/groups?selm=d3q8ks%24313%241%40newsreader3.netcologne.de 

The problem with CLM is, that it needs a C-library and the instruments
can only use a subset of Lisp. But the concepts and algorithms are very
good. So I've started to translate it to Common Lisp and tested it with a
polyphone music generator. The program outputs .wav-format and calls the
soundrecorder for playback on Windows. Converted to MP3: 

http://www.frank-buss.de/tmp/amelie.mp3   (it's part of a soundtrack)

The source fits in 500 lines (213 without the soundtrack)

http://www.frank-buss.de/tmp/amelie.lisp.txt

-- 
Frank Bu�, ··@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de

From: Rainer Joswig
Subject: Re: Lisp polyphone
Date: 
Message-ID: <joswig-A54265.08123017042005@news-50.ams.giganews.com>
In article <············@newsreader3.netcologne.de>,
 Frank Buss <··@frank-buss.de> wrote:

> I've tried Common Lisp Music at http://ccrma.stanford.edu/software/clm/
> on Linux (didn't work on Windows), see 
> 
> http://groups.google.de/groups?selm=d3q8ks%24313%241%40newsreader3.netcologne.de 
> 
> The problem with CLM is, that it needs a C-library

a) I'm not sure if that's a problem

b) that's CLM 3 - if you look for CLM 2, you will find it slightly
different with the ability to run the sounds in Lisp...
See: ftp://ccrma-ftp.stanford.edu/pub/Lisp/


> and the instruments
> can only use a subset of Lisp. But the concepts and algorithms are very
> good. So I've started to translate it to Common Lisp and tested it with a
> polyphone music generator. The program outputs .wav-format and calls the
> soundrecorder for playback on Windows. Converted to MP3: 
> 
> http://www.frank-buss.de/tmp/amelie.mp3   (it's part of a soundtrack)
> 
> The source fits in 500 lines (213 without the soundtrack)
> 
> http://www.frank-buss.de/tmp/amelie.lisp.txt
From: Frank Buss
Subject: Re: Lisp polyphone
Date: 
Message-ID: <d3t8kv$n5r$1@newsreader3.netcologne.de>
Rainer Joswig <······@lisp.de> wrote:

>> The problem with CLM is, that it needs a C-library
> 
> a) I'm not sure if that's a problem

it was a problem at least for Lispworks on Windows, because I didn't run 
out-of-the box. Perhaps with setting the path to a C compiler and things 
like this. But the C library is not necessary, because the Lisp version is 
fast enough. Rendering the 29 seconds of the 3 channel music takes 1.2 
seconds on my PC. Perhaps it will be slower with complicater instruments 
than sine wave, but Lisp should be optimizable to be as fast as C.

> b) that's CLM 3 - if you look for CLM 2, you will find it slightly
> different with the ability to run the sounds in Lisp...
> See: ftp://ccrma-ftp.stanford.edu/pub/Lisp/

thanks. But my main reason for my implementation in Lisp was for learning 
some more Lisp and just for fun :-)

-- 
Frank Bu�, ··@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de
From: James Graves
Subject: Re: Lisp polyphone
Date: 
Message-ID: <d3ulvr$ifs$1@new7.xnet.com>
That's all very interesting.  I have been thinking for a while about a
'mix master' type program which would take snippits (melodies and such)
and mix them together in interesting ways.  Looks like this might be
just the ticket.

James Graves