Liking cljdoc? Tell your friends :D

noon.lib.rythmn


durtupclj

(durtup & xs)

build a tup from some numbers

build a tup from some numbers
raw docstring

durtup*clj

(durtup* xs)

build a tup from some numbers

build a tup from some numbers
raw docstring

euclidean-tupclj

(euclidean-tup resolution size)

make a tuple from an euclidean sum

make a tuple from an euclidean sum
raw docstring

euclidean-tupsclj

(euclidean-tups resolution size)

an euclidean tuple and its rotations

an euclidean tuple and its rotations
raw docstring

gen-bintupclj

(gen-bintup resolution)
(gen-bintup resolution size)
(gen-bintup resolution size & options)

works like gen-tup except: every notes length equal resolution every note is marked with :gentup 0

in addition to this, every hole between notes is filled with notes of duration resolution and marked :bintup 1.

this will allow you to get some binary accentuated tups, for instance like this: (play (gen-bintup 18 10 :shifted) (parts {:bintup 0} vel2 {:bintup 1} vel6))

gen-tup doc: generate a rythmic tup based on the given arguments: resolution: the number of subdivisions that we will use. size: the number of notes that the generated tup will contain. options: euclidean: generates an euclydean tup. durations: the multiples of 'resolution that we are allowed to use (fractionals allowed). shifted: the possibility for the generated tup to not begin on beat.

works like gen-tup except:
  every notes length equal `resolution`
  every note is marked with :gentup 0

in addition to this, every hole between notes is filled with notes of duration `resolution` and marked :bintup 1.

this will allow you to get some binary accentuated tups, for instance like this:
(play
 (gen-bintup 18 10 :shifted)
 (parts {:bintup 0} vel2
        {:bintup 1} vel6))

gen-tup doc:
generate a rythmic tup based on the given arguments:
resolution: the number of subdivisions that we will use.
size: the number of notes that the generated tup will contain.
options:
  euclidean: generates an euclydean tup.
  durations: the multiples of 'resolution that we are allowed to use (fractionals allowed).
  shifted: the possibility for the generated tup to not begin on beat.
raw docstring

gen-tupclj

(gen-tup resolution)
(gen-tup resolution size)
(gen-tup resolution size & options)

generate a rythmic tup based on the given arguments: resolution: the number of subdivisions that we will use. size: the number of notes that the generated tup will contain. options: euclidean: generates an euclydean tup. durations: the multiples of 'resolution that we are allowed to use (fractionals allowed). shifted: the possibility for the generated tup to not begin on beat.

generate a rythmic tup based on the given arguments:
resolution: the number of subdivisions that we will use.
size: the number of notes that the generated tup will contain.
options:
  euclidean: generates an euclydean tup.
  durations: the multiples of 'resolution that we are allowed to use (fractionals allowed).
  shifted: the possibility for the generated tup to not begin on beat.
raw docstring

gen-tup-optionsclj

(gen-tup-options x)

memo-sumsclj


permutationclj

(permutation n)
(permutation n i)

permute a score by time slices, 'n is the number of slices, 'i is a permutation index (int:absolute | float:gradual | :random).

permute a score by time slices,
'n is the number of slices,
'i is a permutation index (int:absolute | float:gradual | :random).
raw docstring

rand-shiftclj

(rand-shift resolution)

rand-sumclj

(rand-sum total size members)

random-kw?clj


rotationclj

(rotation offset)
(rotation k arg)

time rotation of a score. forms: (rotation <offset>) : rotate by the given offset (rotation :relative <fractional>) : rotate to a fraction of the total length (rotation :rand-by <increment>) : pick a random rotation using increment as resolution. (rotation :rand-sub <n>) : split the score in 'n parts and rotate to a randomly picked one.

time rotation of a score.
forms:
   (rotation <offset>) : rotate by the given offset
   (rotation :relative <fractional>) : rotate to a fraction of the total length
   (rotation :rand-by <increment>) : pick a random rotation using increment as resolution.
   (rotation :rand-sub <n>) : split the score in 'n parts and rotate to a randomly picked one.
raw docstring

score-fw-shiftsclj

(score-fw-shifts score increment)

returns a sequence of forward time shifts by 'increment preserving the original score duration. the shifting stops when the last event goes out of score.

returns a sequence of forward time shifts by 'increment preserving the original score duration.
the shifting stops when the last event goes out of score.
raw docstring

slice-scoreclj

(slice-score score n)

slice a score into n parts of equal duration.

slice a score into n parts of equal duration.
raw docstring

sum->binsclj

(sum->bins sum)

sum->tupclj

(sum->tup xs)

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

× close