Menu

Language-globalprocess

Jan

SoundComp language: global process

The definition of the voice process and the global process is quite similar to the definition of an event process.
The only semantic difference is that there is an implicit summation of all sources.

The definition of the "per-voice" global process is

vprocess <v_inputs> <v_ginputs> <gprocesslist> <p_outputs>

v_inputs is a list of "per-event" inputs; it consists of assignments of input names to formulas containing references to outputs of the "per-event" processes.
v_ginputs is a list of global inputs. These can refer to any globally visible constant, variable etc.
gprocesslist is a list of processes that combine the two kinds of inputs.
p_outputs is a list of outputs of the voice process. These (only these) are available as input sources for the totally global process.

The definition of the totally global process is

gprocess <t_ginputs> <tgprocesslist>

t_ginputs is a list of assignments of voice output data to input names for the following process list.
tgprocesslist is a processing network that combines data from t_ginputs (and possibly other globally available data). It will usually contain at least one output element (like for file writing, or when they will be implemented: soundcard access, VST).


Related

Wiki: Language

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.