| 1 | |
| 2 | <refentry id="mixer"> |
| 3 | <refentryinfo><title>Utilities</title></refentryinfo> |
| 4 | <refmeta> |
| 5 | <refentrytitle>mixer</refentrytitle> |
| 6 | </refmeta> |
| 7 | |
| 8 | <refnamediv> |
| 9 | <refname>mixer</refname> |
| 10 | <refpurpose> |
| 11 | Mixes together a number of soundfiles. |
| 12 | <indexterm id="IndexMixer"><primary>mixer</primary></indexterm> |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Mixes together a number of soundfiles, starting at different |
| 20 | times and with individual channel selection from the input files. |
| 21 | </para> |
| 22 | |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis><command>mixer</command> [OPTIONS ... ] infile [[OPTIONS... ] infile] ...</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | Flags: |
| 34 | </para> |
| 35 | <itemizedlist> |
| 36 | <listitem> |
| 37 | <para> |
| 38 | -<emphasis>A</emphasis> |
| 39 | = Generate an AIFF output file. |
| 40 | </para> |
| 41 | </listitem> |
| 42 | |
| 43 | <listitem> |
| 44 | <para> |
| 45 | -<emphasis>W</emphasis> |
| 46 | = Generate an WAV output file. |
| 47 | </para> |
| 48 | </listitem> |
| 49 | |
| 50 | <listitem> |
| 51 | <para> |
| 52 | -<emphasis>h</emphasis> |
| 53 | = Generate an output file with no header. |
| 54 | </para> |
| 55 | </listitem> |
| 56 | |
| 57 | <listitem> |
| 58 | <para> |
| 59 | -<emphasis>c</emphasis> |
| 60 | = Generate 8-bit signed_char sound samples. |
| 61 | </para> |
| 62 | </listitem> |
| 63 | |
| 64 | <listitem> |
| 65 | <para> |
| 66 | -<emphasis>a</emphasis> |
| 67 | = Generate alaw sound samples. |
| 68 | </para> |
| 69 | </listitem> |
| 70 | <listitem> |
| 71 | <para> |
| 72 | -<emphasis>u</emphasis> |
| 73 | = Generate ulaw sound samples. |
| 74 | </para> |
| 75 | </listitem> |
| 76 | |
| 77 | <listitem> |
| 78 | <para> |
| 79 | -<emphasis>s</emphasis> |
| 80 | = Generate short integer sound samples. |
| 81 | </para> |
| 82 | </listitem> |
| 83 | |
| 84 | <listitem> |
| 85 | <para> |
| 86 | -<emphasis>l</emphasis> |
| 87 | = Generate long (32 bit) integer sound samples. |
| 88 | </para> |
| 89 | </listitem> |
| 90 | |
| 91 | <listitem> |
| 92 | <para> |
| 93 | -<emphasis>f</emphasis> |
| 94 | = Generate floating point samples. |
| 95 | </para> |
| 96 | </listitem> |
| 97 | |
| 98 | <listitem> |
| 99 | <para> |
| 100 | -<emphasis>F arg</emphasis> |
| 101 | = Specifies the gain to be applied to the following |
| 102 | input file. If arg is a |
| 103 | floating point number that gain is applied uniformly to |
| 104 | the input. Alternatively it could be a file name which |
| 105 | specifies a breakpoint file for varying the gain for |
| 106 | different periods. |
| 107 | </para> |
| 108 | </listitem> |
| 109 | |
| 110 | <listitem> |
| 111 | <para> |
| 112 | -<emphasis>S integer</emphasis> |
| 113 | = Indicate at which sample to start to mix in the next |
| 114 | input file. |
| 115 | </para> |
| 116 | </listitem> |
| 117 | |
| 118 | <listitem> |
| 119 | <para> |
| 120 | -<emphasis>T fpnum</emphasis> |
| 121 | = Indicate at which time (in seconds) to start to mix in the next |
| 122 | input file. |
| 123 | </para> |
| 124 | </listitem> |
| 125 | |
| 126 | <listitem> |
| 127 | <para> |
| 128 | -<emphasis>1</emphasis> |
| 129 | = Mix in channel 1 from next sound file. |
| 130 | </para> |
| 131 | </listitem> |
| 132 | |
| 133 | <listitem> |
| 134 | <para> |
| 135 | -<emphasis>2</emphasis> |
| 136 | = Mix in channel 2 from next sound file. |
| 137 | </para> |
| 138 | </listitem> |
| 139 | |
| 140 | <listitem> |
| 141 | <para> |
| 142 | -<emphasis>3</emphasis> |
| 143 | = Mix in channel 3 from next sound file. |
| 144 | </para> |
| 145 | </listitem> |
| 146 | |
| 147 | <listitem> |
| 148 | <para> |
| 149 | -<emphasis>4</emphasis> |
| 150 | = Mix in channel 4 from next sound file. |
| 151 | </para> |
| 152 | </listitem> |
| 153 | |
| 154 | <listitem> |
| 155 | <para> |
| 156 | -<emphasis>^ intx inty</emphasis> |
| 157 | = Mix in channel x from next sound file as channel y in |
| 158 | the output. |
| 159 | </para> |
| 160 | </listitem> |
| 161 | |
| 162 | <listitem> |
| 163 | <para> |
| 164 | -<emphasis>v</emphasis> |
| 165 | = Verbose mode. |
| 166 | </para> |
| 167 | </listitem> |
| 168 | |
| 169 | <listitem> |
| 170 | <para> |
| 171 | -<emphasis>R</emphasis> |
| 172 | = Continually rewrite the header while writing soundfile |
| 173 | (WAV/AIFF). |
| 174 | </para> |
| 175 | </listitem> |
| 176 | |
| 177 | <listitem> |
| 178 | <para> |
| 179 | -<emphasis>H integer</emphasis> |
| 180 | = Show a "heart-beat" to indicate progress, in style 1, |
| 181 | 2 or 3. </para> |
| 182 | </listitem> |
| 183 | |
| 184 | <listitem> |
| 185 | <para> |
| 186 | -<emphasis>N</emphasis> |
| 187 | = Alert call (usually ringing the bell) when finished. |
| 188 | </para> |
| 189 | </listitem> |
| 190 | |
| 191 | <listitem> |
| 192 | <para> |
| 193 | -<emphasis>o fname</emphasis> |
| 194 | = output file name (default: test.wav) |
| 195 | </para> |
| 196 | </listitem> |
| 197 | </itemizedlist> |
| 198 | |
| 199 | |
| 200 | </refsect1> |
| 201 | |
| 202 | <refsect1> |
| 203 | <title>Examples</title> |
| 204 | <para> |
| 205 | |
| 206 | The default values are |
| 207 | <programlisting> |
| 208 | <emphasis>mixer</emphasis> -s -otest -F 1.0 -S 0</programlisting> |
| 209 | |
| 210 | For example |
| 211 | <programlisting> |
| 212 | <emphasis>mixer</emphasis> -F 0.96 in1.wav -S 300 -2 in2.aiff -S 300 -^4 1 in3.wav -o out.wav</programlisting> |
| 213 | |
| 214 | |
| 215 | This creates a new sound file with a constant gain of |
| 216 | 0.96 from in1.wav with the second channel of in2.aiff |
| 217 | mixed in after 300 samples and channel 4 of in3.wav |
| 218 | outpout as channel 1 after 300 samples. |
| 219 | </para> |
| 220 | |
| 221 | </refsect1> |
| 222 | |
| 223 | <refsect1> |
| 224 | <title>Credits</title> |
| 225 | <para>Author: &namejohn;</para> |
| 226 | <para>1994</para> |
| 227 | </refsect1> |
| 228 | |
| 229 | </refentry> |