From: Michel D. <ste...@mi...> - 2002-11-01 21:56:12
|
In MacOS X, there is something a little bit like this implemented. It more or less ressembles the Master Channel of Win. Basically, you start a sound mixer at a certain frequency, then you can input as many sub-sound mixers to it as you want. Since you can sync your mixer to either computer timer or output feed sample, it is possible to have precise event-based actions. By having such a master channel (or a bgd master channel track like you suggest), we'd be okay for the sync. And I think FMod have such features, as it mixes itself the different channels to a master channel. So we might get the result's position and use it for precise positionning. It was one of the prerequisite of FMod for many MID/MOD/OGG demos. Have a nice day Mike > -----Original Message----- > From: ste...@li... > [mailto:ste...@li...]On Behalf Of Glenn > Maynard > Sent: Friday, November 01, 2002 4:39 PM > To: ste...@so... > Subject: Re: [Stepmania-devs] Sound. > > > On Fri, Nov 01, 2002 at 01:49:54PM -0500, Glenn Maynard wrote: > Here's another idea: make all songs have a BGM track. If it doesn't > have one, feed silence. > > Then just make an assumption: if sound skips, all sound skipped. That > is, if one sound skipped for 12ms, then all other sounds playing did, > too. So, if a BGM on some other track skipped, it'll be resynced > implicitly since the silence track would have skipped as well. > > Reasonable assumption? I don't know. If the sounds are being mixed in > software, in the same thread, probably. If weird things are going on > under the hood (like multiple DMA buffers for multiple sounds being fed > from multiple threads), maybe not. If it works, it'd be a lot simpler > than generating MOD data or (what I was thinking) mixing sounds ourself. > > -- > Glenn Maynard > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Stepmania-devs mailing list > Ste...@li... > https://lists.sourceforge.net/lists/listinfo/stepmania-devs |