[PD] my phase vocoder example implemented in polar form
Frank Barknecht
fbar at footils.org
Tue Jan 10 12:09:09 CET 2012
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 Barknecht Do You RjDj.me? _ ______footils.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrapper.pd
Type: application/puredata
Size: 1401 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120110/47dc611d/attachment.bin>
More information about the Pd-list
mailing list