oops, this one instead

[expr~ if($v1 + 1 < 0, 2 - fmod(abs($v1 + 1), 2), fmod($v1 + 1, 2)) - 1]

2015-05-15 23:52 GMT-03:00 Alexandre Torres Porres <porres@gmail.com>:
well, it seems there's none, so I'm using epxr~

this will wrap between -1 and 1, what I needed now.

[expr~ if($v1 + 1 < 0, 2 - fmod(abs($v1 + 1), 2), fmod($v1, 2)) - 1]

cheers

2015-05-15 19:34 GMT-03:00 Alexandre Torres Porres <porres@gmail.com>:

by the way, that'd be also like the [mod] object, but for floats and audio.

2015-05-15 19:24 GMT-03:00 Alexandre Torres Porres <porres@gmail.com>:

phasewrap~ wraps a signal between -pi and pi
wrap~ wraps between 0 and 1

so none of them behaves like zexy/wrap, which can wrap between any given range.

cheers

2015-05-15 18:31 GMT-03:00 Cyrille Henry <ch@chnry.net>:

wrap~ from vanilla
cheers
c



Le 15/05/2015 22:37, Alexandre Torres Porres a écrit :
howdy, looking for a zexy/wrap like object that works for audio, hints?
thanks


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list