Hi
I'm sure I'm being really thick here. I am trying to make a small modification to the k-rate unipolar to bipolar converter. I'm using a single pot to send +ve and -ve CV to a filter and wanted a "dead zone" in the middle where nothing gets sent.
I thought this would work:
knob = (inlet_i-(1<<26))<<1;
(knob<3 && knob>-3) ? outlet_o=0 : outlet_o=knob;
knob is declared as a float. The first line is taken directly from the unipolar to bipolar object.
I get exactly the same behaviour as the original object.... no dead zone
Any help much appreciated!
Paul