Difference between revisions of "jumpIn"

From TidalCycles userbase
Jump to: navigation, search
m (Forgot jumpIn'.)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Transitions]]
 
[[Category:Transitions]]
  
<code>jumpIn</code> takes the identifier of the "pattern swimlane" and an integer ''cycleCount''. It will jump '''unaligned''' into the given pattern after ''cycleCount'' cycles have completed.
+
<code>jumpIn</code> takes the identifier of the ControlPattern track and an integer ''cycleCount''. It will jump '''unaligned''' into the given pattern after ''cycleCount'' cycles have completed.
  
 
'''Example:''' Say you have this:
 
'''Example:''' Say you have this:
Line 10: Line 10:
 
Then the subdivision on the hi-hat will increase 2 cycles after evaluation of the next line:
 
Then the subdivision on the hi-hat will increase 2 cycles after evaluation of the next line:
 
<source>
 
<source>
jumpIn 1 2 $ sound "hh*8" --`1` because `d1`
+
jumpIn 1 2 $ sound "hh*8" --`1` because `d1` is defined `let d1 = p 1`
 
</source>
 
</source>
The transition will not line up with the beat on cycle boundary.
+
The transition will '''not''' align with the beat on cycle boundary.
  
 
'''See also:''' [[jump]], [[jumpIn']], [[jumpMod]]
 
'''See also:''' [[jump]], [[jumpIn']], [[jumpMod]]

Latest revision as of 17:55, 13 July 2019


jumpIn takes the identifier of the ControlPattern track and an integer cycleCount. It will jump unaligned into the given pattern after cycleCount cycles have completed.

Example: Say you have this:

d1 $ sound "hh*4"
d2 $ sound "bd" --have a beat on the 1 for orientation

Then the subdivision on the hi-hat will increase 2 cycles after evaluation of the next line:

jumpIn 1 2 $ sound "hh*8" --`1` because `d1` is defined `let d1 = p 1`

The transition will not align with the beat on cycle boundary.

See also: jump, jumpIn', jumpMod