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 <[email protected]>:

> 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 <[email protected]>:
>
> 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 <[email protected]>:
>>
>> 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
>>>>
>>>>
>>>> _______________________________________________
>>>> [email protected] mailing list
>>>> UNSUBSCRIBE and account-management ->
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>> _______________________________________________
>>> [email protected] mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>
>>
>
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to