home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / sgi / faq.audio < prev    next >
Encoding:
Text File  |  1995-07-25  |  11.0 KB  |  274 lines

  1. Subject: SGI audio Frequently Asked Questions (FAQ)
  2. Newsgroups: comp.sys.sgi.misc,comp.answers,news.answers
  3. From: sgi-faq@viz.tamu.edu (The SGI FAQ group)
  4. Date: 20 Nov 1994 07:00:00 GMT
  5.  
  6. Archive-name: sgi/faq/audio
  7. Last-modified: Tue Nov 15 14:55:30 CST 1994
  8.  
  9.     SGI audio Frequently Asked Questions (FAQ)
  10.  
  11. This is one of the Silicon Graphics FAQ series, which consists of:
  12.  
  13.     SGI admin FAQ - IRIX system administration
  14.     SGI apps FAQ - Applications and miscellaneous programming
  15.     SGI audio FAQ - Audio applications and programming
  16.     SGI graphics FAQ - Graphics and user environment customization
  17.     SGI hardware FAQ - Hardware
  18.     SGI Impressario FAQ - IRIS Impressario
  19.     SGI Inventor FAQ - IRIS Inventor
  20.     SGI misc FAQ - Introduction & miscellaneous information
  21.     SGI movie FAQ - Movies
  22.     SGI Performer FAQ - IRIS Performer
  23.     SGI pointer FAQ - Pointer to the other FAQs
  24.  
  25. Read the misc FAQ for information about the FAQs themselves.  Each FAQ
  26. is posted to comp.sys.sgi.misc and to the news.answers and comp.answers
  27. newsgroups (whose purpose is to store FAQs) twice per month.  If you
  28. can't find one of the FAQs with your news program, you can get it by
  29. anonymous FTP from one of these sites:
  30.  
  31.     rtfm.mit.edu:/pub/usenet/comp.sys.sgi.misc/
  32.     rtfm.mit.edu:/pub/usenet/news.answers/sgi/faq/
  33.     rtfm.mit.edu:/pub/usenet/comp.answers/sgi/faq/
  34.     viz.tamu.edu:/pub/sgi/faq/
  35.  
  36. Note that rtfm.mit.edu is home to many other FAQs and informational
  37. documents, and is a good place to look if you can't find an answer
  38. here. If you can't use FTP, send mail to mail-server@rtfm.mit.edu with
  39. the command 'send usenet/news.answers/ftp-list/faq' on a line by itself
  40. in the text, and it will send you a document describing how to FTP by
  41. mail. You can also read a hypertext version of the FAQs at
  42.  
  43.     http://www.cis.ohio-state.edu/hypertext/faq/usenet/sgi/top.html
  44.  
  45. The SGI FAQs are freely distributable and we encourage wide circulation.
  46. The contents are accurate as far as we know, but the usual disclaimers
  47. apply. Please send additions and changes to sgi-faq@viz.tamu.edu.
  48.  
  49. Topics covered in this FAQ:
  50. ---------------------------
  51.    -1- How do I program the Motorola 56000 DSP on the Indigo (R3K and
  52.        R4K)?
  53.    -2- How do I connect my stereo to my Ind{igo,igo2,y}?
  54.    -3- How do I change the volume of the audio out the back of my
  55.        machine?
  56.    -4- Indigo2 speaker seems quieter than my Indigo. Am I imagining
  57.        things?
  58.    -5- I need to crank up the input gain on Indigo2 to use the
  59.        microphone successfully. What's the scoop?
  60.    -6- The glossy paper says that Indigo2 and Indy have 4-channel input
  61.        and output. That sounds really cool. How do I use it?
  62.    -7- Okay, so 4-channels of input and output is great, but I need
  63.        more. Can I get more channels of audio for my machine?
  64.    -8- Now that I have IRIX 5.X, I can't seem to find audio.h and
  65.        libaudio.a in order to compile my audio code. What gives?
  66.    -9- I like the boot tune, but it's just a bit too loud. How do I tone
  67.        it down a bit?
  68.   -10- How can I change the output speaker/headphone volume from a shell
  69.        script?
  70.   -11- What 3rd party audio solutions exist for Silicon Graphics
  71.        machines?
  72.   -12- I'd like to write my own audio programs. How do I get started?
  73.  
  74. ----------------------------------------------------------------------
  75.  
  76. Subject:    -1- How do I program the Motorola 56000 DSP on the Indigo
  77.                 (R3K and R4K)?
  78. Date: 20 Aug 94 00:00:01 EST
  79.  
  80.   Short answer: You don't.
  81.  
  82.   Long answer: The DSP on the Indigo is used exclusively by the audio
  83.   system: whenever you are using the audio, you are using the DSP.
  84.  
  85.   In order to insure that audio processes are serviced, access to the DSP
  86.   is limited to the audio device driver which performs all functions on
  87.   behalf of application programs.
  88.  
  89.   Moreover, any code developed for the DSP on the Indigo may not work on
  90.   other systems since the DSP is not guaranteed to be present. For
  91.   instance, Indigo2 and Indy do not have a DSP. Audio is supported by a
  92.   combination of code running on the CPU and a audio ASIC chip. SGI
  93.   supports the Audio Library software inter- face as opposed to any
  94.   particular hardware implementation of the audio system.
  95.  
  96.   Lastly, any signal processing code developed on the host CPU benefits
  97.   from speed increases of the CPU (and this code is easier to write as
  98.   well).
  99.  
  100. ------------------------------
  101.  
  102. Subject:    -2- How do I connect my stereo to my Ind{igo,igo2,y}?
  103. Date: 20 Aug 94 00:00:01 EST
  104.  
  105.   The Line in and Line out levels have been designed to be directly
  106.   connected to conventional stereo systems.
  107.  
  108.   One way to do it is to connect it up as if the computer was a tape
  109.   recorder.  Line out on the computer connects to Rec in on the stereo
  110.   and Line in connects to Rec out.
  111.  
  112. ------------------------------
  113.  
  114. Subject:    -3- How do I change the volume of the audio out the back of
  115.                 my machine?
  116. Date: 20 Aug 94 00:00:01 EST
  117.  
  118.   The headphone and speaker volume is adjusted using apanel(1). The
  119.   sliders under the 'Speaker' label control the output volume of the
  120.   speaker and headphone. The line-level output voltage is not
  121.   affected.
  122.  
  123. ------------------------------
  124.  
  125. Subject:    -4- Indigo2 speaker seems quieter than my Indigo. Am I
  126.                 imagining things?
  127. Date: 20 Aug 94 00:00:01 EST
  128.  
  129.   No, this is not a figment of the imagination. There are two factors
  130.   at work that make the Indigo2 quieter than Indigo: 1) the speaker amp
  131.   is less powerful on Indigo2; 2) the system fan on Indigo2 is louder
  132.   than the Indigo fan. These two things lead to a quiet speaker that
  133.   seems even quieter. See the release notes for more information.
  134.  
  135. ------------------------------
  136.  
  137. Subject:    -5- I need to crank up the input gain on Indigo2 to use the
  138.                 microphone successfully. What's the scoop?
  139. Date: 20 Aug 94 00:00:01 EST
  140.  
  141.   The Indigo2 and Indy both have less input gain than the Indigo and
  142.   4D/35. However, all have plenty of gain to operate the microphone.
  143.   On the Indigo2 and Indy, you have to set the input gain to a larger
  144.   nominal level.
  145.  
  146. ------------------------------
  147.  
  148. Subject:    -6- The glossy paper says that Indigo2 and Indy have 4-
  149.                 channel input and output. That sounds really cool. How
  150.                 do I use it?
  151. Date: 20 Aug 94 00:00:01 EST
  152.  
  153.   In order to enable 4-channel audio, you must choose "4-channel mode"
  154.   from the 'Options' menu of apanel or make a call in your program to
  155.   ALsetparams(3A). See the man page for ALsetparams(3A) for more infor-
  156.   mation.
  157.  
  158.   Enabling the 4-channel mode will cause the electrical char-
  159.   acteristics of your audio connections to change: the headphone jack
  160.   will become a second line-level output (like the normal line-level
  161.   output). The mic input will become a second line-level input *if* you
  162.   have 'line' selected as your input source. If you have the input
  163.   source set to 'mic', then the mic input will continue to behave as a
  164.   microphone input.
  165.  
  166.   Lastly, when your machine is in 4-channel mode, the input and output
  167.   sample rates will be locked together. Thus, changing the input or
  168.   output rate in this mode will affect the output or input rate,
  169.   respectively.
  170.  
  171.   You may also run 4-channel applications when the audio system in in
  172.   2-channel mode, and vice versa (2-channel applications work when the
  173.   system is in 4-channel mode).
  174.  
  175. ------------------------------
  176.  
  177. Subject:    -7- Okay, so 4-channels of input and output is great, but I
  178.                 need more. Can I get more channels of audio for my
  179.                 machine?
  180. Date: 20 Aug 94 00:00:01 EST
  181.  
  182.   Sonic Solutions (San Raphael, CA) has announced that it is porting
  183.   Sonic System to SGI platforms. See below.
  184.  
  185. ------------------------------
  186.  
  187. Subject:    -8- Now that I have IRIX 5.X, I can't seem to find audio.h
  188.                 and libaudio.a in order to compile my audio code. What
  189.                 gives?
  190. Date: 20 Aug 94 00:00:01 EST
  191.  
  192.   The #include file audio.h and the library libaudio.a became a part of
  193.   the "Digital Media Developement Option" (dmdev) in IRIX 5.X.  Dmdev
  194.   contains more than just the audio development libraries, and it is
  195.   available for an extra fee. If you are like many people and think
  196.   this is a bogus situation, tell your salesperson.
  197.  
  198. ------------------------------
  199.  
  200. Subject:    -9- I like the boot tune, but it's just a bit too loud. How
  201.                 do I tone it down a bit?
  202. Date: 20 Aug 94 00:00:01 EST
  203.  
  204.   The boot tune volume is controlled by the 'volume' variable used by
  205.   the system PROM. The value for 'volume' can be set in the range
  206.   [0-255], where lower numbers represent a lower boot tune volume.  A
  207.   'volume' value of 0 disables the boot tune, viz. the tune is not
  208.   played at all.  The value of 'volume' can be set in the PROM monitor
  209.   or using the nvram(1M) command.
  210.  
  211. ------------------------------
  212.  
  213. Subject:   -10- How can I change the output speaker/headphone volume
  214.                 from a shell script?
  215. Date: 20 Aug 94 00:00:01 EST
  216.  
  217.   You can use two methods to do this: 1) apanel -nodisplay or volume.c
  218.   program (this program can be found in ~4Dgifts/examples/ libaudio
  219.   directory).
  220.  
  221. ------------------------------
  222.  
  223. Subject:   -11- What 3rd party audio solutions exist for Silicon
  224.                 Graphics machines?
  225. Date: 20 Aug 94 00:00:01 EST
  226.  
  227.   Doug Cook <cook@sgi.com> maintains a list of "Audio Applications for
  228.   Silicon Graphics Systems" which he posts to comp.sys.sgi.audio. A
  229.   copy is at viz.tamu.edu:/pub/sgi/lists/audio-apps.
  230.  
  231. ------------------------------
  232.  
  233. Subject:   -12- I'd like to write my own audio programs. How do I get
  234.                 started?
  235. Date: 20 Aug 94 00:00:01 EST
  236.  
  237.   First, for 5.2 systems you need the Digital Media Development
  238.   Option.  From Michael Portuesi (portuesi@sgi.com):
  239.  
  240.   The Digital Media Development Option contains the Video, Audio, Audio
  241.   File, MIDI, CD, DAT, Movie, and Compression Libraries for your
  242.   digital media programming enjoyment.
  243.  
  244.   The part number for the Digital Media Development Option is
  245.   SC4-DMDEV-2.0.   If you would like to develop applications which
  246.   manipulate QuickTime files, you must also order the companion
  247.   product, QuickTime 1.0 Compressor Library, part number SC4-QTCL-1.0.
  248.  
  249.   In the United States, you can order these products by calling Silicon
  250.   Graphics toll-free at 1-800-800-SGI1 (1-800-800-7441).  If you live
  251.   in a country other than the United States, contact your nearest
  252.   Silicon Graphics office, or call one of these regional telephone
  253.   numbers:
  254.  
  255.   Europe                  (41) 22-798.75.25       (Geneva, CH)
  256.   North Pacific           (81) 3-5420.71.10
  257.   South Pacific           (61) 2-879.95.00
  258.   Latin America           1(415) 390.46.37
  259.   Canada                  1(416) 625-4747
  260.  
  261.   For audio, example code is contained in ~4Dgifts/examples/libaudio.
  262.   This example code comes with the DMDEV option.  Other code
  263.   demonstrating the use of the CD and DAT audio libraries can be found
  264.   in a 'tar' file at ftp.sgi.com:~ftp/sgi/dat.
  265.  
  266. ------------------------------
  267.  
  268. End of sgi/faq/audio Digest
  269. ******************************
  270. -- 
  271. The SGI FAQ group                                sgi-faq@viz.tamu.edu
  272. Finger us for info on the SGI FAQs, or look in viz.tamu.edu:/pub/sgi.
  273.  
  274.