NerdWithNoLife
30th January 2010, 00:56
I almost got a method for using AviSynth to animate live, based on the amplitude of the signal coming from a microphone. Audio was loaded into the script from a filter graph that is simply the sound card's capture source.
It works, with little CPU usage, but there's a pretty big problem of audio sync. After some research, it appears DirectShowSource has a default buffer of at least 500ms. I cannot for the life of me find a way to modify the thing called IAMBufferNegotiation, which would theoretically solve the problem.
Since this is being done live, DelayAudio will not help, barring the possibility of time travel. This seems to be a pretty advanced question regarding GraphEdit/GraphStudio, so if anyone has any idea how to fix this, please do your best to dumb it down for me.
It works, with little CPU usage, but there's a pretty big problem of audio sync. After some research, it appears DirectShowSource has a default buffer of at least 500ms. I cannot for the life of me find a way to modify the thing called IAMBufferNegotiation, which would theoretically solve the problem.
Since this is being done live, DelayAudio will not help, barring the possibility of time travel. This seems to be a pretty advanced question regarding GraphEdit/GraphStudio, so if anyone has any idea how to fix this, please do your best to dumb it down for me.