Liking cljdoc? Tell your friends :D

score.ops

Score operation functions for translating, scaling, repeating, and merging serial and parallel parts. Also for calculating durations. Assumption about score note format are described in each function's documentation.

Score operation functions for translating, scaling, repeating, and merging
serial and parallel parts. Also for calculating durations. Assumption about
score note format are described in each function's documentation.
raw docstring

sco-durclj

(sco-dur sco)

Calculates score block duration. Assumes 2nd and 3rd items in each Note represent start time and duration.

Calculates score block duration. Assumes 2nd and 3rd items in each Note 
represent start time and duration.
sourceraw docstring

|*|clj

(|*| sco num-repeat dur)
(|*| sco num-repeat dur start)

Repeat score for num-repeat times every duration in time.

Repeat score for num-repeat times every duration in time.
sourceraw docstring

|+|clj

(|+| sco start)

Adjust start times for score. Assumes 2nd item in each Note represents start time.

Adjust start times for score. Assumes 2nd item in each Note represents
start time.
sourceraw docstring

|p|clj

(|p| & sco-blocks)

Flattens list of score blocks into a single list in parallel. (Simply concatenates blocks.)

Flattens list of score blocks into a single list in parallel. (Simply 
concatenates blocks.)
sourceraw docstring

|scale-to|clj

(|scale-to| sco dur)
source

|scale|clj

(|scale| sco multiplier)
source

|s|clj

(|s| & sco-blocks)

Flattens list of score blocks into single list in series, adjusting start times for each event in score block to follow previous score block. If an item within the sco-blocks is a number, it will advance the start time by that number (useful to put in space between score blocks).

Flattens list of score blocks into single list in series, adjusting 
start times for each event in score block to follow previous score block.
If an item within the sco-blocks is a number, it will advance the start time
by that number (useful to put in space between score blocks).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close