SAWTOOTH

[GENERIC-FUNCTION]


OMTristan
Function Reference
ARGUMENTS:
  - liste List [default = (quote (1 2 3 4 5 6 7))]
  - go Aller [default = 4]
  - return Retour [default = 2]
  - step Step [default = 1]

Description:

Returns a permutation according to a sawtooth model. For example, when <go>=4, <return>=2 and <step>=1, the list (1 2 3 4 5 6 7) will become (1 2 3 4 5 4 3 2 3 4 5 6 5 4 3 4 5 6 7 6 5).



Auto doc generation by OpenMusic 7.0 © 2022 IRCAM