Path: chuka.playstation.co.uk!news From: Jim Newsgroups: scee.yaroze.programming.sound Subject: Re: timer for XM Date: Thu, 03 Jul 1997 13:17:22 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 25 Message-ID: <33BB9852.6700A1CA@micronetics.com> References: <33BB7631.6EE9B61B@cryogen.com> NNTP-Posting-Host: jim.micronetics.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.0b4 [en] (Win95; I) X-Priority: 3 (Normal) Alain Malek wrote: > I'm planing to make an XM player for the Yaroze > based on the Mikmod player. > But I need to have a function called at regular time > intervals. Moreover, I must be able to change the rate > and also access the KeyOn/Off sound functions from > within this timer routine. > Is it possbile to use the Rcnt stuff for this ? How about putting it in the VSyncCallBack? But you would get a different frequency depending on PAL or NTSC. So then use the root counter inside the callback to see if an event is required at that time interval, then keyon/off etc.. This is all theory. But then doesn't every thing work in theory? I have been trying to play xm's by first converting them to midi, then on to seq. And stripping the instruments out and encoding them as vags. etc.... The results where very poor. I'm just about the start my own player, and just skip the .seq stuff. Jim