Remork i was under the impression that the default was 'bypass = true'.
i should think that it therefore starts in bypass?
While it is true that make_klingon(...)
will create a Klingon Tone initialized to bypass state, the specific sketch referenced sets it to active state when you start the sketch.
See render.cpp
, in function setup(...)
//Bypass is the least intuitive function:
// If second argument is true, it forces bypass state.
// If second argument is false, it toggles bypass state.
// The second call below is all that is needed after make_klingon(), since the constructor function
// sets bypass state to true. A call to kot_set_bypass(kot, false) would then toggle to active-state
// since it is already initialized to bypass state (true).
// However for clarity in the example it is explicitly set to true, then toggled to demonstrate the normal sequence when
// the current bypass state is unknown.
kot_set_bypass(kot, true);
kot_set_bypass(kot, false);
Notice I fixed the comment here, but haven't pushed a fix to the comment in the code, so you will see a discrepancy if you read this section of the code before I get around to fixing it.