Re: [PD] zexy/wrap for audio

2015-05-16 Thread i go bananas
this seems to work

On Sat, May 16, 2015 at 10:07 PM, Alexandre Torres Porres 
wrote:

> hey, there is one object that does it after all, and it's a max clone from
> cyclone. Meet: [pong~], it wraps and also folds (which was something else I
> wanted as well, haha).
>
> cheers
>
> 2015-05-16 9:49 GMT-03:00 Alexandre Torres Porres :
>
> Hi, this doesn't seem to be working actually, I tried the range 2-5 and it
>> didn't happen. But I've already made me a workaround with [expr~] anyway,
>> and I also tried another option similar to this for the range of -1 and 1.
>> I bet there is a simple workaround this way too to make it generic to any
>> range, but I wouldn't say it is "trivial" and "simple", it can make the
>> quest for an object like this sound silly or banal, but I still think (even
>> by having found a workaround mysef) that it'd be just really simpler if
>> there was an object for it. So I'd like to make the suggestion for one. It
>> could be an abstraction like this.
>>
>> thanks
>>
>> thanks.
>>
>> 2015-05-16 3:20 GMT-03:00 Cyrille Henry :
>>
>>
>>>
>>> Le 16/05/2015 00:24, Alexandre Torres Porres a écrit :
>>>
 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.

>>> diference is only very simple math.
>>>
>>> see attachment.
>>>
>>> cheers
>>> c
>>>
>>>
 cheers

 2015-05-15 18:31 GMT-03:00 Cyrille Henry >>> c...@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




 ___
 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
>>>
>>>
>>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


vanillaWrap.pd
Description: Binary data
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] zexy/wrap for audio

2015-05-16 Thread Alexandre Torres Porres
hey, there is one object that does it after all, and it's a max clone from
cyclone. Meet: [pong~], it wraps and also folds (which was something else I
wanted as well, haha).

cheers

2015-05-16 9:49 GMT-03:00 Alexandre Torres Porres :

> Hi, this doesn't seem to be working actually, I tried the range 2-5 and it
> didn't happen. But I've already made me a workaround with [expr~] anyway,
> and I also tried another option similar to this for the range of -1 and 1.
> I bet there is a simple workaround this way too to make it generic to any
> range, but I wouldn't say it is "trivial" and "simple", it can make the
> quest for an object like this sound silly or banal, but I still think (even
> by having found a workaround mysef) that it'd be just really simpler if
> there was an object for it. So I'd like to make the suggestion for one. It
> could be an abstraction like this.
>
> thanks
>
> thanks.
>
> 2015-05-16 3:20 GMT-03:00 Cyrille Henry :
>
>
>>
>> Le 16/05/2015 00:24, Alexandre Torres Porres a écrit :
>>
>>> 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.
>>>
>> diference is only very simple math.
>>
>> see attachment.
>>
>> cheers
>> c
>>
>>
>>> cheers
>>>
>>> 2015-05-15 18:31 GMT-03:00 Cyrille Henry >> c...@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
>>>
>>>
>>>
>>>
>>> ___
>>> 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
>>
>>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] zexy/wrap for audio

2015-05-16 Thread Alexandre Torres Porres
Hi, this doesn't seem to be working actually, I tried the range 2-5 and it
didn't happen. But I've already made me a workaround with [expr~] anyway,
and I also tried another option similar to this for the range of -1 and 1.
I bet there is a simple workaround this way too to make it generic to any
range, but I wouldn't say it is "trivial" and "simple", it can make the
quest for an object like this sound silly or banal, but I still think (even
by having found a workaround mysef) that it'd be just really simpler if
there was an object for it. So I'd like to make the suggestion for one. It
could be an abstraction like this.

thanks

thanks.

2015-05-16 3:20 GMT-03:00 Cyrille Henry :

>
>
> Le 16/05/2015 00:24, Alexandre Torres Porres a écrit :
>
>> 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.
>>
> diference is only very simple math.
>
> see attachment.
>
> cheers
> c
>
>
>> cheers
>>
>> 2015-05-15 18:31 GMT-03:00 Cyrille Henry > c...@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
>>
>>
>>
>>
>> ___
>> 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
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] zexy/wrap for audio

2015-05-15 Thread Cyrille Henry



Le 16/05/2015 00:24, Alexandre Torres Porres a écrit :

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.

diference is only very simple math.

see attachment.

cheers
c



cheers

2015-05-15 18:31 GMT-03:00 Cyrille Henry mailto:c...@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




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



generic_wrap~.pd
Description: application/puredata
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] zexy/wrap for audio

2015-05-15 Thread Alexandre Torres Porres
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 :

> 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 :
>
> 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 :
>>
>> 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 :
>>>
>>> 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

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


Re: [PD] zexy/wrap for audio

2015-05-15 Thread Alexandre Torres Porres
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 :

> 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 :
>
> 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 :
>>
>> 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
>>>
>>
>>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] zexy/wrap for audio

2015-05-15 Thread Alexandre Torres Porres
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 :

> 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 :
>
> 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
>>
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] zexy/wrap for audio

2015-05-15 Thread Alexandre Torres Porres
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 :

> 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
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] zexy/wrap for audio

2015-05-15 Thread Cyrille Henry

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


Re: [PD] zexy/wrap for audio

2015-05-15 Thread Fred Jan Kraan

cyclone/phasewrap~ ?

Fred Jan

On 2015-05-15 10:37 PM, Alexandre Torres Porres wrote:

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


[PD] zexy/wrap for audio

2015-05-15 Thread Alexandre Torres Porres
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