Thanks Michael for your reply! I think I'm most curious to see how to get the CSOUND * exposed to the opcode so that the opcode can grab ftables, get sr, ksmps, etc. I think I'll try to spend some time with this in a few weeks from now when time opens up. steven On 6/14/06, Michael Gogins wrote: > This is feasible. You could in fact use SWIG to generate wrappers for the existing C++ OpcodeBase.hpp. > > Regards, > Mike > > -----Original Message----- > >From: Steven Yi > >Sent: Jun 14, 2006 1:39 PM > >To: Developer discussions > >Subject: [Cs-dev] Opcodes in Other Languages > > > >Hi All, > > > >I had a thought the other day to make an opcode lib that is somewhat > >of a pseudo opcode lib that would embed a java interpreter and load > >java class files that would inherit from an Opcode base class so that > >one could write Opcodes in Java. Does this sound feasible? I was > >thinking a syntax like > > > >jclasspath "classpath:anotherclasspath" > >outargs... jopcode "javaClassName", inargs... > > > >If this is feasible, it'd be possible to do similar things for other > >languages I'd imagine, such as writing opcodes in LISP (so for example > >one could have an opcode base class and derive from it to wrap CLM > >code like the Scott Van Duyne Piano). > > > >I think that the active CSOUND * would also have to be preembedded and > >accessible from opcodes in other languages as well for this to be very > >useful. > > > >This all seems architecturally similar to the python opcodes but > >without evaluation abilities of script code (at least for java), so am > >curious to know what will be possible. > > > >Thanks! > >steven > > > > > >_______________________________________________ > >Csound-devel mailing list > >Csound-devel@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net