Re: [PD] my phase vocoder example implemented in polar form

2012-01-10 Thread Alexandre Torres Porres
although it says here http://crca.ucsd.edu/~syadegar/expr.html it's been
added to version 4... so I still suspect I studied previous versions and
missed it.

2012/1/10 Mathieu Bouchard 

> Le 2012-01-10 à 16:27:00, Alexandre Torres Porres a écrit :
>
>
>  by the way, that's a new expr function, right? when did it appear?cheers
>>
>
> I don't know. All the new expr functions are quite old...
>
>
>  __**__**
> __
> | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] my phase vocoder example implemented in polar form

2012-01-10 Thread Mathieu Bouchard

Le 2012-01-10 à 16:27:00, Alexandre Torres Porres a écrit :


by the way, that's a new expr function, right? when did it appear?cheers


I don't know. All the new expr functions are quite old...

 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] my phase vocoder example implemented in polar form

2012-01-10 Thread Alexandre Torres Porres
by the way, that's a new expr function, right? when did it appear?
cheers

2012/1/10 Alexandre Torres Porres 

> I had tried it a different way... well, I didn't know there was this
> function in expr, COOL!
> thanks
>
>
> 2012/1/10 Mathieu Bouchard 
>
>> Le 2012-01-10 à 14:26:00, Alexandre Torres Porres a écrit :
>>
>>> 2012/1/10 Mathieu Bouchard 
>>>
 Did you look at fmod() ? it's a function with two args in [expr].

>>> I dont have that here, just "%", but it doesn't work as it rounds thing
>>> up.
>>>
>>
>> What I mean is something like [expr fmod($f1,$f2)].
>>
>> That's what is meant by « a function in [expr] ».
>>
>>
>>  __**__**
>> __
>> | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC
>>
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] my phase vocoder example implemented in polar form

2012-01-10 Thread Alexandre Torres Porres
I had tried it a different way... well, I didn't know there was this
function in expr, COOL!
thanks

2012/1/10 Mathieu Bouchard 

> Le 2012-01-10 à 14:26:00, Alexandre Torres Porres a écrit :
>
>> 2012/1/10 Mathieu Bouchard 
>>
>>> Did you look at fmod() ? it's a function with two args in [expr].
>>>
>> I dont have that here, just "%", but it doesn't work as it rounds thing
>> up.
>>
>
> What I mean is something like [expr fmod($f1,$f2)].
>
> That's what is meant by « a function in [expr] ».
>
>
>  __**__**
> __
> | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] my phase vocoder example implemented in polar form

2012-01-10 Thread Mathieu Bouchard

Le 2012-01-10 à 14:26:00, Alexandre Torres Porres a écrit :

2012/1/10 Mathieu Bouchard 

Did you look at fmod() ? it's a function with two args in [expr].

I dont have that here, just "%", but it doesn't work as it rounds thing up.


What I mean is something like [expr fmod($f1,$f2)].

That's what is meant by « a function in [expr] ».

 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] my phase vocoder example implemented in polar form

2012-01-10 Thread Alexandre Torres Porres
I dont have that here, just "%", but it doesn't work as it rounds thing up.

cheers

2012/1/10 Mathieu Bouchard 

> Le 2012-01-10 à 05:35:00, Alexandre Torres Porres a écrit :
>
>
>  by the way, I figured out a simple way of having an actual accurate loop
>> inside [expr] in a similar fashion. something like  expr if ($f1 >= end_$0,
>> $f1 - end_$0, if ($f1 < 0, end_$0 + $f1, $f1))
>>
>
> Did you look at fmod() ? it's a function with two args in [expr].
>
>  __**__**
> __
> | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] my phase vocoder example implemented in polar form

2012-01-10 Thread Mathieu Bouchard

Le 2012-01-10 à 05:35:00, Alexandre Torres Porres a écrit :

by the way, I figured out a simple way of having an actual accurate loop 
inside [expr] in a similar fashion. something like  expr if ($f1 >= 
end_$0, $f1 - end_$0, if ($f1 < 0, end_$0 + $f1, $f1))


Did you look at fmod() ? it's a function with two args in [expr].

 __
| Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] my phase vocoder example implemented in polar form

2012-01-10 Thread Frank Barknecht
On Tue, Jan 10, 2012 at 05:35:50AM -0200, Alexandre Torres Porres wrote:
> by the way, I figured out a simple way of having an actual accurate loop
> inside [expr] in a similar fashion.
> 
> something like
> 
> expr if ($f1 >= end_$0, $f1 - end_$0, if ($f1 < 0, end_$0 + $f1, $f1))
> 
> and the after the [line~] object I also take take care of it
> 
> expr~ if ($v1 >= end_$0, $v1 - end_$0, $v1)
> 
> as for the back window, the above output is subtracted a hop size, and I do
> this expr~ if ($v1 < 0, $v1 + end_$0, $v1) so it doesnt get negative.
> 
> Sounds fine, perfect looping, thanks to [expr]

Isn't this actually very similar to the simpler and faster [wrap~] (see
attachment)? [wrap~] is different in that it will also wrap around for values
larger than twice the loop size and it will wrap around in negavite areas as
well, but I think, that's what you want anyway.

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__


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