Difference between revisions of "shape"

From TidalCycles userbase
Jump to: navigation, search
m (Yaxu moved page dhape to shape)
 
Line 7: Line 7:
 
d1 $ sound "feel*4" # shape "0 0.2 0.4"
 
d1 $ sound "feel*4" # shape "0 0.2 0.4"
  
d1 $ sound "bd*16" # shape (scale 0 0.5 $ saw)
+
d1 $ sound "bd*16" # shape (range 0 0.5 $ saw)
 
</source>
 
</source>
  
 
[[Category:Control Functions]]
 
[[Category:Control Functions]]

Latest revision as of 12:26, 20 December 2018

Type: shape :: Pattern Double -> ControlPattern

shape produces wave shaping distortion, a pattern of numbers from 0 for no distortion up to 1 for loads of distortion. It can get very loud if you reach 1 - be careful!

d1 $ sound "feel*4" # shape "0 0.2 0.4"

d1 $ sound "bd*16" # shape (range 0 0.5 $ saw)