home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 September / WIN95_09964.iso / midi / tim3202i.zip / FAQ < prev    next >
Text File  |  1996-06-01  |  9KB  |  209 lines

  1. ---------------------------*-indented-text-*------------------------------
  2.  
  3.     TiMidity -- Experimental MIDI to WAVE converter
  4.     Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>
  5.  
  6. --------------------------------------------------------------------------
  7.  
  8.    Frequently Asked Questions with answers:
  9.  
  10. --------------------------------------------------------------------------
  11. Q: What is it?
  12.  
  13. A: Where?  Well Chris, TiMidity is a software-only synthesizer, MIDI
  14.    renderer, MIDI to WAVE converter, realtime MIDI player for UNIX machines,
  15.    even (I've heard) a Netscape helper application.  It takes a MIDI file
  16.    and writes a WAVE or raw PCM data or plays it on your digital audio
  17.    device.  It sounds much more realistic than FM synthesis, but you need a
  18.    ~100Mhz processor to listen to 32kHz stereo music in the background while
  19.    you work.  11kHz mono can be played on a low-end 486, and, to some, it
  20.    still sounds better than FM.
  21.  
  22. --------------------------------------------------------------------------
  23. Q: I don't have a GUS, can I use TiMidity?
  24.  
  25. A: Yes.  That's the point.  You don't need a Gravis Ultrasound to use
  26.    TiMidity, you just need GUS-compatible patches, which are freely
  27.    available on the Internet.  See below for pointers.
  28.  
  29. --------------------------------------------------------------------------
  30. Q: I have a GUS, can I use TiMidity?
  31.  
  32. A: The DOS port doesn't have GUS support, and TiMidity won't be taking
  33.    advantage of the board's internal synthesizer under other operating
  34.    systems either.  So it kind of defeats the purpose.  But you can use it.
  35.  
  36. --------------------------------------------------------------------------
  37. Q: It doesn't work.  It doesn't play anything, and it prints out error
  38.    messages and stuff.
  39.  
  40. A: Read the INSTALL file, or get someone to read it for you.  Then go
  41.    through the rest of the documentation, there really isn't that much.
  42.    Once you've got it working in the distribution directory, here's a list
  43.    of further things to do:
  44.  
  45.    Get a full General Midi set.  Create a directory, say C:\TIMIDITY or
  46.    /usr/local/lib/timidity, and put all the *.pat files in it.  Also toss
  47.    in all of the *.cfg files that came with the TiMidity distribution.
  48.    Then edit timidity.cfg:
  49.  
  50.    Uncomment and edit the dir statement to read "dir c:\timidity" or
  51.    whatever, and uncomment the "source gravis.cfg" statement.
  52.  
  53.    Now run the program: "timidity -L c:\timidity <midi files>"
  54.  
  55.    That should do it really.  Note that TiMidity always checks the current
  56.    directory first, so things might get confusing if you've got different
  57.    copies of the config files in various places. "timidity -idvv
  58.    <midifile>" will list all attempts to open patch files, which might
  59.    help.
  60.  
  61.    If it still doesn't work, email me and/or the author of the particular
  62.    port, if using a non-Unix version.
  63.  
  64. --------------------------------------------------------------------------
  65. Q: I tried playing a MIDI file I got off the Net but all I got was a
  66.    dozen warnings saying "No instrument mapped to tone bank 0, program
  67.    xx - this instrument will not be heard". What's wrong?
  68.  
  69. A: The General MIDI standard specifies 128 melodic instruments and
  70.    some sixty percussion sounds. If you wish to play arbitrary General
  71.    MIDI files, you'll need to get more patch files.
  72.  
  73.    There's a program called Midia for SGI's, which also plays MIDI
  74.    files and has a lot more bells and whistles than TiMidity. It uses
  75.    GUS-compatible patches, too -- so you can get the 8 MB set at
  76.    ftp://archive.cs.umbc.edu/pub/midia for pretty good GM compatibility.
  77.  
  78.    There are also many excellent patches on the Ultrasound FTP sites.
  79.    I can recommend Dustin McCartney's collections gsdrum*.zip and
  80.    wow*.zip in the "[.../]sound/patches/files" directory. The huge
  81.    ProPats series (pp3-*.zip) contains good patches as well. General
  82.    MIDI files can also be found on these sites.
  83.  
  84.    This site list is from the GUS FAQ:
  85.  
  86. >                        FTP Sites                     Archive Directories
  87. >                        ---------                     -------------------
  88. > Main N.American Site:  archive.orst.edu              pub/packages/gravis
  89. >                        wuarchive.wustl.edu           systems/ibmpc/ultrasound
  90. > Main Asian Site:       nctuccca.edu.tw               PC/ultrasound
  91. > Main European Site:    src.doc.ic.ac.uk              packages/ultrasound
  92. > Main Australian Site:  ftp.mpx.com.au                /ultrasound/general
  93. >                                                      /ultrasound/submit
  94. > South African Site:    ftp.sun.ac.za                 /pub/packages/ultrasound
  95. > Submissions:           archive.epas.utoronto.ca      pub/pc/ultrasound/submit
  96. > Newly Validated Files: archive.epas.utoronto.ca      pub/pc/ultrasound
  97. > Mirrors:               garbo.uwasa.fi                mirror/ultrasound
  98. >                        ftp.st.nepean.uws.edu.au      pc/ultrasound
  99. >                        ftp.luth.se                   pub/msdos/ultrasound
  100.  
  101. --------------------------------------------------------------------------
  102. Q: This MIDI file used to work fine with version 0.0001z but now it
  103.    suddenly sounds weird. What happened?
  104.  
  105. A: Something changed in the way TiMidity interprets MIDI or patch
  106.    parameters. If you think it changed for the worse, try to find out
  107.    which patch/MIDI file is causing problems, exactly what is different,
  108.    and if possible, why :) Also, try another MIDI player or device to
  109.    hear how the file is played correctly. Then mail me.
  110.  
  111.    If you just upgraded from 0.2c or lower, note that you'll need to
  112.    update your configuration files. See "gravis.cfg" for an example.
  113.  
  114. --------------------------------------------------------------------------
  115. Q: Some files have awful clicks and pops.
  116.  
  117. A: Find out which patch is responsible for the clicking (try "timidity
  118.    -P<patch> <midi/test-decay|midi/test-panning>".  Add "strip=tail" in
  119.    the config file after its name.  If this doesn't fix it, mail me the
  120.    patch.
  121.  
  122. --------------------------------------------------------------------------
  123. Q: I'm playing Fantasie Impromptu in the background. When I run Netscape,
  124.    the sound gets choppy and it takes ten minutes to load. What can I do?
  125.  
  126. A: Here are some things to try:
  127.  
  128.    - Use a lower sampling rate.
  129.  
  130.    - Use mono output. This can improve performance by 10-30%.
  131.      (Using 8-bit instead of 16-bit output makes no difference.)
  132.  
  133.    - Use a smaller number of simultaneous voices.
  134.  
  135.    - Make sure you compiled with FAST_DECAY and PRECALC_LOOPS enabled
  136.      in config.h
  137.  
  138.    - If you don't have hardware to compute sines, recompile with
  139.      LOOKUP_SINE enabled in config.h
  140.  
  141.    - Recompile with LOOKUP_HACK enabled in config.h.
  142.  
  143.    - Recompile with LINEAR_INTERPOLATION disabled in config.h.
  144.  
  145.    - Recompile with DANGEROUS_RENICE enabled in config.h, and make
  146.      TiMidity setuid root. This will help only if you frequently play
  147.      music while other processes are running.
  148.  
  149.    - Recompile with an Intel-optimized gcc for a 5-15%
  150.      performance increase.
  151.  
  152.    - Use "bag". 
  153.  
  154. --------------------------------------------------------------------------
  155. Q: I made TiMidity setuid root. Starting Netscape now takes *twenty*
  156.    minutes!
  157.  
  158. A: Wow.
  159.  
  160. --------------------------------------------------------------------------
  161. Q: I can't reach the WWW page. Is the URL okay?
  162.  
  163. A: The URL is fine, but clinet.fi is connected to the Internet via two
  164.    monkeys banging 5-bit PPP on a pair of teletypewriters.  If you have
  165.    trouble connecting, please try again later in case they've gotten
  166.    banana in the mechanism or started eating the tape or something.  The
  167.    source is also available at
  168.    ftp://sunsite.unc.edu/Linux/apps/sound/players/ although not every
  169.    release gets there.  You can also try a mirror at
  170.    http://www.loria.fr/~pagel/
  171.  
  172.    Other foreign mirror sites would be welcome -- if you can spare a few
  173.    megs of http space on your server, please email me!
  174.  
  175. --------------------------------------------------------------------------
  176. Q: Is there any kind of TiMidity Contest where I could win great
  177.    prizes like a trip to â•“stersundom, Finland to have dinner with the
  178.    author and have my picture taken with a polar bear and a free
  179.    year's subscription to TiMidity Inside Edition beta versions and...
  180.  
  181. A: Sure.  Announcing the TIMIDITY PATCH TREASURE HUNT-AND-DESTROY!
  182.    You may already be a winner!  All you have to do is find the
  183.    weirdest GUS patch you can, take it to your nearest Unix Prompt,
  184.    and say the magic words:
  185.  
  186.     "cat weird.pat |
  187.     gzip -9 |
  188.     uuencode weird.pat.gz |
  189.     pbmtext |
  190.     pnmscale 3 |
  191.     pgmtopbm |
  192.     pbmtoascii -2x4 |
  193.     od -vb |
  194.     morse |
  195.     sed -e 's/,/....../' |
  196.     say -a -o -
  197.     uuencode contest_entry.au |
  198.     mail -s 'Contest Entry' John.R.Format-Designer@gravis.whatever"
  199.  
  200.    [DISCLAIMER: Contestants must be under 18 months to enter.  Rules not
  201.    available on request.  You won't get a prize.  Don't try this at home.
  202.    Winners will not be announced in the New York Times on July 10th, 1996.
  203.    Winners will not be informed privately.  There are no winners, only
  204.    survivors.  Void where not prohibited by common sense.  Punishable by up
  205.    to three years imprisonment and/or a $500,000 fine.  Don't send money.]
  206.  
  207. --------------------------------------------------------------------------
  208.