scanhammerSignal Generators:Scanned Synthesisscanhammerscanhammer
Copies from one table to another with a gain control.
Description
This is is a variant of tablecopy, copying from one table to another, starting at ipos, and with a gain control. The number of points copied is determined by the length of the source. Other points are not changed. This opcode can be used to hit a string in the scanned synthesis code.
Syntaxscanhammer isrc, idst, ipos, imultInitializationisrc -- source function table.
idst -- destination function table.
ipos -- starting position (in points).
imult -- gain multiplier. A value of 0 will leave values unchanged.
Examples
Here is an example of the scanhammer opcode. It uses the file scanhammer.csd.
Example of the scanhammer opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoScanned Synthesis More information on the Scanned Synthesis opcodes: Working with Scanned Synthesis, written by Steven Yi, and some tutorials by Richard Boulanger.CreditsAuthor: Matt GilliardApril 2002New in version 4.20