xyscale Signal Generators:Linear and Exponential Generators xyscale xyscale 2D linear interpolation Description Plugin opcode in emugens. 2D linear interpolation between 4 points at (0,0), (1,0), (0,1), (1,1) Syntax kout xyscale kx, ky, k00, k10, k01, k11 Performance kx, ky -- Coordinates to evaluate the interpolation. Value between 0-1, where: k00 -- Value of point at coord (x=0, y=0) k10 -- Value of point at coord (x=1, y=0) k01 -- Value of point at coord (x=0, y=1) k11 -- Value of point at coord (x=1, y=1) (0,1) (1,1) (0,0) (1,0) Given 4 values placed at the corners of a square, find the interpolated value at point (x, y), where x and y are defined between 0-1. Examples Here is an example of the xyscale opcode. It uses the file xyscale.csd. Example of the xyscale opcode. Here is another example of the xyscale opcode. It uses the file xyscale-FLTK.csd. Advanced example of the xyscale opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also Linear and Exponential Generators Credits By: &nameeduardo; 2017