[PD] earplug~

Gilberto Agostinho gilbertohasnofb at googlemail.com
Mon Apr 20 09:35:51 CEST 2015

Hello all,

I am trying to use [earplug~] for a sound installation of mine, but I 
ran into a problem that I can't think of how to solve. I am feeding the 
angle values to [earplug~] through a [line] to smooth them out, but when 
the angle changes from 359.9 to 0 there is an audible click (since line 
is actually ramping down the value from 359.9 to 0 going through all the 
other angles). How is the best way of solving this?

I am considering to fold the angle function so that effectively it only 
ranges from 90 and 270 degrees (180 is the centre for [earplug~]). By 
doing that, both 0 and 360 would become 180, thus avoiding the unwanted 
click, but that would mean that there is would be no distinction between 
sounds coming from the front and the back of the listener.

Do you guys have any better ideas on how to solve this?

Thanks a lot!

More information about the Pd-list mailing list