endopOrchestra Syntax:Block Statementsendopendop
Marks the end of an user-defined opcode block.
Description
Marks the end of an user-defined opcode block.
SyntaxendopPerformance
The syntax of a user-defined opcode block is as follows:
opcodename, outtypes, intypes
xinarg1 [, xinarg2] [, xinarg3] ... [xinargN] xin
[setksmps iksmps]
... the rest of the instrument's code.
xout xoutarg1 [, xoutarg2] [, xoutarg3] ... [xoutargN]
endop
The new opcode can then be used with the usual syntax:
[xinarg1] [, xinarg2] ... [xinargN] name [xoutarg1] [, xoutarg2] ... [xoutargN] [, iksmps]Examples
Here is an example of the endop opcode. It uses the file endop.csd.
Example of the endop opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsoUser Defined Opcodes (UDO) More information on this opcode: http://www.csoundjournal.com/2006summer/controlFlow_part2.html , written by Steven Yi The user-defined opcode page: http://www.csounds.com/udo/ , maintained by Steven Yi CreditsAuthor: Istvan Varga, 2002; based on code by Matt J. IngallsNew in version 4.22