Saturday, April 26, 2008

Rough Cut Sketch #3


This is my first attempt to sync sound but unfortunately it quickly loses the sync due to a rounding problem in my program. See, it takes the next button press time and subtracts it from the first button press time (in milliseconds) and divides by 1000 and then multiples by 30 to get the number of frames. If it's inbetween frames it rounds up.. So we get extra frames of video.

The only solution at this point is keep track of where I add frames and adjust the sound lengths accordingly. It's not very practical at this point either. When I have more time I'll devise another way around this issue.

No comments: