Adding docs
This commit is contained in:
@ -111,7 +111,7 @@ beat([.5, 1].random() / 2) :: snd(
|
|||||||
|
|
||||||
${makeExample(
|
${makeExample(
|
||||||
"Generate a list of random numbers",
|
"Generate a list of random numbers",
|
||||||
`beat(0.5) && sound('arp').freq([].gen(300,600,10).div(3)).out()`,
|
`beat(0.5) && sound('arp').freq([].gen(300,600,10).beat()).out()`,
|
||||||
true
|
true
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
@ -152,6 +152,14 @@ ${makeExample(
|
|||||||
`
|
`
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
${makeExample(
|
||||||
|
"Programmatic inversions",
|
||||||
|
`
|
||||||
|
z1('i v vi iv').invert([1,-1,-2,0].beat(4))
|
||||||
|
.sound("sawtooth").out()
|
||||||
|
`
|
||||||
|
)}
|
||||||
|
|
||||||
## Algorithmic operations
|
## Algorithmic operations
|
||||||
|
|
||||||
Ziffers provides shorthands for **many** numeric and algorithimic operations such as evaluating random numbers and creating sequences using list operations:
|
Ziffers provides shorthands for **many** numeric and algorithimic operations such as evaluating random numbers and creating sequences using list operations:
|
||||||
|
|||||||
Reference in New Issue
Block a user