OpenMusic Reference
OM Function Reference
Table of Contents
1+ -- adds 1 to a number
1- -- subtracts 1 from a number
addbox2maquette -- places a Temporalbox inside a Maquette
aftertouch -- sends a MIDI aftertouch message
align-chords -- combines chords falling within a certain threshold duration into a single element
append -- appends one list to another
apply -- returns the result of the evaluation of function
approx-m -- rounds off midics to fit whole-number divisions of the octave
arithm-ser -- generates an arithmetic series
atom -- returns t if data-object is a single element (not a list)
band-filter -- Filters elements of a tree based on their numerical (arithmetic) value
bpf-sample -- samples a BPF’s values at defined intervals
butlast -- returns a list without its last n elements
callnext-method -- calls the next method in the function definition
canon-n -- Returns all the integers in a certain interval corresponding to the “good periods” of a Regular Complementary Canon of Maximal Category
canons -- Constructs a Regular Complementary Canon of Maximal Category from two rhythmic structures R and S representing the ground rhythm and the rhythm of entries of the voices
card -- returns the number of best-normal-ordered pitch sets of cardinality k for an n -tone subdivision of the octave
concat -- appends one OM music class to another
conditional -- evaluates a series of patches, returning the first non-nil value
cons -- returns a list
cos -- returns the cosine of radians
create-list -- Returns a list of count instances of elem
ctrlchg -- sends a MIDI Control Mode Change message
decompo -- Factorizes a given integer in into a product of five primes (p1 p2 n1 n2 n3) corresponding to a the attributes of a Regular Compementary Canon of Maximal Category
denominator -- returns the denominator of the canonical reduced form of rational .
dx->x -- constructs a list of numbers from start with intervals given by list .
equal -- returns t if the inputs are equivalent expressions
expand-lst -- returns a list expanded from a special syntax
f->mc -- converts frequencies in Hertz (Hz) to approximate midicent pitches
factorize -- returns the prime decomposition of a number
famille -- returns a set complex of cardinality k
fibo-ser -- generates a fibonacci series
finale-export -- Puts a Voice or Poly object on the clipboard so that Finale can import it.
finale-import -- Takes a Finale clipping and puts it into a Voice or Poly object.
first -- returns the first element of a list, using one-based addressing
first-n -- returns the first n elements of a list
flat -- removes imbrication (nesting) from lists
floor -- rounds a number down to the nearest integer
funcall -- returns the result of the evaluation of function
geometric-ser -- generates a geometric series
get-chords -- extracts a list of Chord objects from an OM score class object
get-maquette -- returns the Maquette to which a given Temporalbox object belongs.
get-slot -- returns the value of a slot of an object- instance
group-list -- returns a list divided into segments
included? -- returns true if all the elements of lst1 are also elements of lst2 . Otherwise, returns nil
infocanons -- Returns the number of voices and the number of attacks in the ground rhythm of a Regular Complementary Canon of Maximal Category of a given period.
interlock -- inserts elements of a list between those of another
interpolation -- interpolates between two numbers or lists
last-elem -- returns the last element of a list
last-n -- returns the last n elements of a list
length -- returns the number of elements in sequence
linear-fun -- returns a function object for the linear function connecting the points represented by the input pairs
list -- returns a list of argument s
list-explode -- Divides list into nlists sublists of consecutive elements.
list-filter -- Filters elements from a list using the predicate test .
list-max -- returns the greatest value in a tree
list-min -- returns the smallest value in a tree
list-modulo -- Breaks a list down into sublists of elements at regular intervals
mat-trans -- returns a matrix with the rows and columns exchanged
mapcan -- returns the results of several evaluations of function as a single entity
mapcar -- returns the results of several evaluations of function as a list
maquette2obj -- Makes a transcription of a Maquette object suitable for use in a Poly or Multi-seq.
mask -- Uses one Voice as a rhythmic mask for another
mc->f -- converts midicent pitches to frequencies in Hertz (Hz)
merger -- Superimposes one Voice or Measure object on another
mf-info -- creates a tree describing a MIDI file
midi-o -- sends midi data
mktree -- Constructs a rhythm tree from a list of rational s (fractions)
nth -- returns the n th of a list
nthcdr -- returns list without its first n elements
nth-random -- returns a randomly chosen element of a list
numerator -- returns the numerator of the canonical reduced form of rational .
om^ -- raises a number to a given power
om* -- returns the product of two numbers or lists
om/ -- returns the quotient of two numbers or lists
om// -- performs euclidian division (division with remainder)on two numbers or lists
om+ -- returns the sum of two numbers or lists
om- -- returns the difference of two numbers or lists
om= -- returns t if self and num are equal
om/= -- returns t if self and num are not equal.
om< -- returns t if self is less than num
om> -- returns t if self is more than num
om<= -- returns t if self is less than or equal to num
om>= -- returns t if self is more than or equal to num
omor -- performs boolean logical or
omand -- performs boolean logical and
om-abs -- returns the absolute value
om-e -- returns e to a given power
om-log -- returns the natural logarithm of a number
om-max -- returns the larger of two values
om-mean -- returns the arithmetic mean of numbers in a list
om-min -- returns the smaller of two values
om-random -- generates a psuedo-random number
om-round -- Rounds a number or numbers
om-scale -- scales a list based on new maximum and minimum values
om-scale/sum -- scales a list based on a new sum
omif -- returns action or else according to test
omquantify -- performs a rhythmic transcription, converting a list of durations into a rhythm tree
orbites -- returns a list of set classes of cardinality k for an n -tone octave.
patterns -- Returns two rhythmic patterns of period n that, when used to construct a canon of l voices, produce a Regular Complementary Canon of Maximal Category.
permut-random -- returns the list with a random order of elements
permutations -- returns a exhaustive list of all the permutations of a list
pgmout -- sends a MIDI program (patch) change message
pitchbend -- sends a MIDI pitch wheel controller message
pitchwheeel -- sends a MIDI pitch wheel controller message
play -- causes playback of OM music objects
polykeypres -- sends a MIDI key pressure message
posn-match -- Constructs a new list from a list of elements and a list of ordinal references
posn-order -- returns an index of ordinals positions for a given sort function performed on a list
prime? -- returns t if n is a prime number.
prime-ser -- generates a list of prime numbers
range-filter -- Filters elements of a tree based on their ordinal position
reduce-tree -- applies a commutative binary function throughout a tree
remove -- returns a list with certain items removed
remove-dup -- returns list without repetitions
removetemporalbox -- removes Temporalboxes from Maquette s
repeat-n -- evaluates self num times
rest -- returns the cdr of list
reverse -- returns sequence backwards
rotate -- returns a list with its elements rotated
samplefun -- samples a function’s output at defined intervals
save-as-etf -- Saves a Voice or Poly object as an ETF (Enigma Transportable File).
save-as-midi -- creates a MIDI file from an OM music class object
second -- returns the second element of a list, using one- based addressing
select -- extracts part of an OM score class object
sequence -- evaluates a series of patches
sin -- returns the sine of radians
sort. -- returns a sorted list according to a test
sqr -- returns the square of n
sqrt -- returns the principal square root of number
subs-posn -- replaces select elements of a list
sysex -- sends a MIDI sysex (system exclusive) message
table-filter -- Filters sublists from a tree using the predicate test .
tan -- returns the tangent of radians
temporalboxes -- extracts a list of Temporalboxes from a Maquette
third -- returns the third element of a list, using one-based addressing
volume -- sends a MIDI volume message
x-append -- combines two or more lists into a single one
x-diff -- returns a list wth all the elements present in l1? and list but not in l2? .
x->dx -- returns a list of the intervals between values of a list
x-intersect -- returns the common elements of several lists
x-union -- merges two sets
x-xor -- performs a XOR (exclusive OR on two or more lists
Prev | Home | Next |
---|---|---|
finaldo (finally) | Up | 1+ |