[Sndobj-devel] Connecting double Interp
Status: Abandoned
Brought to you by:
veplaini
From: Bosko&Toma M. <bos...@gm...> - 2007-09-25 18:46:36
|
Hi! I have this code: import sndobj import time tab = sndobj.HarmTable() osc = sndobj.Oscili(tab, 400, 1) line1 = sndobj.Interp(5000, 0, 0.1) ring1 = sndobj.Ring(osc, line1) dly = sndobj.Comb(0.5, 0.5, ring1) line2 = sndobj.Interp(0, 1, 3) ring2 = sndobj.Ring(dly, line2) outp = sndobj.SndRTIO(1) outp.SetOutput(1, ring2) t = sndobj.SndThread() t.AddObj(osc) t.AddObj(line1) t.AddObj(ring1) t.AddObj(dly) t.AddObj(line2) t.AddObj(ring2) t.AddObj(outp, sndobj.SNDIO_OUT) t.ProcOn() time.sleep(5) t.ProcOff() When I multiply osc and line1, I get short sound. That part is ok. Now, the problem is in the second Interp() - line2. When it's multiplied with dly(Comb) I don't get desired result, which is that Comb's output dynamics goes from 0 to 1 in 3sec. The sound has just lower volume, but the envelope stays the same. What am I doing wrong? Thanks. Bosko |