home *** CD-ROM | disk | FTP | other *** search
/ ftp.4front-tech.com / ftp.4front-tech.com.tar / ftp.4front-tech.com / ossfree / snd-util-3.8.tar.gz / snd-util-3.8.tar / sndkit / gustest / Readme < prev   
Text File  |  1997-12-08  |  2KB  |  66 lines

  1. The programs in this directory are more or less incompletely implemented.
  2. I have used them for debugging purposes while developing the driver.
  3.  
  4. Files in this directory:
  5.  
  6.  
  7. gusload.c    This program can be used to load patches (samples) to
  8.         the DRAM of GUS. It understands the format used in the
  9.         .pat files shipped with GUS.
  10.  
  11.         Usage:    gusload pgm# patchfile.
  12.           or    gusload reset    #Removes all patches from memory.
  13.           or    gusload pgm# GM #Loads a general Midi patch.
  14.  
  15.         You should load just the patches you will need to play
  16.         a Midi file, since the memory capacity of GUS is rather
  17.         limited (256k-1M).
  18.  
  19.         Example:
  20.  
  21.             gusload 0 acpiano.pat
  22.             gusload 1 britepno.pat
  23.             gusload 19 church.pat
  24.             gusload 19 GM    (does the same than the previous one)
  25.  
  26.         This program is not required if the adagio package is
  27.         used. It can do the patch uploading itself.
  28.  
  29. gmod.c        This is a simple module player which demonstrates 
  30.         programming with GUS. It doesn't try to interpret
  31.         most of the effect commands. In fact this program
  32.         may interpret the modules incorrectly since I am
  33.         not a module player expert.
  34.         This version plays .MOD, .STM and .669 modules.
  35.         Note! Greg Lee is moving this stuff to the Adagio
  36.         0.4 package.
  37.  
  38. midithru.c    This program reads messages from the Midi interface
  39.         and plays the notes with an internal synthesizer
  40.         (FM or GUS). The program accepts one argument, the
  41.         synthesizer device number. In addition to the note on
  42.         and note off messages it interprets also program changes
  43.         and channel pressure messages.
  44.         If you need an example on programming the /dev/sequencer,
  45.         this is a good one. The voice allocation algorithm is
  46.         not good so don't look at it.
  47.  
  48.         NOTE!    This program is useful with gmod. Jus load
  49.             a module with gmod. Wait until the module has
  50.             finished or hit ^C. Now you can play the samples
  51.             with the midithru program.
  52.  
  53.         NOTE2!    You need a Midi keyboard to use this program. In
  54.             addition the Midi interface of GUS is not supported
  55.             yet which means you need also PAS16 or MPU-401.
  56.  
  57. pmtest.c
  58. gpatinfo.c    ******* For information only ******* 
  59.         These programs demonstrate the patch manager interface
  60.         which will be included to some later driver version. 
  61.         This interface is not complete in version 1.99.9.
  62.         Using pmtest will hang your system sooner or later.
  63.  
  64. Hannu Savolainen
  65. hannu@opensound.com
  66.