On Saturday 06 May 2006 19:07, David Akbari wrote: > The way I see it, I would hate to spin my wheels making something > musical in a UDO with 64 outargs that will not compile with future > versions of canonical Csound. > > I sincerely hope that if the number of outargs will not increase from > the present limit of 23, that we can look forward to a better solution > which will lend itself to a flexible expandability of UDOs without a > significant increase in the time required to allocate new notes in > instruments containing UDOs with > 23 outargs. Of course, in a future > version increment of the language as this is a problem that will > require a bit of thought to write code that will replace the current > static definitions and is non trivial. You can already use the stack opcodes for virtually unlimited number of arguments (more than 64 if needed), including strings, and not only in user defined opcodes but also subinstruments. By the way, the current limit is actually 24, not 23. opcode foo, 0, 0 k91, k92, k93, k94, k95, k96, k97, k98, k99, k100 pop k81, k82, k83, k84, k85, k86, k87, k88, k89, k90 pop k71, k72, k73, k74, k75, k76, k77, k78, k79, k80 pop k61, k62, k63, k64, k65, k66, k67, k68, k69, k70 pop k51, k52, k53, k54, k55, k56, k57, k58, k59, k60 pop k41, k42, k43, k44, k45, k46, k47, k48, k49, k50 pop k31, k32, k33, k34, k35, k36, k37, k38, k39, k40 pop k21, k22, k23, k24, k25, k26, k27, k28, k29, k30 pop k11, k12, k13, k14, k15, k16, k17, k18, k19, k20 pop k01, k02, k03, k04, k05, k06, k07, k08, k09, k10 pop ... endop instr 1 push k01, k02, k03, k04, k05, k06, k07, k08, k09, k10 ... push k91, k92, k93, k94, k95, k96, k97, k98, k99, k100 foo ... endin ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net