Forums > Gen

controlling sample boundmode

Feb 12 2013 | 1:02 pm

I’m trying to build a few gen patches using for basic video processing. oes anyone know the simplest way to to control the boundmode argument of the sample object? I found the in the jitter/gen examples which uses a code box to achieve this but I’m having trouble understanding the code. anyway to do this just by patching?

A similar problem I’m having is I’d like to control a simple multimode mixer and be able to externally choose to add, subtract, multiply two or more inputs, preferably without having to resort to a mess of switches or gates. Does any one know of an elegant way to achieve this too?

many thanks,

Feb 28 2013 | 6:56 am

A bit late, but if you need parametric control over the boundmode, you’ll need to either use multiple [sample] operators or wrap the coordinates yourself. The range should be [0, 1], so if you want to module between wrapping and clamping for instance, you could use [mix] to fade between coordinates processed using [%] and coordinates processed using [clamp].

Mar 13 2017 | 11:51 am

If you are still interested @Zeal, this is what I’m using atm

— Pasted Max Patch, click to expand. —

Mar 14 2017 | 8:48 pm

@Zeal I’m using this atm if you are still interested:

— Pasted Max Patch, click to expand. —
Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Gen