bpf Signal Generators:Linear and Exponential Generators bpf bpf Break point function with linear interpolation Description Plugin opcode in emugens. Break-point function with linear interpolation. Syntax ky bpf kx, kx1, ky1, kx2, ..., kxn, kyn iy bpf ix, ix1, iy1, ix2, ..., ixn, iyn kys[] bpf kxs[], kx1, ky1, kx2, ..., kxn, kyn iys[] bpf ixs[], ix1, iy1, ix2, ..., ixn, iyn ky bpf kx, kxs[], kys[] iy bpf ix, ixs[], iys[] ay bpf ax, kx1, ky1, kx2, ..., kxn, kyn ay bpf ax, kxs[], kys[] ky, kw bpf kx, kxs[], kys[], kws[] Performance kx -- Input value kxn, kyn -- Defines a breakpoint. Can be changed at krate, but all kxs must be sorted The points (kx1, ky1), (kx2, ky2), etc, define a linearly interpolated function. This function is evaluated at point kx. This function extends to both -inf and +inf, so if kx < kx1 then ky = ky1 and the same holds true the other end. These are equivalent: ky bpf kx, 0, 0, 0.5, 10, 1.02, 200 itab ftgenonce 0, 0, -27, 0, 0, 50, 10, 102, 200 ky = tablei(limit(kx, 0, 1.02)*100, itab) x values need to be sorted. Both x and y values can change but x values must stay sorted. Examples Here is an example of the bpf opcode. It uses the file bpf.csd. Example of the bpf opcode. See also Linear and Exponential Generators Credits By: &nameeduardo; 2017