1ADPLAY(1)                        User Commands                       ADPLAY(1)
2
3
4

NAME

6       adplay - AdPlay/UNIX console-based OPL2 audio player
7

SYNOPSIS

9       adplay [OPTION]... FILE...
10

DESCRIPTION

12       AdPlay/UNIX  is  AdPlug's UNIX console-based frontend. It tries to play
13       back all given FILEs, using one of many available output mechanisms.
14
15       AdPlay/UNIX plays endlessly, if only one file is given.  With  multiple
16       files,  it  plays them in a sequence and exits after the last file. The
17       same can also be accomplished with only  one  file,  by  using  the  -o
18       option. When using the disk writer, -o is implied.
19

EXIT STATUS

21       adplay returns 0 on successful operation. 1 is returned otherwise.
22

OUTPUT MECHANISMS

24       AdPlay/UNIX can play back using many different output mechanisms, which
25       can be selected with the -O argument.  The  availability  of  a  method
26       depends  on  compile-time  settings.  Available methods are printed out
27       after the help text, displayed with --help.
28
29       Next is a brief description of all output mechanisms,  following  their
30       abbreviations:
31
32   oss -- Open Sound System (OSS) driver
33       This output method is available on most Linux and other UNIX systems.
34
35   null -- Total silence
36       Discards anything sent to it. It can be useful for testing purposes.
37
38   disk -- Disk writer
39       Writes its output to a file in Microsoft RIFF WAVE format.
40
41   esound -- EsounD output
42       Creates  a  socket connection to an EsounD server and streams the audio
43       to it.
44
45   qsa -- QNX Sound Architecture (QSA) driver
46       Uses the QNX system's standard output method.
47
48   sdl -- Simple Directmedia Layer (SDL) driver
49       Uses the SDL library for sound output. The library has a broader  plat‐
50       form  support  than  any of the other output methods. Thus, it could be
51       useful on some exotic systems.
52
53   alsa -- Advanced Linux Sound Architecture (ALSA) driver
54       Uses the standard output method on newer Linux systems.
55
56   ao -- libao driver
57       Libao is a cross-platform audio library with very broad  platform  sup‐
58       port.  Might be useful on systems, where SDL is not available, and gen‐
59       erally to do tricky things.
60

OPTIONS

62       The order of the option commandline parameters is not important, except
63       for the -d option, which always has to be specified after an -O option.
64
65   Output selection:
66       -O, --output=OUTPUT
67              Specify  output mechanism. Available mechanisms depend on compi‐
68              lation settings and are printed on --help output.  A  reasonable
69              default  is automatically selected, based on the availability of
70              the output mechanisms.
71
72   OSS driver (oss) specific:
73       -d --device=FILE
74              Set sound output device  file  to  FILE.  This  is  /dev/dsp  by
75              default.
76
77   Disk writer (disk) specific:
78       -d --device=FILE
79              Write  sound data to FILE. The data is written in Microsoft RIFF
80              WAVE format (little-endian). You can specify  a  single  '-'  to
81              write  to stdout instead. This option has no default and must be
82              specified when the disk writer is to be used!
83
84   EsounD output (esound) specific:
85       -d --device=URL
86              Connect  to  "hostname:port"  combination   in   URL.   Example:
87              "myhost.sound.net:1234". The default is "localhost:16001".
88
89   ALSA driver (alsa) specific:
90       -d --device=DEVICE
91              Set  sound  output  device  to  DEVICE.  This  is  plughw:0,0 by
92              default.
93
94   Playback quality:
95       -8, --8bit
96              Use only 8-bit samples for playback.
97
98       --16bit
99              Use only 16-bit samples for playback (default).
100
101       -f, --freq=FREQ
102              Set playback frequency to  FREQ,  in  Hz.  This  is  44100Hz  by
103              default.
104
105       --stereo
106              Use  only  stereo samples for playback. The sound stream is just
107              doubled, no further audio processing is  done.  This  option  is
108              pretty  useless unless you have very obscure audio hardware that
109              only accepts stereo streams. AdPlug only generates mono  streams
110              because the OPL2 only generates mono sound.
111
112       --mono Use only mono samples for playback (default if AdPlug <= 2.1.)
113
114       --surround
115              Use only stereo samples for playback, but generate them from two
116              mono OPL2 chips.  One OPL2 chip is very slightly  transposed  to
117              produce  a  pleasant  harmonic/surround sound effect (default if
118              AdPlug >= 2.2.)
119
120       -b --buffer=SIZE
121              Set sound buffer size to SIZE samples. If you notice sound skip‐
122              ping  with  the default setting, try a greater buffer size. Note
123              that this is measured in samples, not bytes! This is  2048  sam‐
124              ples  by default. Only the OSS, SDL, ALSA and libao output driv‐
125              ers support this option.
126
127   Informative output:
128       -i --instruments
129              Display instrument names (if available).
130
131       -r --realtime
132              Display realtime playback information, while playing. This  will
133              display  a  one-line  status  bar, containing essential playback
134              information.
135
136       -m --message
137              Display the song message (if available).
138
139   Playback:
140       -s --subsong=N
141              Play subsong number N, instead of the  default  subsong  of  the
142              file.  Only  useful  for file formats that support multiple sub‐
143              songs.
144
145       -o --once
146              Play just once, don't loop. This will exit adplay after the song
147              ended. This is the default when multiple FILEs are given.
148
149   Miscellaneous:
150       -D, --database=FILE
151              Additionally  use  database file FILE. This option may be speci‐
152              fied multiple times. Each database file is  additionally  merged
153              with the others, creating one large database on the fly.
154
155       -q, --quiet
156              Be more quiet.
157
158       -v, --verbose
159              Be more verbose.
160
161       -h, --help
162              Show summary of options.
163
164       -V, --version
165              Show version of program.
166

AUTHOR

168       Simon Peter <dn.tlp@gmx.net>
169
170
171
172AdPlay/UNIX 1.7                 January 1, 2010                      ADPLAY(1)
Impressum