tidal 0.3.3 → 0.3.4
raw patch · 4 files changed
+16/−1 lines, 4 files
Files
- Sound/Tidal/Strategies.hs +4/−0
- doc/tidal.md +11/−0
- doc/tidal.pdf binary
- tidal.cabal +1/−1
Sound/Tidal/Strategies.hs view
@@ -113,3 +113,7 @@ inside n f p = density n $ f (slow n p) +stut :: Integer -> Double -> Rational -> OscPattern -> OscPattern+stut steps feedback time p = stack (p:(map (\x -> (((x%steps)*time) <~ (p |+| gain (pure $ scale (fromIntegral x))))) [0..(steps-1)])) + where scale x + = ((+feedback) . (*(1-feedback)) . (/(fromIntegral steps)) . ((fromIntegral steps)-)) x
doc/tidal.md view
@@ -314,6 +314,13 @@ * `cutoff` - a pattern of numbers from 0 to 1 * `resonance` - a pattern of numbers from 0 to 1 * `speed` - a pattern of numbers from 0 to 1, which changes the speed of sample playback, i.e. a cheap way of changing pitch+* `accelerate` - a pattern of numbers that speed up (or slow down) samples while they play.+* `begin` - a pattern of numbers from 0 to 1. Skips the beginning of each sample, e.g. `0.25` to miss off the first quarter from each sample.+* `end` - the same as `begin`, but cuts the end off samples, shortening them;+ e.g. `0.75` to miss off the last quarter of each sample.+* `delay` - a pattern of numbers from 0 to 1. Sets the level of the delay signal.+* `delayfeedback` - a pattern of numbers from 0 to 1. Sets the amount of delay feedback.+* `delaytime` - a pattern of numbers from 0 to 1. Sets the length of the delay. # Pattern transformers @@ -544,6 +551,10 @@ ~~~~ {#mycode .haskell} d1 $ slow 32 $ striate' 32 (1/16) $ sound "bev" ~~~~++Note that `striate` uses the `begin` and `end` parameters+internally. This means that if you're using `striate` (or `striate'`)+you probably shouldn't also specify `begin` or `end`. # Smash
doc/tidal.pdf view
binary file changed (105469 → 82680 bytes)
tidal.cabal view
@@ -1,5 +1,5 @@ name: tidal-version: 0.3.3+version: 0.3.4 synopsis: Pattern language for improvised music -- description: homepage: http://yaxu.org/tidal/