You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've just updated the Contributing page here. This section may be of interest:
Functions with several parameters should better be written by putting the more constant parameters (like control, setup...) at the beginning of the parameter list, and audio signals to be processed at the end. This allows to do partial-application. So prefer the following clip(low, high, x) = min(max(x, low), high); form where clip(-1, 1) partially applied version can be used later on in different contexts, better than clip(x, low, high) = min(max(x, low), high); version.
We've just updated the Contributing page here. This section may be of interest:
Functions with several parameters should better be written by putting the more constant parameters (like control, setup...) at the beginning of the parameter list, and audio signals to be processed at the end. This allows to do partial-application. So prefer the following
clip(low, high, x) = min(max(x, low), high);
form whereclip(-1, 1)
partially applied version can be used later on in different contexts, better thanclip(x, low, high) = min(max(x, low), high);
version.(for exemple here: https://github.com/alainbonardi/abclib/blob/master/faustCodes/library/mm.lib#L72)
The text was updated successfully, but these errors were encountered: