[Sndobj-devel] SndLoop setting input and resampling
Status: Abandoned
Brought to you by:
veplaini
From: Daniel S. <das...@gm...> - 2009-08-13 00:30:52
|
Hi, Ive created a SndLoop object with a default input of sndobj.SndIn() with a sample time of 2 seconds. As I understand, at this point is should have sampled 2 seconds of nothing and be playing in a continuous loop. Is that correct? Afterwards I play back a wav file with SndRead and sometime during the playback i sndloop.SetInput(sndread) sndloop.ReSample() effectively. As it resamples for 2 seconds I can immediately see the output of the sndloop as it plays back everything it is sampling and then at 2 seconds it stops. No looping or anything. I could also set the input to an oscili and it will produce the same effect. 2 seconds of pushing the same sound data to the output during resampling, then silence afterwards, no looping. Im showing no errors on the object and i can repeat the process as many times as i like. On a side note, its exciting to see with sndobj that i can start sampling any portion of a signal chain that i may have going and start messing with it. This is one of the first things i do when creating ambient background noise for music i mix. Kudos Thanks, Daniel |