steps {interval}+ {option value}* [Macro]

Creates an item stream of relative interval distances in a scale. Each interval may be an integer or an item stream. A step stream is identical to an interval stream except that its intervals describe relative distances from the last position returned from the pattern, rather from the transposition offset. Macro syntax is otherwise identical to that of intervals.

Example:

? (setf x (steps 1 2 3 in random from 'c4 for 8 returning note))
#<RANDOM-STEP-STREAM 130213351>

? (read-items x 16)
(C4 CS4 DS4 FS4 A4 AS4 C5 D5 C4 CS4 E4 G4 GS4 A4 AS4 CS5)

See Also:

intervals, Item Streams


Last Modified: 5-Mar-1998