PAT2GL(1)

NAME
pat2gl - create glib patch file from gus .pat file

SYNOPSIS
pat2gl file.pat

DESCRIPTION
A glib patch file for the gus consists of the header information from a gus .pat file plus whatever extra information is put into it by editing using glib or xgl. As new gus .pat files become available, you may wish to add them to a glib patch library, perhaps substituting them for one of the existing patches. The utility program pat2gl helps do that. It reads the header information from a .pat file and initializes the portion that may be modified by later editing.

Give the name of the .pat file on the command line. The name is assumed to end in ".pat" -- the suffix is added if not present. The source .pat file must be in the directory /dos/ultrasnd/midi, or possibly in some different standard location if pat2gl was compiled with the option -DGUSPATDIR.

A glib patch library containing just a single patch is then created in the current directory. It's name is the same as that of the .pat file, but with ".gus" substituted for ".pat".

See also
xgl(1), glib(1)

AUTHOR
Greg Lee, lee@uhunix.uhcc.hawaii.edu
(code adapted from gusload.c by Hannu Savolainen)