[CM] Pest Question?

Torsten Anders Torsten.Anders@hfm.uni-weimar.de
Wed, 12 Jun 2002 22:35:28 +0200


--------------Boundary-00=_471MXNA68J11388U52YH
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: 

> > Is there any kind of timeline on a "plotter like thing running in Lin=
ux"=20
> > ?? Thanks,

Dear Ken,

For my own needs I wrote a small interface to gnuplot for that purpose. I=
ts=20
of course less good looking than the CM plotter, but it plots value lists=
 in=20
2D and 3D and supports various settings of gnuplot. And it is small enoug=
h=20
that you may easily extend it for your porpose...

The program is attached.

Kind regards,
Torsten

PS: BTW, I did some more stuff using CM for my music, e.g., an interface =
and=20
higher abstractions to the tao physical modelling sound synthesis program=
,=20
envelopes expressed as numeric functions plus a set of functions to gener=
ate,=20
combine and transform them etc. Any interest? Then I need to find some we=
b=20
space -- I still do not have a home page...

=20

If there is some interest I=20



--------------Boundary-00=_471MXNA68J11388U52YH
Content-Type: text/plain;
  charset="iso-8859-1";
  name="gnuplot.lisp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gnuplot.lisp"

Ozs7IFRoZSBmdW5jdGlvbiAncGxvdCcgaXMgYW4gaW50ZXJmYWNlIHRvIGdudXBsb3QuCjs7OyBW
ZXJ5IGxpdHRsZSBlcnJvciBjaGVja2luZy4uLgo7OzsgY29weXJpZ2h0IDIwMDIgYnkgVG9yc3Rl
biBBbmRlcnMKOzs7IGFuZGVyc0B1bmktd2VpbWFyLmRlCgojfCA7IHRlc3RzCgoocGxvdCAnKDAg
NSAzIDQpKQkJCTsgc2ltcGxlIHBsb3QgCihwbG90ICcoMSAyIDMgNCkgOnN0eWxlIDppbXB1bHNl
cykJOyBsaW5lIHN0eWxlIAoocGxvdCAnKDEgMiAzIDQpIDp4ICcoMC4xIDAuNSAyIDIuMSkpCTsg
eCBhbmQgeSBnaXZlbgoocGxvdCAnKDEgMiAzIDQpCQkJOyAzRCBwbG90CiAgICAgIDp4ICcoMC4x
IDA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