This user-fun reads the value of the "freq" field, multiplies it by 2 and replace the old value.
The user-fun patch must al less have 2 inlets and 1 outlet and these are always the same.
All the other objects realize the algorithm and obviously are different in each patch. In this case :
This user-fun reads the value of the "freq" field, multiplies it by a random number between the minimum and maximum value given by the two supplementary inlets of the user-fun patch and replace the old value.
In addition to the first 2 leftmost inlets, which are the matrix and the component number of the OMChroma class and that they don't have be connected, you can add how many inlets you need in the user-fun.