import...

Tobias Kunze t@ulysses.Stanford.EDU
Sun, 12 Jan 1997 18:05:52 -0800


--
--PART-BOUNDARY=.19701121805.ZM27393.stanford.edu
Content-Type: text/plain; charset=us-ascii


> Why can't I import csound .sco files?

"i1" does not exist as a class and was "only" the value of another
class' "ins" slot at score output time, lets say a class named
"my-csound-note".  It is important to note that there is NO link
backwards from the "i1" statement as it occurs in the score file
to the actual class which created it.  A subclass of csound-note
can be used to create any number of I-statements and, conversely,
an I-statement starting with "i1" could have been generated by any
csound-note subclass.

Probably the "cleanest" solution to the problem is to define "i1"
(and all other "iX" statements that have been generated by
"my-csound-note") as a subclass of "my-csound-note":

(defobject i1 (my-csound-note) ())


The attached file gives an example.


--PART-BOUNDARY=.19701121805.ZM27393.stanford.edu