Reference particular plane in matrix

This example shows how you can make changes to only one plane of a matrix. In order to achieve this, we need to rely on jit.unpack, which by itself separates the planes on a matrix (actually creating a copy), and then add the modified plane (with some process to be included inside the patcher oneplane object) to the original matrix. For this last step we are using the jit.pack object with the ‘out_name’ attribute set to the original matrix name.

Chapter: