<div>Hi,</div><div>I think I would try it this way:</div><div><br></div>generate frame numbers instead of using auto.<div><br></div><div>[0, m n(</div><div>|</div><div>[step]<br><div>|</div><div><br></div><div>where m is the number of frames in the video, </div>


<div>and n is the number of sample frames in the audio file, divided by 44.1 (or your samplerate)</div><div><br></div><div>gr,</div><div>Tim</div><div><br><div class="gmail_quote">2012/3/8 altern <span dir="ltr">&lt;<a href="mailto:altern2@gmail.com" target="_blank">altern2@gmail.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi<br>
<br>
I am reading a video with pix_film and trigger it using auto, at the<br>
same time load a sound file with readsf ~ . This is ok for a while but<br>
after some time they go out of sync. The sound goes faster than the<br>
video.<br>
<br>
Any simple solution to this? or do I need to construct my own system<br>
to play the video passing the frame number to the pix_film? maybe<br>
using a line object with the total num of frames and the total time<br>
length of the video ...<br>
<br>
thanks<br>
<br>
enrike<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br></div></div>