FUNS
The FUN Equations
16-12
warp4(a, b)
This equation, the Period Inverter,
Ô
is based on repeated evaluations of the value of
input b
.
The K2vx compares each new value of
input b
with the value from the previous evaluation. If
the absolute value (always a positive number) of the difference between the two is greater than
the value of
input a
, the current value of
input b
is multiplied by -1.
The primary feature of this equation is that it will take a discontinuous signal and make it
continuous. If, for example, FUN1 uses an equation like a(y + b), its output can wrap around
from +1 to -1, or vice versa. You could set FUN1 as
input b
for FUN2, set
input a
of FUN2 to
ON (+1), and FUN2 would remove the discontinuity from the signal. The Þrst graph below
shows a hypothetical output signal with such a discontinuity, and the second shows how FUN2
in this case would make the signal continuous without drastically changing its shape.
If, on the other hand you
want
the signal to become discontinuous, you can use the warp4(a, b)
equation in a single FUN, with
input a
set to OFF (0), and the signal would be multiplied by -1
with each evaluation of
input b
.
warp8(a, b)
This relatively simple equation is
a
x
b
x 8. If the result is beyond the range of -1 to +1, it wraps
around from +1 to -1 (or vice versa), until itÕs within the allowable range. The table below
shows some examples of how this works.
a
x
b
x 8 =
Þnal output value
-7.4
.4
-4.2
-.2
-1.8
.8
-.6
-.6
.4
.4
1.2
-.2
2.6
.6
5.4
-.4
a AND b
The values of
inputs a
and
b
are interpreted as logical quantitiesÑtheyÕre considered TRUE if
theyÕre greater than +.5, and FALSE otherwise. This turns the FUN into an on/off switch. In the
discontinuous
input b signal
same input b signal
with input a = 1
+1
1
-1
-1
input
values
output
values
+1
1
-1
-1
input
values
output
values
Summary of Contents for K2500RS
Page 12: ...Table of Contents TOC 12...
Page 16: ...Introduction How to use this manual 1 4...
Page 32: ...User Interface Basics The Panel Play Feature K2vxR 3 8...
Page 106: ...Effects Mode and the Effects Editor Configurations and Parameters 9 24...
Page 186: ...Song Mode Recording Multi timbral Sequences via MIDI 12 52...
Page 304: ...DSP Functions Hard Sync Functions 14 52...
Page 394: ...Programs Setups and Keymaps K2500 ROM Keymaps 21 12...
Page 402: ...LFOs LFO Shapes 23 4...
Page 406: ...Note Numbers and Intonation Tables List and Description of Intonation Tables 24 4...
Page 434: ...DSP Algorithms 26 14...
Page 450: ...MIDI and SCSI Sample Dumps SMDI Sample Transfers 29 8...
Page 464: ...Glossary 31 6...
Page 490: ...K2vx Program Farm VOX K25 Appendix A 22...
Page 494: ...K2vx Compatibility Converting programs from the K2vx to K2000 Appendix B 4...