On Saturday 13 May 2006 10:52, Rory Walsh wrote: > would like to use to set up my instrument, for example set the sampling > rate. Setting the sample rate, or the other reserved symbols that are normally set in the orchestra header (kr, ksmps, nchnls, and 0dbfs), to a non-constant value is trickier because those settings are already assumed to be known by the time any orchestra code is executed (for example, memory for instruments and the global variables is allocated based on the value of ksmps because it determines the amount of space required by an a-rate variable). Therefore, sr etc. are parsed and set in a special way (not by executing the = opcode as usual) before running the orchestra header, and are required to be constants. ------------------------------------------------------- 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