home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / MM1 / SOUNDUTILS / mm1_play.lzh / PLAY / Read.Me < prev    next >
Text File  |  1994-10-10  |  2KB  |  42 lines

  1.  
  2.   Here are my sound playing programs for MM/1. They can play NeXT/Sun *.au
  3. files, Amiga IFF/8SVX files, Creative Voice *.voc files and Microsoft *.wav
  4. files. There is a separate program to play each type of file. Information
  5. about the sound file formats can be obtained in the form of audio-fmts.faq
  6. file, available by anonymous ftp from directory pub/audio on ftp.cwi.nl or
  7. from /pub/usenet/news.answers on rtfm.mit.edu.
  8.  
  9.   The ideas behind writing these programs from scratch were:
  10.  
  11. - to be able to play various formats
  12. - to see the parameters encoded in the files (number of channels, sample rate)
  13. - to be able to find what is going on if something fails
  14. - to have a compact documentation of the formats (in the form of the sources).
  15.  
  16.   Eventually I wanted to merge these into one playing program  and perhaps
  17. add a graphical/mouse interface. This is not yet done and I decided to
  18. release the sources now in order not to delay it any longer. A simple
  19. program that tries to recognize the file format using the first four bytes
  20. of the file has been added instead.
  21.  
  22.   All the programs can play sound files of any length. This is done by
  23. double buffering - one buffer is played when the other one is filled.
  24. However, this has a side effect while reading the file from a slow medium
  25. (like a diskette) - there are pauses between the buffers. The buffer size in
  26. each program is called BUFFER_SIZE, is now equal to 100000, and can be
  27. easily changed.
  28.  
  29.   All files are played in stereo - the mono files are converted to stereo by
  30. sending identical sounds to both channels. Although MM/1 has an
  31. (undocumented) mono mode, it sends bytes to alternate channels. This causes
  32. audible distortions of the sound (unless both channels are connected to the
  33. same speaker).
  34.  
  35.   I release these programs to the public domain.
  36.  
  37.    Enjoy
  38.  
  39.  Andrzej Kotanski
  40.  
  41. (kotanski@zeus02.desy.de)                   Cracow, Poland, October 10, 1994
  42.