Use stereo buffer and scriptprocessor to synchronize buffer loop