home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso / answers / sgi / faq / audio < prev    next >
Encoding:
Internet Message Format  |  1994-10-06  |  11.4 KB

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