From mailserv@gaia.ucs.orst.edu Sun Jan  8 13:36:46 1995
Precedence: Bulk
Date: Sun Jan  8 11:33:39 PST 1995
From: gus-sdk-request@gaia.ucs.orst.edu (GUS Programmer's Server)
Reply-To: gus-sdk@gaia.ucs.orst.edu (GUS Programmer's Digest)
Subject: GUS Programmer's Digest V16 #1

GUS Programmer's Digest     Sun, 8 Jan 95 11:33 PST      Volume 16: Issue   1 

Today's Topics:
                      Key Mapping in .pat files
                   Once again: Stopping UltraClicks

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: Fri, 6 Jan 1995 14:54:39 -0800
From: "Steve Shepard" <sjs@time.engr.sgi.com>
Subject: Key Mapping in .pat files

A couple of questions regarding the WaveHeader structure for all you .pat pros:

1) Is there an assumed sample rate to MIDI key mapping (e.g the wave sample
rate maps to C4) in the .pat file format? If not, how do you map root_frequency
to MIDI note number?

2) What are the units for the envelope rates and how do they relate to the
evolution of the sound?

3) Tuning allows you to change the pitch +- 1 octave. Is the range linear with
frequency?

Regards,
-Steve



-- 
Steve Shepard                                   e-mail: sjs@sgi.com
Sound Genie / Project Reality                   phone:  415-390-1579
Silicon Graphics, Inc.                          fax: 415-390-3765  

------------------------------

Date: Fri, 6 Jan 1995 19:16:00 -0500
From: Greg Chung <gchung@eden.rutgers.edu>
Subject: Once again: Stopping UltraClicks

Ok, I'm sorry to bring this up, but I still don't get it...  What is
the reasonably best method of removing the clicks and pops from an
otherwise quiet sample?  From what I've read:

Volume 0
Start Voice
Volume ramp up, to avoid the voice start pop
[...]
Stop Voice
Volume ramp down, to avoid the voice stop pop

What I don't see is how ramping the voice to zero after the fact will
remove the ending-pop.  My scheme is this:
[...]
Play all of sample except last 128 bytes
Begin early ramp down
Play remaining 128 bytes
Stop Voice (volume already at zero)



One thing I've noticed is that most players out there like to use
maximum possible volume.  I guess this is good for making low bass
stand out, but also seems to help a lot by making active samples much
louder than the clicks, so you don't hear them as much.  



One final thing that confuses me is why I still get clicks when
starting/stopping voices right after I UltraSetVolume all 32 voices to
0.

------------------------------

Date: Fri, 6 Jan 1995 18:45:46 -0500
From: David Merill <dmerrill@max.tiac.net>

subscribe

------------------------------

End of GUS Programmer's Digest V16 #1
*************************************

To post to tomorrow's digest:                    <gus-sdk@mail.orst.edu>
To (un)subscribe or get help:            <gus-sdk-request@mail.orst.edu>
To contact a human (last resort):          <gus-sdk-owner@mail.orst.edu>

                       FTP Sites                     Archive Directories
                       ---------                     -------------------
Main N.American Site:  ftp.orst.edu                  pub/packages/gravis
                       wuarchive.wustl.edu           systems/ibmpc/ultrasound
Main Asian Site:       nctuccca.edu.tw               PC/ultrasound
Main European Site:    src.doc.ic.ac.uk              packages/ultrasound
Main Australian Site:  ftp.mpx.com.au                /ultrasound/general
                                                     /ultrasound/submit
South African Site:    ftp.sun.ac.za                 /pub/packages/ultrasound
Submissions:           archive.epas.utoronto.ca      pub/pc/ultrasound/submit
Newly Validated Files: archive.epas.utoronto.ca      pub/pc/ultrasound

Mirrors:               garbo.uwasa.fi                mirror/ultrasound
                       ftp.st.nepean.uws.edu.au      pc/ultrasound
                       ftp.luth.se                   pub/msdos/ultrasound

                       Gopher Sites                  Menu directory
                       ------------                  --------------
Main Site:             src.doc.ic.ac.uk              packages/ultrasound

                       WWW Pages
                       ---------
Main Site:             http://www.cs.utah.edu/~debry/gus.html

Main European Site:    http://src.doc.ic.ac.uk/packages/ultrasound/
Main Australian Site:  http://ftp.mpx.com.au/archive/ultrasound/general/
                       http://ftp.mpx.com.au/archive/ultrasound/submit/
                       http://ftp.mpx.com.au/gravis.html
                       
Mirrors:               http://www.st.nepean.uws.edu.au/pub/pc/ultrasound/

MailServer For Archive Access: Email to <mail-server@nike.rz.uni-konstanz.de>
                               Email to <ftpmail@doc.ic.ac.uk>

New Submit Files Mailing List: Email to <listproc@uni-konstanz.de>
                         with content "subscribe epas-list <your-name-here>"

Hints:
      - Get the FAQ from the FTP sites or the request server.
      - Mail to <gus-sdk-request@mail.orst.edu> for info about other GUS
	related mailing lists (general use, musician's, etc.).


