Hey all,

        I see that it's possible to synchronize midi events in PortMidi with  
audio playback in PortAudio using the PmTimeProcPtr in Pm_OpenInput.  
Okay, good enough, and I understand the principle. However, in this  
world where computers are finally capable of reasonably low latency,  
it's not always obvious when you get these sorts of things EXACTLY  
right, and obviously that's important. You could be off by quite a bit  
and it would be hard to tell without scrupulous testing -- but users  
would know! Moreover, it seems like there's a lot of hard to track  
down subtly here: PmTimeProcPtr takes a void * argument. What's that?  
I even saw this terrifying code when digging for answers on the PA  
mailing list:

http://music.columbia.edu/pipermail/portaudio/2004-September/003832.html

OMG!

So..... this seems like a common enough use-case. Is there some sample  
code for synchronizing PortAudio and PortMidi? This would be a huge  
plus!

        bjorn

-----------------------------
Bjorn Roche
http://www.xonami.com
Audio Collaboration

_______________________________________________
media_api mailing list
[email protected]
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to