GUS Programmer's Digest Thu Jun 3 00:07 Volume 2: Issue 3 Today's Topics: GUS Programmer's Digest V4 #2 patch player Samples and patches naming convention work list 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: 02 Jun 1993 15:31:54 +0800 From: TC Subject: Re: GUS Programmer's Digest V4 #2 Message-ID: <01GYWOUW0BIA9BVGWI@NTUVAX.NTU.AC.SG> > FINALLY, since they only provice the header format, and not much > else, I assume if we want to load patches and use them, we need to > manually read in the header, figure it all out, assign memory > locations to each part of each patch, do the same for all the other > patches, making sure there's enough memory, then go on? That is indeed the case. Since I am working on GMOS, I have been messing around with the patches. I am planning to release the portion of GMOS that messes around with patch reading/loading/playing as a library if anyone should be interested. Secondly, can someone tell me what does the field 'Tremolo sweep' and 'Vibrato sweep' control? I have managed to get just about all of the patch control working with multi-sample, sustain, etc, except for the tremolo and vibrato. .tc ------------------------------ Date: Wed, 2 Jun 93 11:29:00 CDT From: eason@ncrnd3.StPaul.NCR.COM (Dale Eason) Subject: Re: patch player Message-ID: <9306021629.AA06087@ncrnd3.StPaul.NCR.COM> In the gus-sdk newsletter you write: I assume if we want to load patches and use them, we need to manually read in the header, figure it all out, assign memory locations to each part of each patch, do the same for all the other patches, making sure there's enough memory, then go on? That is correct. I have both the high level and lowlevel SDK's. The high level gives you the routines that load patches and playes them. There is actually a lot of code involved. Send me mail if you want to know more. Dale ------------------------------ Date: Wed, 2 Jun 93 11:18:46 CDT From: eason@ncrnd3.StPaul.NCR.COM (Dale Eason) Subject: Samples and patches naming convention Message-ID: <9306021618.AA05798@ncrnd3.StPaul.NCR.COM> We need to clarify the difference between a sample and a GRAVIS patch. Let me try to explain the difference. A sample is a raw sound file that is recorded in 8 or 16 bit, 2's complement or binary offset. They can be made with playfile -r, Uss8 or other sound recording programs. Some may have headers in front of the data and are usually given the .snd extension. By Gravis definition a patch file contains at least one of these samples and includes a header with information to tell the GUS software how to play the samples it contains. The patch program from Gravis is used to create or edit the patch file. The patch format is described in a c header file but I forgot which one. Gravis includes subroutines in thier high level SDK to load and play the patch files. They do not include them in the lowlevel. We must build our own. :( Dale Eason ------------------------------ Date: Wed, 2 Jun 1993 12:48:33 +0200 From: anuj@fwi.uva.nl (Anuj Dev) Subject: work list Message-ID: <199306021048.AA02938@carol.fwi.uva.nl> Hi Is is a good idea to keep a list of projects that we (gus-sdk users) are working on? I think a lot of people are doing the same thing not knowing that others are working on it too. So, I suggest that you all POST A DESCRIPTION OF THE THING YOU ARE WORKING ON This could be something like this (the thing I'm currently doing): email: anuj@fwi.uva.nl Project: Fast handling of gus interrupts under windows. This will bypass the windows drivers for the ultrasound enabling total control of the hardware for the windows application. Status: Implementing POST YOURS Ciao anuj ------------------------------ End of GUS Programmer's Digest V2 #3 ************************************ 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.)