Replacing a element and input in list.

Qualm's icon

I dont know how to replace an existing element in a existing list.

watch this example:

/F

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

alersito's icon
Max Patch
Copy patch and select New From Clipboard in Max.
Qualm's icon

Ok thanks.

But i have som serious problems.

i am dumping 24 elements in to a list of 256 elemenst. It's a lightmixer.

When am transfeering channels from 1-24 everithing works fine.
But if o using different channels (using my patch)

example: 13 $ 33 $ 42 $ 53 $ and so on,,,,

,,, something strange happens, now... the output starts to flash in random.
You can't see it if you are watching the list, but you can see it at the fysical output.

My lamps starts to flash meenwhile they crossfades.

When you dont crossfade, everythni is normal.

Is there a another way to merge in a element into a list?

/Fredrik

Qualm's icon

here is my patch, almost the same as your example

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

willyc's icon

Its not entirely clear what you're after, but I think this does the trick. The encapsulated patcher lets you substitute the value X into the Nth element of a list.

Input the 'initial list' into the right-hand inlet

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

Input lists such as 'N X' into the left-hand inlet