FrameLib icon indicating copy to clipboard operation
FrameLib copied to clipboard

request an fl.phasewrap~ object

Open steadykammer opened this issue 3 years ago • 1 comments
trafficstars

I think making sub patchers like this is disappointing...

Screenshot 2022-11-16 at 13 46 41

...and I request there just be a new fl.phasewrap~ object.

steadykammer avatar Nov 16 '22 12:11 steadykammer

I'd suggest a more efficient way (that doesn't require a new very specialised object) is:

[fl.expr~ wrap(in1, -pi, pi)]

This is probably near enough as efficient as building a specialist object as the constants are pre-calculated. So I don't see a case for bloating the object set here.

AlexHarker avatar Nov 18 '22 12:11 AlexHarker