I am trying to recreate the cyclone custom kink module , which distorts the phase of the phasor
This is the implementation in reaktor primary
A comparitor compares the incoming phasor sig X ( range 0-1) against variable D .
When x > d , then green field algo , when X<D blue box algo .
The output of the comparator~ ( which is square wave ) should then open route the algo's to an audio rate selector ( just like reaktor °) , but this just isn't working .
The algo's are correct , could it be that the selector module is not selecting it's input at audio rate ?
Here's the patch
customkink.pd
Result ( in reaktor °)
-
creating custom kink~ , selector~ @ audio rate
-
selector~ documentation explains that the index signal should be:
- 0 to shut off all signals
- 1 to choose the second inlet (because the first inlet is the index)
- 2 to choose the third inlet, etc.
>~
outputs 0 if false and 1 if true.So the direct output of >~ does not match up to selector's expectation -- hence should not be expected to work, without some adjustment.
Therefore you will need to add 1 to the >~ result, before selector.
hjh
-
Awesome , it works prefectly now
I wonder since the selector~is a cyclone module , how would one achieve this with pure data vanilla ,iow build an audio rate selctor ? -
@gentleclockdivider [send~] and [receive~], just use use [receive]'s [set( message to select which [send~] it receives from. [throw~] and [catch~] will let you route a single source to multiple outputs. These have the nice side effect of often producing easier to read/neater patches than solutions like [selector~]
-
@oid Hmm, but you can't set the receive~/catch~ source at audio rate, right? Here's a way to implement a 2 channel audio rate demux in vanilla:
audio rate demux.pd
-
@jameslo said:
Hmm, but you can't set the receive~/catch~ source at audio rate, right?
I started out making a solution much like yours, I am not sure what happened,
-
@oid Well I was just about to hit "Submit" on a completely different reply when that thought suddenly occurred to me
-
[selector 2] can be replaced with 2 oppositely switched [spigot~]