Difference between revisions of "attack"

From TidalCycles userbase
Jump to: navigation, search
(Marked this version for translation)
 
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
 +
<!--T:1-->
 
{{DISPLAYTITLE:attack}}  
 
{{DISPLAYTITLE:attack}}  
 
[[Type signature|Type]]: <source inline>attack :: Pattern Double -> ControlPattern</source>
 
[[Type signature|Type]]: <source inline>attack :: Pattern Double -> ControlPattern</source>
  
 +
<!--T:2-->
 
'''attack''' turns a number pattern into a control pattern that changes the "fade in" time of a sample.
 
'''attack''' turns a number pattern into a control pattern that changes the "fade in" time of a sample.
  
 +
<!--T:3-->
 
<source>
 
<source>
 
d1 $ s "[jvbass rave]/2" # attack "<0 0.1 0.2 0.3 0.5>"
 
d1 $ s "[jvbass rave]/2" # attack "<0 0.1 0.2 0.3 0.5>"
 
</source>
 
</source>
  
 +
<!--T:4-->
 
[[Category:Control Functions]]
 
[[Category:Control Functions]]
 
</translate>
 
</translate>

Latest revision as of 14:51, 18 December 2019

Other languages:
English • ‎français

Type: attack :: Pattern Double -> ControlPattern

attack turns a number pattern into a control pattern that changes the "fade in" time of a sample.

d1 $ s "[jvbass rave]/2" # attack "<0 0.1 0.2 0.3 0.5>"