OpenMusic

Visual Programming | Computer-Assisted Composition

OpenMusic Reference

Prev| | Next


famille

famille

(Zn module) -- returns a set complex of cardinality k

Syntax

famille n familly k howmany

Inputs

name data type(s) comments
n an integer must be more than 2; defaults to 12
familly menu the type of pitch set (set complex) to return. 6 options: tac , tai , tic , ttl , tp , tid.
k a positive integer defaults to 6; must be no larger than n /2
howmany a positive integer allows you to limit the number of answers returned (the size of the set complex). Setting this value higher than the maximum number of possible sets may cause the function to return nil

Output

output data type(s) comments
first a set complex: a tree representing a list of set classes  

Description

IN-DEPTH DESCRIPTION

famille produces pitch sets with certain properties, depending on your choice at the familly menu input. The calculation will be made in 12-tone space by default. To use other subdivisions of the octave as a base, set a new value at the n input. The sets will all have cardinality k . ( k elements). k must be less than or equal to half of n .

The howmany input allows you to limit the size of the set complex, i.e. the number of sets returned. Setting this higher than the maximum size of the complex may cause famille to return nil.

The familly menu input allows you to choose what kind of sets will be returned, i.e. what the unifying characteristic of the set complex will be. There are six families of pitch set available (some of the names are funny because they are acronyms for French terms):

Examples

For examples, see the Zn tutorials.


Prev Home Next
factorize Up fibo-ser