[PD] zexy/wrap for audio

Alexandre Torres Porres porres at gmail.com
Sat May 16 04:52:28 CEST 2015


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 at 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 at 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 at 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 at lists.iem.at mailing list
>>>> UNSUBSCRIBE and account-management ->
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>> _______________________________________________
>>> Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150515/4e2f2d13/attachment.html>


More information about the Pd-list mailing list