Dear members of the forum,
I have an issue with jitter and I don´t know how to solve it. After reading the MaxAPI documentation I haven´t solved my doubts.
This is my case:
I have a jit.matrix object in my patcher. This matrix has a fixed dimension and its elements update constantly. These elements contained inside the matrix correspond to audio gain factors.
I want to send this whole matrix (with all its elements) to another object implemented in c++ that will perform the next task:
1. read each element contained in the matrix (this is the audio gain factor).
2. multiply each matrix element and the audio samples.
I know how to implement point 2, but I have no idea how to be able to call jit.matrix and read its content in c++.
Yes, all the above. The SDK itself includes *very* helpful samples. One of them, jit.simple was a base that I used to create my first substantial jitter external that manipulated matrices. Perhaps you can do something similar.
Max and its SDK has some nice features which can come very easily to you. For example, there is a function which automatically slices a matrix and then runs separate threads on those slices in parallel across as many cores as possible.