setting certain index value?

how can i set value of certain index in certain CHOP using information about sample number and value located inside another CHOP?

You generally don’t directly control the output of CHOPs, just their inputs.
Can you describe what you’re trying to solve?

To access a channel in an expression (for example chan1 of the wave1 CHOP) its:

op(‘wave1’)[‘chan1’]

To access by channel number instead of channel name its:

op(‘wave1’)[0] for example.

To access a specific sample within that channel its:

op(‘wave1’)[0][50] for example. (50th sample of first channel of wave1)

You can set the values of a channel using a Script CHOP however.
Or even the Constant CHOP.

Rob.

thanks) i know this, but using constant chop I do not have access to a specific index. And how i can use script chop for this?

Try Help → Operator Snippets.
Select CHOP / CHOP Script example on the left menu.
Look at script3 example.
You’ll see it takes some input waves and changes all of their sample values by a specific amount.
This example can be simplified to just modify single values.

Hope that helps,
Rob.