TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: DANIEL TROY
from: CRAIG HART
date: 1997-09-09 09:14:00
subject: SoundBlaster multiple output ?!

 DT> and umm how do games play music in the background?
 DT> and umm is it to do with dma?
You can do it any number of ways, however, you usually use adlib type music 
which is not DMA driven. For example, in doom the 'music' is adlib, the 
'effects' (monster screams, blasts, etc) are played through the digital 
channel with DMA.
You should check out any good adlib music player (for example: RAD) for the 
general idea (which is to set up a timer-griven interrupt at around 50 hertz 
and to feed the adlib a new command once every interrupt)
       Craig
--- FMail/386 1.20+
---------------
* Origin: Comms Barrier BBS +61.3.9585.1112, +61.3.9583.6119 (3:632/533)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.