Mostly csound / Re: [CM] new tar of cm-2.4.0

Larry Troxler
Mon, 02 Dec 2002 21:02:53 -0500

Rick, this is really great! Some of the csound-related modifications
were exactly those I was thinking that would help.

Here's my initial comments in no particular order, except that suspected
bugs are first:

o A typo I think in sco.lisp - the object-name method on f should
probably use "f~a" not "i~a" !

Ok that was the only bug - now some mostly positive comments:

o What does the :writers slot do in defobject? I notice this in the new

o I think having the "i" and "f" base classes are a good idea. As you
say, you aren't required to use them if you don't like them (since
they're so simple)

o I like that unlike the base classes store only the number and not the
"i" or "f" slot in the ins or num slot respectively. It makes for a lot
less external manipulation in my composition code to have only the
object-name method use the string.

o About the "i" and "f" classes. I wonder whether they might as well
include the duration slot for instruments and the size and gen slots for
functions. This is because as far as I'm aware (and the csound manual
seems to agree), that for "i" statements, the third parameter (p3) is
always duration; and for "f" statements, p3 is always the function table
size, and p4 is always the gen number. 

Well, that's it for now, with the caveat that I haven't yet actually
converted my composition yet. I just noticed that typo I mentioned while
scanning the source.


Larry Troxler