21 April 2007

rev~

rev~

This block implements signal reverse: a stereo signal enters the block and one can choose to reverse each channel or both by sending a 1 for reverse and a zero for normal.

version

v1.0: built 14/04/2007 with Pd v0.40-2 [pd][pdf]

interface

Input1 : the left channel audio signal input
Input2 : the left channel control input; 0 is normal, 1 is reverse signal
Input3 : the right channel control input; 0 is normal, 1 is reverse signal
Input4 : the right channel audio signal input

Output1: the left channel audio signal, normal or reversed
Output2: the right channel audio signal, normal or reversed

implementation

To reverse a signal a multiplication with -1 is done. A moses block bangs the right message for the multiplication by routing the control input. This message changes the factor of the multiplication.




No comments: