File: xgmod.1

package info (click to toggle)
gmod 3.1-8.3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,340 kB
  • ctags: 808
  • sloc: cpp: 7,764; makefile: 76
file content (243 lines) | stat: -rw-r--r-- 7,567 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
.TH XGMOD 1 "1996 Mar 03" "Version 2.3" "USER APPLICATIONS"
.SH NAME
xgmod \- play music modules
.SH SYNOPSIS
.B xgmod
[\-chrR] [\-P pan-factor] [\-v volume] [module...]
.SH DESCRIPTION
This manual page documents
.BR xgmod ,
a music module file player for Linux and X, with support for the
Gravis Ultrasound card and AWE cards.
.B Xgmod
is capable of playing 669, MOD, Multitracker (MTM), Scream Tracker III (S3M),
Ultratracker (ULT), and FastTracker (XM) files.
.PP
If modules are listed on the command line, those modules will be added to the
file queue.
Modules compressed with \fBcompress\fP, \fBgzip\fP, \fBlharc\fP, or
\fBzip\fP can be played by
.BR gmod ,
if gunzip, lharc, and/or zip are installed.
.SH OPTIONS
.TP
.B "\-c"
Disable compression of modules in memory.  Normally, modules are compressed
in memory in order to use less space.  Specifying this option will save some
CPU time.
.TP
.B "\-h"
Display help.
.TP
.B "\-P \fIpan-factor\fP"
Set the panning factor.  Valid values are -100 to 100.  Higher absolute values
produce more panning.  Negative values cause the left/right channels to be
swapped. The default value is 100.
.TP
.B "-r"
Infinitely repeat the current module.
.TP
.B "-R"
Randomize the play order of the modules.
.TP
.B "-v \fIvolume\fP"
Set the volume to
.I volume.
Valid values are 0 to 255.  The default value is 255.
.SH THE XGMOD WINDOW
The Xgmod main window contains a number of buttons.
.TP
.B "Double Left Arrow"
Move to the previous song position (rewind)
.TP
.B "Double Right Arrow"
Move to the next song position (forward)
.TP
.B "Double Left Arrow with bar"
Play previous module in queue.  If there is no previous module (the module 
currently playing is the first module in the queue), playback will stop.
.TP
.B "Double Right Arrow with bar"
Play next module in queue.  If there is no next module (the module currently
playing is the last module in the queue), playback will stop.
.TP
.B "Single Right Arrow"
Begin playback of the current module.
.TP
.B "Square"
Stop playback
.TP
.B "Queue"
Pop up the queue window
.TP
.B "Options"
Pop up to options window
.TP
.B "Track"
Pop up the tracking window
.TP 
.B "Samples"
Pop up the sample information window
.TP
.B "Comment"
Pop up the module comment window
.TP
.B "Exit"
Exit Xgmod
.SH THE QUEUE WINDOW
The queue window displays all files currently in the play queue.  Double
clicking on a file will start playback of that module.  A number of buttons
are provided for manipulating the queue.
.TP
.B "Add"
Pop up the file selector to add files to the queue
.TP
.B "Save"
Save the current file queue
.TP
.B "Current"
Highlight the module currently playing in the file queue list
.TP
.B "Play"
Start playback with the module currently highlighted in the file queue list
.TP
.B "Remove"
Remove the highlighted file from the file queue
.TP
.B "Clear"
Remove all files from the file queue
.TP
.B "Shuffle"
Randomize the order of the files in the file queue.
.TP
.B "Close"
Close the queue window
.SH THE OPTIONS WINDOW
The options window contains four groups of options.  The first group, play
options, are effective immediately after they are pressed.  The second group,
load options, are checked only when a module is loaded.  The third group
contains toggles to control the file queue.  The fourth group controls the
selection of octaves when loading a module.  By default, all the options are
off.
.TP
.B "Break Infinite Loops [play]"
If this toggle is enabled, infinite loops in modules will be broken.  
.TP
.B "Ignore Speed0 Commands [play]"
Speed 0 commands normally cause a module to stop playing.  Enabling this toggle
will cause all speed 0 commands to be ignored.
.TP
.B "50 Hz Clock Freq [load]"
Enabling this toggle will cause modules to be played using a 50 Hz base clock
frequency.  This option is effective for MOD files only.
.TP
.B "NTSC Sample Timing [load]"
If this toggle is enabled, samples will be playing using NTSC (as opposed to
PAL) sample timing.  This option is effective for MOD files only.
.TP
.B "Disable BPM Tempos [load]"
Enabling this toggle will cause all speed changes to be considered "ticks
per division" changes.  This option is effective for MOD files only.
.TP
.B "Check magic number [load]"
Check the magic number in MOD files.  If the MOD file does not have a
magic number, then it will not be loaded.  Old 15 channel MODs do not
have magic numbers.
.TP
.B "Unqueue After Play [queue]"
If this toggle is enabled, the module will be removed from the file queue after
it has been played.
.TP
.B "Random Order [queue]"
Play the modules in the file queue in a random order.  Clicking "previous
module" or "next module" in the main window will select another module
randomly.
.TP
.B "Highlight Current [queue]"
Highlight the current module in the file queue whenever a new module is loaded.
.TP
.B "Limited [octave selection]"
Use the standard octave range for MOD files.
.TP
.B "Extended [octave selection]"
Use an extended octave range for MOD files.
.TP
.B "Automatic [octave selection]"
Use the standard octave range if all notes in the MOD file fall within the
standard range; otherwise, the extended octave range will be used.
.TP
.B "Save"
Save the options into the .xgmodrc file.
.TP
.B "Close"
Close the options window.
.SH THE GMODRC FILE
The gmodrc file is used to determine settings to be used for particular
modules.  The gmodrc settings will always override the settings in the options
window.  GMOD will first look for a file named .gmodrc in the user's home
directory, and if it is not found, it will look for /usr/etc/gmodrc.  The gmodrc
settings are combined with the options given on the command line.  The format of
the file is:
.PP
filename(without path) option ...
.PP
For example, if mymodule.mod uses NTSC sample timing and speed 0 commands
should be ignored, the following line could be entered in the gmodrc file:
.PP
mymodule.mod ntsc nospeed0
.PP
Spacing is not important, but case is significant.  The module name must start
at the leftmost position of the line.  The length of the line is limited to
160 characters.
.PP
Valid options are:
nobpm (ignore BPM tempos), ntsc (use NTSC sample timing), nospeed0 (ignore
speed 0 commands), extend (extended octaves), and 50hz (use 50 Hz clock
frequency)
.SH NOTES
This applies only if gmod is compiled without linear volume support:
Setting the sequencer volume to anything greater than approximately 60 when
gmod's volume
.I "(\-v)"
is set to 255 will cause volume clipping.  Lower gmod volumes will allow higher
sequencer volumes before clipping occurs.
.PP
MOD files use various timing methods.  Different methods and the corresponding
options are listed below:
.PP
NTSC (60 Hz) CIA:  NTSC sample timing
.PP
PAL (50 Hz) CIA:  no options (default)
.PP
NTSC (60 Hz) Vblank:  NTSC sample timing, Ignore BPM tempos
.PP
PAL (50 Hz) Vblank:  Ignore BPM tempos, 50 Hz clock frequency
.SH DIAGNOSTICS
The exit codes are:
.TP
0
Normal termination.
.TP
50
Bad arguments.
.TP
51
An error occurred while attempting to access the sequencer.
.TP
52
An error occurred while attempting to load a module
.TP
53
No GUS card was found.
.SH AUTHORS
Original source by Hannu Savolainen.
.PP
MultiTracker/Ultratracker loading by Robert Sanders.
.PP
Many other modifications have been performed by Andrew J. Robinson
<arobinso@nyx.net>.
Andrew is currently the maintainer of gmod.  Please direct any comments,
questions, bug reports, etc. to him.  There is currently a Xgmod WWW page
available through http://www.nyx.net/~arobinso
.PP
Xgmod is Copyright (C) 1996 by Andrew J. Robinson.