-W -o morph.wav
sr = 48000
ksmps = 4800
ksmps = 10
nchnls = 2
instr 1
kt1 line 0, 15.776, 15.776 ; timpoint for l1.pv and r1.pv
kt2 line 0, 19.243, 19.243 ; timpoint for l2.pv and r2.pv
kf linseg 1, 12, 1, 1, 0, 7, 0 ; move freqinterp after 12sec, because
; after that time it would sound beastly
ka linseg 1, 5, 1, 3, 0, 12, 0 ; the ampinterp
; read and process left channel
pvbufread kt1, "l1.pv"
al pvinterp kt2, 1, "l2.pv", 1, 1, 1, 1, kf, ka
; read and process right channel
pvbufread kt1, "r1.pv"
ar pvinterp kt2, 1, "r2.pv", 1, 1, 1, 1, kf, ka
outs al, ar
endin
i1 0 20
e