<>

<> changes the duration of an audio signal without changing its pitch.

Syntax

z = x <> y

Operands and Result

xyz
AUDSCALAUD

Notes

Example

A tone glide from 400 Hz to 1000 Hz with arbitrary amplitude fluctuations:

AUX> x=tone([400 1000],1000).sqrt@-3
AUX> tseq=[0 .2 .3 .7 .8 1;][-100 -6 -30 -10 -5 0];
AUX> y=(x@tseq).ramp(20)
AUX> z=y<>.8
AUX> figure("z").children.x.lim=[0 1]
// to adjust the xlim the same as y

Time stretch example 1

Time stretch example 2

Current source basis: