avoiding clipping in [selector~]

Michael Gounelas's icon

hi,

I was wondering if there is any workaround to avoid clipping when using selector~.

I've come up with a solution that uses some short of very fast cross-fading, but the patch is rather complex for such a simple task, so any suggestions are more than welcome.

thanks,
Michael

Emmanuel Jourdan's icon

On 18 mai 08, at 18:32, Michael Gounelas wrote:

> hi,
>
> I was wondering if there is any workaround to avoid clipping when
> using selector~.
>
> I've come up with a solution that uses some short of very fast cross-
> fading, but the patch is rather complex for such a simple task, so
> any suggestions are more than welcome.

Have a look to [matrix~].

ej

kjg's icon

you might also want to try Eric Lyon's clean_selector~ object

Michael Gounelas's icon

thanks for your help.

I think I'm gonna give a try to both objects, although I usually tend to use 'internal' objects wherever possible.

michael

Stefan Tiedje's icon

Michael Gounelas schrieb:
> I think I'm gonna give a try to both objects, although I usually tend
> to use 'internal' objects wherever possible.

matrix~ is a standard object...

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

Michael Gounelas's icon

"matrix~ is a standard object..."

yes I know. However it looks like I'm getting the same results as with selector~.

I haven't tried the clean_selector~ object yet though.

here is a simple patch. Should this normally not produce clipping?

thnaks
michael

Max Patch
Copy patch and select New From Clipboard in Max.

kjg's icon

> here is a simple patch. Should this normally not produce clipping?

matrix can operate in two different modes: binary and non-binary.
give matrix a third argument (1.) and send it a message "ramp 100".
This way it will create 100 ms fade on switching.

It is all in the help file...

regards,
kjg

Emmanuel Jourdan's icon

On 18 mai 08, at 22:32, Michael Gounelas wrote:

> yes I know. However it looks like I'm getting the same results as
> with selector~.
>
> I haven't tried the clean_selector~ object yet though.
>
> here is a simple patch. Should this normally not produce clipping?

matrix~ have a non-binary mode which allow interpolation. The ramp
message defines the interpolation time in ms. I simplified the routing
too ;-)

ej

Max Patch
Copy patch and select New From Clipboard in Max.

Michael Gounelas's icon

much better now Emmanuel:)
it works really nice!
thanks for your help..