home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / announce / 102 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  3.7 KB

  1. Xref: sparky comp.os.linux.announce:102 comp.os.linux:22791
  2. Newsgroups: comp.os.linux.announce,comp.os.linux
  3. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
  4. From: lee@uhunix.uhcc.Hawaii.Edu (Greg Lee)
  5. Subject: announce glib and adagio
  6. Message-ID: <1993Jan5.163342.3383@klaava.Helsinki.FI>
  7. Followup-To: comp.os.linux
  8. Keywords: SoundBlaster, patch editor, glib18, music score player, adagio01
  9. Sender: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
  10. Organization: University of Helsinki
  11. Date: Tue, 5 Jan 1993 16:33:42 GMT
  12. Approved: linux-announce@tc.cornell.edu (Lars Wirzenius)
  13. Lines: 76
  14.  
  15. I've put a SoundBlaster patch editor, glib18.tar.Z, and a music
  16. score player, adagio01.tar.Z, in tsx-11 /incoming.  Below are
  17. descriptions.
  18.  
  19. ----glib18.README
  20. This is an edition of the glib patch editor for Linux and the
  21. SoundBlaster (or other compatible card).  I have left out the files
  22. for the other synthesizers supported by glib, because I doubted anyone
  23. would need them for Linux right away, but let me know if you do. 
  24.  
  25. Included here are:
  26.     (1) source and man page for glib
  27.     (2) "default.sb", a glib library for the standard 128 SB
  28.         voices, derived from the .sbi files in the 0.4 distribution
  29.         if the Sound Kit for Linux (some pathces need work),
  30.     (3) source for setsb, a utility to initialize the 128
  31.         SB voices from the patches in a glib library (e.g., type
  32.         "setsb default.sb").
  33.  
  34. The code for setting a voice and playing a note was taken from "fmplay"
  35. and "sbiset" in the Sound Kit.
  36.  
  37. So far as I can tell, it is not now possible to use more than 2 operator
  38. synthesis, even on cards that have a 4-operator fm chip, so this version
  39. of glib only provides for 2-operator patches.  I am a little vague about
  40. some of the patch parameters, and I may have made some mistakes -- if so,
  41. I suppose someone will tell me.
  42.  
  43.  
  44.             -- Greg Lee, lee@uhunix.uhcc.hawaii.edu, 1/5/93
  45. ----adagio01.README
  46. Here are three programs for playing Adagio scores on an fm sound card,
  47. using the sound kit for Linux, or for converting Adagio scores to
  48. standard midi files and converting midi files to Adagio scores.  Adagio
  49. is the scoring language used by the CMU CMT package by Roger Dannenberg.
  50. Most of the program code here, in fact, is from the CM Toolkit.  Some other
  51. code I took from Tim Thompson's Midifiles library, and to compile the
  52. 'ma' program described below, you will need that library (included).
  53. The code for playing fm is taken from "fmplay" by Hannu Savolainen.
  54.  
  55. (1) ad    plays a .gio adagio score, or with the -m flag sends
  56.     midi track information to stdout (save that in a file
  57.     and convert it to a midi file with the tracks utility).
  58.  
  59. (2) tracks
  60.     adds header information to one or more files
  61.     created with "ad -m" to form a standard midi file.
  62.     Output is to stdout.
  63.  
  64. (3) ma    does the opposite of "ad -m" --- it converts a midi file
  65.     into an adagio score.  Output goes to stdout.
  66.  
  67. Examples:
  68.     % ad -m contin >contin.trk        # compile adagio file contin.gio
  69.     % tracks contin.trk >contin.mid        # make a midi file of one track
  70.     % ad -m all >all.trk            # compile adagio file all.gio
  71.     % tracks contin.trk all.trk >mult.mid    # make two track midi file
  72.     % ma mult.mid >mult.gio            # decompile midi file to adagio file
  73.     % ad mult                # play new composition (ecch)
  74.  
  75. Installation:
  76.  
  77. Remove "-DTWENTY_CELL" from CFLAGS in the Makefile if your board has
  78. less than 20 voice polyphony.
  79.  
  80. Availability of related stuff:
  81.  
  82. Tim Thompson's Midifiles library was posted to rec.music.synth and
  83. is available by ftp from ucsd.edu as midi/software/unix/midifiles.tar.Z.
  84.  
  85. The CMT manual, which describes the conventions of Adagio scores,
  86. was posted to rec.music.synth, and along with the rest of the CMT
  87. package is available by ftp from ucsd.edu as
  88. midi/software/unix/CMT.tar.Z.
  89.  
  90.     Greg Lee, lee@uhccux.uhcc.hawaii.edu
  91.