OpenMusic

Visual Programming | Computer-Assisted Composition

Navigation : Previous | Next

Abstraction

Abstraction

A program or patch can be more or less complex, and comprise one or several components “layers”, like a tree structure. Such structures consist of patches embedded into other patches. Processes embedded in higher-level programs are called ** abstractions**.

Abstraction aims at using a program as a function within another program.

Purposes

Abstractions allow to :

Example : Abstraction of a Process

Abstraction is a very convenient procedure - an abstracted program can be complex and “bulky”. Its representation as an object also shows what an abstraction actually is : a coherent and delineated function inside another program. This is the crucial, essential property of functional abstraction.

A chord multiplication patch has been embedded as an abstraction inside a
patch. The resulting chord sequence is visualised and integrated in a
"higherlevel" process

A chord multiplication patch has been embedded as an abstraction inside a patch. The resulting chord sequence is visualised and integrated in a “higherlevel” processZoom

References :

Contents :

Navigation : Previous | Next