Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!rutgers!rochester!pt.cs.cmu.edu!b.gp.cs.cmu.edu!Ralf.Brown@B.GP.CS.CMU.EDU From: Ralf.Brown@B.GP.CS.CMU.EDU Newsgroups: comp.sys.ibm.pc Subject: Re: Need help on sound effects Message-ID: <23c21dc3@ralf> Date: 4 Jan 89 13:36:03 GMT Sender: ralf@b.gp.cs.cmu.edu Lines: 19 In-Reply-To: <6117@hoptoad.uucp> In article <6117@hoptoad.uucp>, pozar@hoptoad.uucp (Tim Pozar) writes: }In article <766@hpwala.wal.hp.com> boba@hpwala.wal.hp.com (Bob Alexander) writes: }>crash. I understand how to make pure notes with the IBM's speaker, }>but could someone please advise me on how to make noise? Or is it }>not possible? } } How 'bout random bytes sent to the speaker port? Sounds }like white noise to me! You'd better mask off all but the low two bits, and preserve the high six bits of the port's value, or you'll be doing quite a bit more than making noises on the speaker. Most clones use one of the bits in that port to switch between 4.77 and turbo speeds. And the other five bits are also in use. -- UUCP: {ucbvax,harvard}!cs.cmu.edu!ralf -=-=-=- Voice: (412) 268-3053 (school) ARPA: ralf@cs.cmu.edu BIT: ralf%cs.cmu.edu@CMUCCVMA FIDO: Ralf Brown 1:129/31 Disclaimer? I claimed something? You cannot achieve the impossible without attempting the absurd.