[music-dsp] Graphics and sound sync
rbencina at iprimus.com.au
Fri May 7 17:08:11 EDT 2004
Just buffer the data (VUlevels) and draw it at the time you know the Audio
will play out. This requires you to know what the audio latency is.
PortAudio and Media Syncronization
----- Original Message -----
From: "Andrew Greenwood" <lists at silverblade.co.uk>
To: "a list for musical digital signal processing"
<music-dsp at shoko.calarts.edu>
Sent: Saturday, May 08, 2004 6:52 AM
Subject: [music-dsp] Graphics and sound sync
> How would you synchronize graphics and sound, for example in the case of a
> level meter?
> It should be fairly simple in an audio player, but what about for a
> near-realtime performance program?
> As graphics are updated immediately while sound isn't, how do you
> for the delay? Mainly, how do you get the graphics to animate at the
> If that makes any sense...
> dupswapdrop -- the music-dsp mailing list and website:
> subscription info, FAQ, source code archive, list archive, book reviews,
More information about the music-dsp