doc: random functions
This commit is contained in:
parent
a022e5bb93
commit
ce91d36b7a
2 changed files with 172 additions and 2 deletions
|
|
@ -450,8 +450,36 @@ Stacks the given pattern to the current pattern:
|
|||
|
||||
<MiniRepl tune={`"c4,eb4,g4".stack("bb4,d5")`} />
|
||||
|
||||
## Randomness
|
||||
|
||||
These methods add random behavior to your Patterns.
|
||||
|
||||
{{ 'Pattern.degradeBy' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.degrade' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.undegradeBy' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.sometimesBy' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.sometimes' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.someCyclesBy' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.someCycles' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.often' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.rarely' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.almostNever' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.almostAlways' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.never' | jsdoc }}
|
||||
|
||||
{{ 'Pattern.always' | jsdoc }}
|
||||
|
||||
## Tone API
|
||||
|
||||
To make the sounds more interesting, we can use Tone.js instruments ands effects.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue