KINSPIRATIONSoftware for the K2700Waitlist
KOACH · FUNs · Level 1 · FUN Essentials · Lesson 5 of 7

Sample B on A

sample and hold= when a rises above 0.5, the output takes b's value and keeps it until a's next rise

Sample and hold: each time a turns TRUE (rises above +0.5), b's value at that moment is caught and held until the next time.

SEE IT MOVE

SCOPE · LAST 2 S
THE VALUES IT HELD
a0.00
b0.00
OUTPUT0.00

Computed in your browser with KINSPIRATION's FUN engine, step by step: this FUN keeps a state, so its output depends on what came before.

WHAT TO KNOW

INPUTS

a: the clock or event (a square LFO, a tempo clock, Note St, ON); b: the value to catch.

OUTPUT RANGE

b's range (0 until the first sample)

USE IT FOR

Classic sample-and-hold: a = a square LFO or a clock such as A Clk2, b = a fast LFO or a random source; freezing a value at note start (a = Note St or ON): the factory's Note St and SoftPd (298 slots) keep each note's soft-pedal state for its whole life, ON and RandV1 (217) a random value per note.

WATCH OUT

It catches b only as a rises above 0.5: while a stays high the output keeps that first value, and a must fall and rise again to catch a new one. ON as a counts as one rise, at the start of the note.

IN THE FACTORY PROGRAMS

In 701 FUN slots of the factory programs: FUN1 451, FUN2 111, FUN3 98, FUN4 24, GFUN4 9, GFUN2 8. GFUN2 and GFUN4 are the program's global FUNs. 4 of these slots have both inputs OFF, unused slots that keep this equation: its real uses are 697.

MOST USED INPUTS (a, b)

Note St, SoftPd298
ON, RandV1217
Note St, RandV180
LFO1, RandV118
Note St, MIDI1213
RandV1, ON12
Note St, MIDI2912
Atk State, RandV18

WHERE THE OUTPUT GOES

AMP src1139
LFO1 rate control68
AMP src251
FUN3 b47
2POLE LOWPASS LP Frq src2 depth control34
PITCH src233
2POLE LOWPASS LP Frq src129
FUN3 a22

FIND THEM ON YOUR K2700

704 Ensemble WWindslayer 1 · FUN3 · a Note St, b RandV1
705 BassClar/Clar/Fllayer 1 · FUN3 · a Note St, b RandV1
709 AcidJazzFlutelayer 1 · FUN1 · a ON, b RandV1
732 BClar/Clar/Flutelayer 1 · FUN3 · a Note St, b RandV1
739 Sax,Horns,MuteTrplayer 1 · FUN3 · a Note St, b RandV1
946 Modern Blockerylayer 1 · FUN3 · a Note St, b SoftPd

HOW TO ON YOUR K2700 · 842 Kinda Krunchy

Kinda Krunchy uses Sample B on A on its layer 7: see it, then where it goes.

  1. In Program mode choose 842 Kinda Krunchy (KEYPAD, 842, ENTER).

    Program mode with 842 Kinda Krunchy
  2. Press EDIT, go to layer 7 with CHANNEL/LAYER ▲, then MORE and LFO+. The FUN1 row: Input a RandV1, Input b ON, Function Sample B on A.

    The LFO+ page of 842 Kinda Krunchy, layer 7, the cursor on Function (Sample B on A)
  3. Where it goes: MORE, DSP MOD. On the LP Frq row Source 1 is FUN1, with a Depth of 3300 ct.

    The DSP MOD page of 842 Kinda Krunchy, layer 7, the cursor on Source 1 (FUN1)
  4. Play the same key several times: the LP Frq row follows FUN1.

  5. Press EXIT and answer NO to leave the factory program as it was, or SAVE to keep your version on a USER ID.