OpenMusic Reference
select
select
(score module) -- extracts part of an OM score class object
Syntax
select self start end
Inputs
name | data type(s) | comments |
---|---|---|
self | an OM score class object | Voice , Poly , Chord-seq or Multi-seq |
start | an integer | |
end | an integer |
Output
output | data type(s) | comments |
---|---|---|
first | an OM music class object | same as self |
Description
This function takes a Voice , Poly , Chord-seq or Multi-seq object and extracts a section of that object between start and end . The object returned will always be of the same type as the input.
If self is a Voice or Poly , then start and end are measure numbers. Measure numbers start at zero and are inclusive.
If self is a Chord-seq or Multi-seq , then start and end are absolute positions from the beginning of the sequence, in milliseconds.
The concat function is the opposite of select .
Prev | Home | Next |
---|---|---|
second | Up | sequence |