GUS Programmer's Digest Fri Jun 18 00:07 Volume 2: Issue 16 Today's Topics: GUS Programmer's Digest V2 #15 pro developers kit Twos complement bit and DRAM download Weekly IRC Standard Info: - Meta-info about the GUS can be found at the end of the Digest. - Before you ask a question, please READ THE FAQ. ---------------------------------------------------------------------- Date: Thu, 17 Jun 93 07:16:43 CDT From: andrew@titan.tsd.arlut.utexas.edu (Andrew Wheeler) Subject: Re: GUS Programmer's Digest V2 #15 Message-ID: <9306171216.AA04120@titan.tsd.arlut.utexas.edu> >Firstly, I guess you didn't read the disclaimer about support -- none to >speak of. Secondly, what did you expect for free? If you want a proper >SDK get the professional one and sign the disclaimer. > >Pete >scheyen@csd.uwo.ca That's strange - I signed the non-disclosure agreement and didn't really get anything over what is available on the net. Am I missing something? -andrew andrew@mars.tsd.arlut.utexas.edu ------------------------------ Date: Thu, 17 Jun 93 9:46:25 BST From: "James Andrews, User Support" Subject: pro developers kit Message-ID: <15753.9306170846@uk.ac.uel.sol1> > > Date: Wed, 16 Jun 93 8:39:59 EDT > From: Peter G.N. Scheyen > Subject: Re: Gravis/FORTE - Please read this!!! > Message-ID: <9306161240.AA19711@mccarthy.csd.uwo.ca> > > Firstly, I guess you didn't read the disclaimer about support -- none to > speak of. Secondly, what did you expect for free? If you want a proper > SDK get the professional one and sign the disclaimer. > > Pete > scheyen@csd.uwo.ca I signed the disclaimer but havent seen hide nor hair of the pro developers kit. As for the total lack of support, this group is the only place I'll be asking if I get totally stuck james@sol1.uel.ac.uk ------------------------------ Date: Thu, 17 Jun 1993 11:47:57 -0500 (EST) From: James Reutter Subject: Twos complement bit and DRAM download Message-ID: <9306171648.AA27967@orca.es.com> In response to my recent posting about degraded sound quality, when using the UltraDownload function to load a sound file to DRAM, David MacMahon replied: ================================= I noticed crappy sound when I thought I was playing a sine wave. It turns out that setting the "convert to 2's comp" bit in the "mode" byte of the call to UltraDownload made my sine wave sound (and look) like a sine wave. ================================= This was precisely the problem. In case anybody else out there is doing the same thing, here are some details: * Sound files were .SND files, provided as samples with the SDK, or converted from .WAV format (same problem with all these files) * UltraDownload function takes arguments dataptr, control, dram_loc, len, wait [page 6 of 2.01 SDK documentation], where "control" is the mode mask. Bit 7 (high-order bit) of the DMA control bit mask [page 78 of aforementioned doc.] is the bit to convert to 2's complement. In my case, I set this bit to 1 [=do the convert]. In C, easiest way to do this is to initialize "control" to zero, then set control |= 0x80 [i.e. bitwise OR control with hex 80 = 10000000 binary]. Without this bit set on, the sound is audible, and, in our case, intelligible (we're using speech samples) but highly distorted and staticky. Apparently (correct me if I'm wrong) then, .SND format is one's complement. ------------------------------ Date: Thu, 17 Jun 1993 20:51 EDT From: GILMOUR@BINAH.CC.BRANDEIS.EDU Subject: Weekly IRC Message-ID: <01GZHYEX1HTC9N76A5@BINAH.CC.BRANDEIS.EDU> I was wondering if I could drum up some support for a weekly (or whatever) IRC (Internet Relay Chat) get together to talk about programming the GUS. I'm rather new to programming in C and think this would be a great way to supplement this newsletter. Any ideas?... -Jeff ------------------------------ End of GUS Programmer's Digest V2 #16 ************************************* To post to tomorrow's digest: To (un)subscribe or get help: To contact a human (last resort): FTP sites: archive.epas.utoronto.ca pub/pc/ultrasound wuarchive.wustl.edu systems/msdos/ultrasound Hints: - Get the FAQ from the FTP sites or the request server. - Mail to for info about other GUS related mailing lists (UNIX, OS/2, GUS-MIDI, etc.)