stretch
  1. factor

Changes the pitch of the sample without changing its speed. The frequencies are multiplied by (factor + 1) for positive numbers and by max(factor / 4 + 1, 0) for negative numbers. So tuning up by octaves can be done with 1, 3, 7, ... and tuning down by octaves with -2, -3, -3.5...

s("gm_flute").stretch("<2 1 0 -2>")
parametertype
factor
between `-4` and `inf`. Positive increases pitch, 0 does nothing, negative decreases the pitch.