Instrument Maker Reference

im.step

Description:

Use im.step to step through the values of im.sequence. To step through all values: the first argument of im.step must match the total number of steps in im.sequence. If fewer steps are given then only a subset will be triggered.

Expects control in the left hand side. Outputs control.
Args:

number of steps, random (optional)

Inlets:

on/off trigger (e.g. im.sensor or im.keypress)

Outlets:

divisions based on the number input

Example:

im.keypress a im.step 8 im.tunedperc im.speaker im.tunedperc im.speaker im.step 8 random im.keypress s im.scale C dorian 5 im.scale C dorian 5 im.sequence 0 1 4 3 4 5 2 7 im.sequence 0 1 4 3 4 5 2 7
If this image does not display properly, try this alternative file.

Back to main reference page


im.step was created by Charles Matthews, 2019/2020