A synthesis patch is like a standard patch. It produces a value from the content of a maquette.
To access this content, a Maquette Self Input : must be added in the patch.
The patch can then manipulate this content.
The result of the computation is attributed to the maquette via the Tempout of the patch.
The Maquette Self Input returns the maquette's content. It can be used as a patch input . The Maquette Self Input returns:
the maquette's value itself,
the duration of the maquette,
the list of boxes contained in the maquette,
the list each box's value contained in the maquette.
You can now manipulate the data returned by the Maquette Self Input with the program you will design in the synthesis patch. The maquette's value will be that of the object connected to the Tempout of the synthesis patch .
The resulting synthesis patch actually is the evaluation program, or evaluation tool of the maquette. When the maquette is evaluated, the Maquette Self Input of the synthesis patch is updated, and the synthesis patch is evaluated too.
The result of a synthesis patch is computed when the maquette is evaluated . The information produced is returned to other boxes only for subsequent computation : the Self Input box must be considered a virtual storage box. Consequently, information won't be displayed in the Listener, unless a specific function, like print, is resorted to.
Modifying an internal patch doesn't affect the other references of the patch, including the patch that was dropped in the corner of the maquette. Out of security, we advise you to make a copy of the last version of this internal patch.