maxalloc Instrument Control:Realtime Performance Control maxalloc maxalloc Limits the number of allocations of an instrument. Description Limits the number of allocations of an instrument. Syntax maxalloc insnum, icount maxalloc Sinsname, icount Initialization insnum -- instrument number Sinsname -- instrument name icount -- number of instrument allocations Performance maxalloc limits the number of simultaneous instances (notes) of an instrument. Any score events after the maximum has been reached, are ignored. All instances of maxalloc must be defined in the header section, not in the instrument body. Examples Here is an example of the maxalloc opcode. It uses the file maxalloc.csd. Example of the maxalloc opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. Its output should contain messages like these: WARNING: cannot allocate last note because it exceeds instr maxalloc See also Real-time Performance Control Credits Author: &namegabriel; Italy July 1999 New in Csound version 3.57