home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / 17975 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.6 KB

  1. Path: sparky!uunet!dtix!relay!relay2!afterlife!adm!news
  2. From: gints@prophet.esd.sgi.com (Gints Klimanis)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: A Question About Audio Files
  5. Message-ID: <34641@adm.brl.mil>
  6. Date: 14 Dec 92 10:42:39 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 33
  9.  
  10. In article <1gghnmINNcrd@tamsun.tamu.edu>, n102ef@tamuts.tamu.edu (Ming
  11. Niu) writes:
  12. |> Hello!  I am using SGI Indigo to analyse
  13. |> various sound.   I know AIFF is a standard
  14. |> file format for an audio file.
  15. |> 
  16. |> From the standard audio file, how can I 
  17. |> get the amplitude of the sound within?
  18.  
  19. Hard to figure out your mission.  If you want to edit waveforms, try
  20. soundeditor from the 4.0.5E (probably a new letter H?, by now) release. 
  21. Soundeditor is a graphical waveform editing application.
  22.  
  23. |> After decoding, one should have a sequence
  24. |> of integers or floating points(I am not sure)
  25. |> which represent the amplitudes of the sound
  26. |> wave in a period of time.   If the sampling
  27. |> rate is 44.1KHz, that means there are 44,100
  28. |> integers or floating points.
  29.  
  30. If you intend to write your own processing utilities, you need the Audio
  31. File library, found in the Digital Media Develeper's package.  In
  32. /usr/people/4Dgifts/libaudiofile, you will find some code that
  33. reads/writes AIFF-C file header info and audio data from files.  
  34.  
  35. You may choose to read integers or floating point numbers from the file.
  36. The Audio File library will perform the necessary conversions upon
  37. proper configuration. 
  38.  
  39. If you are interested in the AIFF-C specification, ftp the file
  40. aiff-c.9.26.91.ps from directory sgi at ftp site sgi.com.
  41.  
  42. If you have any other questions, please post them to this newsgroup.
  43.