home *** CD-ROM | disk | FTP | other *** search
/ Sound, Music & MIDI Collection 2 / SMMVOL2.bin / DEMO / PRG / CTHUG53.ZIP / CTHUGHA.DOC < prev    next >
Encoding:
Text File  |  1995-06-24  |  14.2 KB  |  440 lines

  1.  
  2.                                  Cthugha V5.3
  3.                           'An Oscilliscope on Acid'
  4.  
  5.                     by the Digital Aasvogel Group. 1993-1995
  6.                             Revision V5.3 - 22Mar95 zaph/moles
  7.  
  8.                     DOCUMENTATION 
  9.  
  10.  
  11. WWW:  http://www.afn.org/~cthugha
  12. FTP:   ftp://ftp.afn.org
  13.  
  14.                 
  15. "Cthugha has tuned in, turned on, and decidedly dropped out of the humdrum
  16.  world of scientific analog-signal processing."
  17.  - Wired 3.03, March 1995
  18.  
  19. "It gives credence to the phrase 'I can see music'...There is no real
  20.  way to describe the patterns except as weird".
  21.  - Australian PC Review Oct '94
  22.  
  23. Wavy Data
  24.      Upon first observation, oscilloscopes seems a bit ho-hum. After all, 
  25.      devices that graphically represent electrical waveforms on a display
  26.      screen tend to fall a bit short on the sex appeal scale. But if you
  27.      spend some time exploring the ways high-end oscilloscopes can visualize
  28.      data, you may start to think the machines are on drugs . . . 
  29.      Cthugha 5.1, an oscilloscope program for PC sound cards, has tuned in, 
  30.      turned on, and decidedly dropped out from the humdrum world of scientific
  31.      analog signal processing. The product of Australian code jock Kevin 
  32.      "Zaph" Burfitt, Cthugha takes your sound card's CD, line, or microphone 
  33.      input and displays it as a swirling, hypnotic, 256-color confection for 
  34.      your eyes. Although Cthugha currently requires MS-DOS, a VGA monitor, and
  35.      a Sound Blaster or Gravis UltraSound sound card, the complete C source 
  36.      code is part of the package, so you can port it, if you're so inclined. 
  37.  
  38.                                                        HotWired - March 1995
  39.  
  40.  
  41.                       What does this software do then ?
  42. -----------------------------------------------------------------------
  43. Audio input seeded image processing.
  44. Cool.
  45. Hook up your CD player to the input of your sound card,
  46. or use your CD-ROM player (if you've got one).
  47. Run Cthugha (DOS program)
  48. Then play your coolest music.
  49. - and wow, does your screen look like a 90's lava lamp or what ?
  50.  
  51. Cthugha 'listens' to your music, and changes the display dynamically
  52. to the sound.  
  53.  
  54. Ever looked at an oscilliscope of your voice or of music ?
  55.  
  56. Think of this as an oscilliscope on acid.
  57.  
  58.  
  59.  
  60.                        Who's this Cthugha dude anyway ?
  61. -----------------------------------------------------------------------
  62. "Cthugha" is hard to pronounce (Kuth-ooo-Ga), and harder to spell.
  63. The name is an ancient name from the occults.
  64. The following is an extract from the texts that describe him (it) the best.
  65.  
  66. "Cthugha resembles an enormous burning mass continually varying in shape.
  67. It dwells at or near the star Fomalhaut, from whence it may be called.
  68. It is one of the most obscure and remote of all the Great Old Ones."
  69. Call of Cthulhu - Chaosium
  70.  
  71. When Cthugha is summoned he is always accompanied by Fire Vampires.
  72.  
  73. 'There appeared thousands of tiny points of light. ... The myriad points of
  74. light were living entities of flame!  For wherever they touched, fire sprang
  75. up.'
  76. The dweller in Darkness, by August Derleth
  77.  
  78.  
  79.  
  80.                             Getting Started
  81. -----------------------------------------------------------------------
  82.  
  83. Try one of these DOS command lines to test Cthugha:
  84.  
  85.    No soundcard           :   CTHUGHA -x
  86.    Soundblaster (Line In) :   CTHUGHA -L
  87.    Soundblaster (CD In)   :   CTHUGHA -C
  88.    Soundblaster (CD Play) :   CTHUGHA -c 1
  89.    GUS (Line In)          :   CTHUGHA -G -L
  90.    GUS (CD In)            :   CTHUGHA -G -c 1
  91.  
  92. Once Cthugha is running, try one of these keys to help you along:
  93.  
  94.    C  - Bring up the CD-Player
  95.    F1 - Help Screen
  96.  
  97.  
  98.                             Technical Stuff :
  99. -----------------------------------------------------------------------
  100.  
  101. Sound Cards :
  102.  
  103. Tested with soundblaster Pro and 16
  104. Tested with GUS
  105. Base testing with a PAS
  106.  
  107. (Sorry - that's all we had, if you want other cards supported get in
  108. touch, and we'll see what we can do.)
  109.  
  110. It needs a fair bit of Base memory, somewhere around 550k I think,
  111. and XMS/EMS would be handy - for TABs and PCX files
  112.  
  113. Oh yeah, it needs a 386 too :-)
  114. And it *really* wants a 486 with a good-speed graphics card...
  115. And it *flys* with a Pentium PCI machine :-)
  116.  
  117. DOS Command Line syntax:
  118.  
  119. Cthugha: Command line options
  120. (These are Case sensitive commands)
  121.  
  122.   -L,-M,-C  : Use Line/Mic/CD as input
  123.   -G,-S,-P  : Use GUS/SB/PAS (default: search)
  124.   -O        : Use OLD SB code (useful for PAS or other cards that dont work)
  125.   -s,-m     : Default to STEREO/MONO
  126.   -i,-e     : Disable Inbuilt/External Palettes
  127.  
  128.   -T <num>  : Minimum frames before changing
  129.   -R <num>  : extra random frames before changing
  130.               time delay formula : delay = t + rand()%r
  131.  
  132.   -V <0-255>: Set input volume to <0-255>
  133.   -v <rate> : VU bar sample rate (Default=4000)
  134.  
  135.   -Q <num>  : Number of frames before silence change <def:200>
  136.   -f <num>  : Start with flame   #<num>
  137.   -w <num>  : Start with wave    #<num>
  138.   -p <num>  : Start with palette #<num>
  139.   -l        : Lock to first wave/flame/palette
  140.  
  141.   -d        : Pause just before running (usually for debug)
  142.   -x        : Debug mode (no sound source needed) - generate random noise
  143.   -t <fname>: Load alternate Translation table file
  144.   -q <fname>: Load alternate Quiet strings from a text file
  145.  
  146.   -X        : Disable PCX files
  147.  
  148.   -B <num>  : Set the beat volume level to #<num>                <def:220>
  149.   -b <num>  : Set the number of beats to #<num> (0,-ve to disable) <def:16>
  150. (Notes on BEATS):
  151.   The BEAT flags allow the screen to try to change on a regular number of
  152.   loud beats.  Usually this matches either a drum beat, or loud vocals.
  153.   If you set the values too low, everything starts going crazy :-)
  154.   (This would be better implemented as a frequency based system)
  155.  
  156.  
  157. Keyboard Commands (While running) :
  158.  
  159.   - +     Drop/Increase the sample rate by 1000hz
  160.   < >     Drop/Increase the noise threshold (blanking level)
  161.  
  162.   i       write current setting to INI file
  163.  
  164.   w       change wave function
  165.   f       change flame function
  166.   p       changes palette
  167.   t       changes table (how it uses the palette)
  168.   d       changes display function (up/down etc)
  169.   m       massage the audio (figure that one out!!)
  170.   L       Lock modes (No random switching)
  171.   c       CD player interface
  172.   <space> randomally changes something (maybe the same)
  173.   *       Stereo/Mono toggle
  174.   !       Toggle Translation Table
  175.   s       Toggle FFT palette flashing code
  176.  
  177.   <esc>   Exit
  178.   x       Exit
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.                             More Tech Stuff :
  186. -----------------------------------------------------------------------
  187.  
  188. Palette File Format :
  189. The format is the same that FRACTINT uses.  If not all color indexes
  190. are specified then they default to black.  The color values are
  191. specified in RGB tupples (0-255), where 0 is black.  Easy !
  192. The software scans the current directory for palette files (ext .MAP)
  193. and uses up to the first 25 it finds.
  194. Format -
  195.  
  196. 255 255 255 comments index 0
  197. ... ... ...
  198. 255 255 255 comments color index 255
  199.  
  200. If you come up with a good palette file, 
  201. email it to zaph@torps.apana.org.au
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.                               Translation Tables:
  209. -----------------------------------------------------------------------
  210. These tables (TAB files) are used to design just about ANY effect,
  211. without recompiling the source to Cthugha!!!
  212.  
  213. Here's how they work.
  214. You generate a table, 320x204, of integers - the integer represents the
  215. SOURCE pixel for this DESTINATION pixel.
  216.  
  217. e.g  in a small 3x3 world..
  218. 123
  219. 456
  220. 789    would do nothing
  221.  
  222. 236
  223. 519
  224. 478    would rotate around the edge, and pop back to the center...
  225.  
  226. Read the source to GENTABLE.C to try to work out how it works, or send me
  227. some email!
  228.  
  229. By default Cthugha loads all TAB files from the current directory.
  230. Several tables are included with Cthugha, to load only a single TAB file
  231. use the DOS command line option
  232. CTHUGHA -t <fname>
  233.  
  234. The CTHUGHA.INI file can can specify specific TAB files
  235.  
  236. In the [general] area
  237. table_file = FRED.TAB
  238.  
  239.  
  240. The loading of TAB files can be disabled by specifying
  241. in the [general] area 
  242. translate = no
  243.  
  244.  
  245.  
  246.  
  247.  
  248.                                  Quiet Strings:
  249. -----------------------------------------------------------------------
  250. If everything goes quiet for a while, then Cthugha will pop up one of 
  251. 19 strings to the screen
  252. Each string can be up to 19 characters long, and can be read from a text
  253. file with the following DOS command line parameter
  254.  
  255. CTHUGHA -q filename
  256.  
  257. The first 19 characters of each line are used for the string table.
  258.  
  259. Or in the [general] area of the CTHUGHA.INI file
  260. string_file = filename
  261.  
  262.  
  263.  
  264.  
  265.                          Contact/Shipping/legal things :
  266. -----------------------------------------------------------------------
  267. CTHUGHA V5.3
  268.  
  269. Forward messages to Zaph
  270.     Internet zaph@torps.apana.org.au
  271.     Torps Productions BBS +61-3-9574-8120, +61-3-9574-8121
  272.     FidoNet 3:634/386                   (FREQ CTHUGHA for the latest version)
  273.     WWW:  http://www.afn.org/~cthugha
  274.  
  275.     or:
  276.  
  277.     Zaph
  278.     PO Box 331 
  279.     Richmond 3121 
  280.     Victoria, Australia
  281.  
  282.  
  283. SHAREWARE  (PostcardWare/CDWare)
  284. Free for non-commercial use  -  Send a Postcard to show your appreciation
  285. If you have more money than you know what to do with, then send me a CD
  286. of something you like listening to with Cthugha on the screen...
  287.  
  288. Really, there's no point sending me a cheque for $20-$30, because its going
  289. to cost to get it cashed anyway, and I'd probably go out and buy a CD with
  290. the money, so - if you want to send more than a postcard,  why not just send
  291. a CD instead ??
  292.  
  293. Commercial users register for 2 CD's  (anything)
  294.  
  295.     Kevin Burfitt
  296.     PO Box 331
  297.     Richmond 3121 
  298.     Victoria, Australia
  299.  
  300.  
  301. If you can't afford to register send a video tape (PAL preferably) of
  302. public performance or send a postcard :-)
  303.  
  304. If you forward this program on to friends, make it available on a
  305. BBS, etc please include this document (un-adulterated).
  306.  
  307. If you run a shareware house/store, the disk you sell this program on
  308. is not allowed to be sold for more than US$20.
  309.  
  310. DISCLAIMER : this software is provided 'as is' without waranty
  311. of any kind implied or expressed.
  312.  
  313. If it works, great.
  314. If it doesn't, then that's your bad luck - send us some mail and we will try
  315. to fix it.
  316.  
  317.  
  318.  
  319.  
  320.  
  321.                                   Thanks to:
  322. -----------------------------------------------------------------------
  323. Coders:
  324.  
  325. zaph@torps.apana.org.au       (Kevin Burfitt)   Thats me :-)
  326.  
  327. moles@torps.apana.org.au      (Myles Abbott)    Documentation/Ideas
  328. u23783@vicvm.uic.edu          (Daniel Sachs)    SBpro/SB16 Stereo Support,
  329.                                                 CD stuff, Borland support
  330. ukr8@rz.uni-karlsruhe.de      (Jochen Quante)   GUS support
  331. oferf@itexjct.jct.ac.il       (Ofer Faigon)     Table generation programs
  332.  
  333. General:
  334.  
  335. Dean Scully                             Convinced me to release the beast...
  336. millen3@rpi.edu (Neal Millen)           First person to email me with ideas!
  337. bl2i+@andrew.cmu.edu (Bryan Lewis)      Said nice things about Cthugha
  338. pgray@umr.edu (Paul Gray)               Convinced me to release this version
  339. markd@bushwire.apana.org.au             Offered his site for FTP access
  340. jay@earthlink.net                       For the Cthugha FTP site
  341.  
  342. ID software                             For DOOM :-)
  343.  
  344.  
  345.  
  346. Good CD's to watch:  (With comments from the net!)
  347. -----------------------------------------------------------------------
  348. The Cure:
  349. Dire Straits:     Brothers in Arms
  350. Ella Fitzgerald:  (really!!, the 20's songs - trp@Cs.Nott.AC.UK)
  351. Enigma:
  352. Enya:             (Excellent with all white palettes - jsee+@andrew.cmu.edu)
  353. Nine Inch Nails:
  354. Peter Gabriel:
  355. Pink Floyd:       The Dark Side Of The Moon
  356. Pink Floyd:       Momentary lapse of reason
  357. Pink Floyd:       (actually, anything by Pink Floyd will do...)
  358. Orbital:
  359. Smashing Pumpkins:
  360. Metallica:        Orion - use the crawling worms mode :-)
  361. Metallica:        Use Lightning for most tracks
  362. Hendrix:
  363. Manic Depression:
  364. Pete Namlook:
  365. Klaus Schulze:
  366. Kraftwerk:
  367. Aphex Twin:
  368. The Church:
  369. Future Sound of London - Lifeforms
  370. Violent Femmes
  371. Metallica:        And Justice for all
  372. 10,000 Maniacs:   Our time in Eden
  373. Eagles:           Hotel California
  374. Ice Cube:         The Predator
  375. Dr Atmo and the Basalt Boys: The Whole Traffic
  376. Frank Zappa:      Guitar I, II and III
  377. Amorphus Androginous
  378. Yello:            Essential Yello
  379.  
  380.  
  381. SOURCE CODE:
  382. -----------------------------------------------------------------------
  383. The Source code to V5.3 is shipped in a seperate archive.  If you cannot
  384. find it, email me at:  zaph@torps.apana.org.au
  385.  
  386. If you are interested in contributing to the source, contact me via the
  387. Internet  zaph@torps.apana.org.au
  388.  
  389.  
  390.  
  391. TroubleShooting                                         TroubleShooting
  392. -----------------------------------------------------------------------
  393. Q: Why isnt there native support for my <xxx> card ?
  394. A: Because I need someone like you to write it for me!!
  395.    For now, try the -S option...
  396.  
  397. Q: How can I register Cthugha ?
  398. A: You can send me a postcard, its all I ask...  if you have too much money
  399.    and don't know what to do with it, then send me a CD of something that 
  400.    looks cool with Cthugha!
  401.    (You could send more, but I don't ask for it... so far I've been sent
  402.    60 or 70 postcards, a couple of long letters, some 3d glasses, 
  403.    and about 10 CDs)
  404.  
  405.  
  406.  
  407. TIPS
  408. -----------------------------------------------------------------------
  409. I can't remember how to spell CTHUGHA,
  410.  
  411. Well here's how I remember :
  412. 1. It starts with a     'C'
  413. 2. It's got the word     'THUG' in it
  414. 3. Followed by         'HA'
  415. 4. Easy, really (You'd be surprised how many permutations we get)
  416.  
  417.  
  418.  
  419. InterNet MAILING List
  420. -----------------------------------------------------------------------
  421. If you wish to joing the discussion group (using, programming, bugs etc)
  422.  
  423. Send E-Mail to fileserv@torps.apana.org.au
  424. with
  425. JOIN CTHUGHA
  426. in the *message* text (it ignores _subject_ text)
  427.  
  428.  
  429. if you wish to know when the new versions are out
  430. Send E-Mail to fileserv@torps.apana.org.au
  431. with
  432. JOIN CTHUGHA-ANNOUNCE
  433. in the *message* text (it ignores _subject_ text)
  434.  
  435.  
  436.  
  437.  
  438. -EOF-
  439.  
  440.