Re: [linux-audio-dev] Synching audio and midi?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Synching audio and midi?
From: martijn sipkema (msipkema_AT_sipkema-digital.com)
Date: Fri Nov 23 2001 - 14:41:52 EET


> I have already written an application which plays audio and midi
simulationsly.
> There is a simple trick to achieve synchronisation.
> principally you just dump the audio to the soundblaster.
> there exists a ioctl call(GETOPTR) where you can ask how many bytes have
yet
> been played.
> next you just need to write a simple midi player. just time this midi
playert
> with the time you got from GETOPTR.
> So audio is master drives slave midi.
> mail me again in appr 2 weeks for my final program.

a more flexible aproach would be the one used in openml (UST/MSC).
is there a usable and preferrably posix clock for linux? one that isn't
adjusted?

--martijn


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Nov 23 2001 - 14:45:47 EET