scanhammer
Copies from one table to another with a gain control.
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.
Syntax
Initialization
isrc -- 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.
See also
More information on the Scanned Synthesis opcodes: Working with Scanned Synthesis, written by Steven Yi, and some tutorials by Richard Boulanger.
Credits
Author: Matt Gilliard
April 2002
New in version 4.20