1
Description: correct spelling (Lintian info)
2
Author: Thorsten Alteholz <debian@alteholz.de>
5
===================================================================
6
--- siggen.orig/fsynth.1 2012-03-12 16:27:23.000000000 +0100
7
+++ siggen/fsynth.1 2012-03-13 09:21:12.000000000 +0100
9
8 or 16 bit samples can be generated depending on the hardware.
12
-allows two independant waveforms to be generated.
13
+allows two independent waveforms to be generated.
14
In stereo the two signals appear on different channels. In mono the two
15
signals are digitally mixed onto the one mono channel.
18
control the output volume, or an external attenuator.
20
The gain factor option can be useful for simulating a signal that has been
21
-subject to clipping, by specifing a gain of > 100%. In fact a trapezoid signal
22
+subject to clipping, by specifying a gain of > 100%. In fact a trapezoid signal
23
can be made by generating a clipped sawtooth wave. The greater the gain,
24
the closer the signal approaches a square wave (the rise and fall times
26
Index: siggen/siggen.1
27
===================================================================
28
--- siggen.orig/siggen.1 2012-03-12 16:27:23.000000000 +0100
29
+++ siggen/siggen.1 2012-03-13 09:21:12.000000000 +0100
31
8 or 16 bit samples can be generated depending on the hardware.
34
-allows two independant waveforms to be generated.
35
+allows two independent waveforms to be generated.
36
In stereo the two signals appear on different channels. In mono the two
37
signals are digitally mixed onto the one mono channel.
40
control the output volume, or an external attenuator.
42
The gain factor option can be useful for simulating a signal that has been
43
-subject to clipping, by specifing a gain of > 100%. In fact a trapezoid signal
44
+subject to clipping, by specifying a gain of > 100%. In fact a trapezoid signal
45
can be made by generating a clipped sawtooth wave. The greater the gain,
46
the closer the signal approaches a square wave (the rise and fall times
49
The aprox. number of sound buffer fragments to play every second
50
(Sound buffersize is always a power of 2).
52
-sets the number of channels, see '-c' option.
53
+sets the number of channels, see '\-c' option.
55
allows the name of the DAC/DSP/PCM device to be changed from /dev/dsp
57
Index: siggen/siggen.conf.5
58
===================================================================
59
--- siggen.orig/siggen.conf.5 2012-03-12 16:27:23.000000000 +0100
60
+++ siggen/siggen.conf.5 2012-03-13 09:21:12.000000000 +0100
62
tones can generate different waveforms before mixing them into
63
the one output channel.
65
-For fsynth, channels specifies the numbers of seperately
66
+For fsynth, channels specifies the numbers of separately
67
configurable oscillators used to mix the single output channel.
71
The interactive programs respond to changes made to parameters
72
from the keyboard immediately, but data will be buffered in the
73
driver in the buffer fragments. If the amount of data buffered
74
-is too much then there will very noticable delays before
75
+is too much then there will very noticeable delays before
76
the output sound is altered. Against that, insufficient buffering
77
may mean that there is not enough data buffered for output to
78
cover the time when other processes are being run by the
83
-is be a bit verbose (equiv. to -v switch)
84
+is be a bit verbose (equiv. to \-v switch)
87
-is be very verbose (equiv. to -vv switch)
88
+is be very verbose (equiv. to \-vv switch)
93
===================================================================
94
--- siggen.orig/smix.1 2012-03-12 16:27:23.000000000 +0100
95
+++ siggen/smix.1 2012-03-13 09:27:24.000000000 +0100
97
.I smix \- A Simple LINUX Mixer Program
100
-[-v] [-h] [-o file] [-i file] [-m file] [-s] [command(s)]
101
+[\-v] [\-h] [\-o file] [\-i file] [\-m file] [\-s] [command(s)]
104
, a simple mixer program that reports or
105
controls the Mixer settings of
107
-(or the specific mixer device file specified by the "-m file" option)
108
+(or the specific mixer device file specified by the "\-m file" option)
109
from the command line parameter(s).
111
The commands are detailed below, capitals showing the minimum abbreviation
114
outputs the current settings for the mixer device named "dev"
116
-sets mixer device 'dev' to volume N, or to seperate
117
+sets mixer device 'dev' to volume N, or to separate
118
left and right stereo volume L,R
119
If device doesn't support stereo settings then max of L,R
121
Index: siggen/soundinfo.c
122
===================================================================
123
--- siggen.orig/soundinfo.c 2012-03-12 16:27:23.000000000 +0100
124
+++ siggen/soundinfo.c 2012-03-13 09:21:12.000000000 +0100
128
printf("\nDSP details ................\n");
129
- printf(" capabilites = 0x%09X\n formats = 0x%09X\n",caps,fmts);
130
+ printf(" capabilities = 0x%09X\n formats = 0x%09X\n",caps,fmts);
131
printf(" blocksize = %d\n", blksize);
133
printf("\nDSP Capability revision level %d\n",caps&255);
134
Index: siggen/swgen.1
135
===================================================================
136
--- siggen.orig/swgen.1 2012-03-12 16:27:23.000000000 +0100
137
+++ siggen/swgen.1 2012-03-13 09:21:12.000000000 +0100
141
generates a swept frequency waveform
142
-on the LINUX /dev/dsp device. The swept and sweep waveform can be seperately
143
+on the LINUX /dev/dsp device. The swept and sweep waveform can be separately
144
specified, as can the sweep frequency range and the sweeping frequency.
145
Sweep frequency range can be specified either by giving the minimum (start)
146
and maximum (end) frequency in Hertz; or by giving the centre frequency and
148
I believe the sin/cos wave to be very pure (modulo your sound card :-), but
149
I don't have access to a THD meter to measure it. For best signal accuracy
151
-use the gain factor option (-A). The generator will then make the wave's
152
+use the gain factor option (\-A). The generator will then make the wave's
153
peak value fit the maximum digital values allowed. Use a mixer program to
154
control the output volume, or an external attenuator.
158
write digital sample to file ('-' is stdout)
160
-as '-o' but written as a WAVE format file. -a (append) is not valid
161
+as '\-o' but written as a WAVE format file. \-a (append) is not valid
164
generate with samplerate of samples/sec
166
looks for configuration values CHANNELS, DACFILE, SAMPLERATE,
169
-sets either mono or stereo mode like the '-1|-2' options.
170
+sets either mono or stereo mode like the '\-1|\-2' options.
172
allows the name of the DAC/DSP/PCM device to be changed from /dev/dsp
174
Index: siggen/tones.1
175
===================================================================
176
--- siggen.orig/tones.1 2012-03-12 16:27:23.000000000 +0100
177
+++ siggen/tones.1 2012-03-13 09:27:37.000000000 +0100
180
Waveforms can be specified/altered at anytime. A single waveform name
181
specifies that waveform to be used for all channels. Alternatively
182
-a comma (',') seperated list of waveforms can be given to specify or alter
183
+a comma (',') separated list of waveforms can be given to specify or alter
184
the waveform to use for a given channel. Ommitting a waveform in a list,
185
means that the previous waveform is left unchanged.
189
Instead of playing the output to
191
-the samples can be written to a file as raw samples (-o file) or written in
192
-WAV format (-w wavfile). These data files can then be played back quickly
193
+the samples can be written to a file as raw samples (\-o file) or written in
194
+WAV format (\-w wavfile). These data files can then be played back quickly
195
with a raw data or WAV file player (e.g. wavplay) without the overhead of
196
actually generating the samples.
201
.I 440,880@-12,1760@-30
202
-specifies a mixture with 880Hz -12dB down, and 1760Hz -30dB down relative
203
+specifies a mixture with 880Hz \-12dB down, and 1760Hz \-30dB down relative
204
to the level of 440Hz. The mixed signal samples will span the full 16 or 8
205
bit range permitted for maximal signal accuracy.
208
being at a relative power level of 0.5,
210
being at a relative power level of 0.01 . However power levels are
211
-proportional to the square of the signal amplitude. So a signal at -6dB
212
+proportional to the square of the signal amplitude. So a signal at \-6dB
213
(quarter power) will only have its amplitude down by half. To reduce a
214
-signal amplitude by 1/10 then specify -20dB, i.e. a power level down
215
+signal amplitude by 1/10 then specify \-20dB, i.e. a power level down
216
by a factor of a hundredth.
218
dB levels can be specified as decimal values.
219
@@ -165,15 +165,15 @@
222
.I 500@-20,750@-6,1000,-12
223
-gives 500Hz at -20db (amplitude 0.1), 750Hz at -6db (amplitude 0.5),
224
-and 1000Hz at -12dB (amplitude 0.25). The final mixed signal will have
225
-an amplitude of 0.1 + 0.5 + 0.25 = 0.85 or -1.4dB.
226
+gives 500Hz at \-20db (amplitude 0.1), 750Hz at \-6db (amplitude 0.5),
227
+and 1000Hz at \-12dB (amplitude 0.25). The final mixed signal will have
228
+an amplitude of 0.1 + 0.5 + 0.25 = 0.85 or \-1.4dB.
230
As can be seen, there is no "hands-free" in
232
mode. You have to work out the dB levels yourself and ensure that the
233
resultant mixed signal does not go above 0dB and get clipped. Remember also
234
-that a sine wave at -80dB down (amplitude 1/10000th) only has 6 digital
235
+that a sine wave at \-80dB down (amplitude 1/10000th) only has 6 digital
236
levels and is a pretty poor representation of a sine wave, not suitable for
237
post amplification and use!
242
.I @-20\ 1000,1200@+6,1400@-6
243
-is the same as 1000Hz at -20dB, 1200Hz at -14dB and 1400Hz at -26dB.
244
+is the same as 1000Hz at \-20dB, 1200Hz at \-14dB and 1400Hz at \-26dB.
245
.SH LOADABLE\ WAVEFORMS
247
Given that the generation method used by
250
set absolute amplitude mode
252
-when used in conjunction with the -o option, data is appended to the file.
253
+when used in conjunction with the \-o option, data is appended to the file.
255
use "file" as the local configuration file (see below).
258
CHANNELS. The default number is 4. There is some virtue in keeping the
259
number of channels to a minimum.
261
-when used in conjunction with the -o or -w options, any existing file is
262
+when used in conjunction with the \-o or \-w options, any existing file is
263
silently overwritten.
265
display usage and help info
267
are actioned before the input file is read.
269
play the tone sequence repetitively. Forced off if writing samples to a file
270
-with the -o or -w options.
271
+with the \-o or \-w options.
273
play the tone sequence N times.
277
write samples out in WAV format to wavfile. The WAV header contains details
278
of whether the data is 8 or 16 bits and the sampling rate. You cannot use the
279
-append (-a) option with WAV files.
280
+append (\-a) option with WAV files.
285
the second of 700Hz and 1200Hz and the third of 800Hz, 1100Hz and 1300Hz
286
.IP tones\ -loop\ square\ 200\ 700\ 900\ 400\ 500
287
generates a sequence of 4 200 millisecs square wave tones which is repeated
288
-until the program is interupted.
289
+until the program is interrupted.
290
.IP tones\ -w\ seq.wav\ 70\ 1016\ 1200\ 1080\ 1150\ 1016
291
generates a sequence of 5 70 millisecs sine tones, and instead of playing them
292
the samples are stored in WAV format in seq.wav which can be played by any
294
looks for configuration values CHANNELS, DACFILE, SAMPLERATE,
295
SAMPLESIZE, VERBOSE, LOADABLE_WAVEFORMS.
297
-sets the number of channels, see '-c' option.
298
+sets the number of channels, see '\-c' option.
300
allows the name of the DAC/DSP/PCM device to be changed from /dev/dsp
301
.IP LOADABLE_WAVEFORMS
303
===================================================================
304
--- siggen.orig/sgen.1 2012-03-12 16:27:23.000000000 +0100
305
+++ siggen/sgen.1 2012-03-13 09:21:12.000000000 +0100
307
I believe the sin/cos wave to be very pure (modulo your sound card :-), but
308
I don't have access to a THD meter to measure it. For best signal accuracy
310
-use the gain factor option (-A). The generator will then make the wave's
311
+use the gain factor option (\-A). The generator will then make the wave's
312
peak value fit the maximum digital values allowed. Use a mixer program to
313
control the output volume, or an external attenuator.
317
write digital sample to file ('-' is stdout)
319
-as '-o' but written as a WAVE format file. -a (append) is not valid
320
+as '\-o' but written as a WAVE format file. \-a (append) is not valid
323
force overwrite/append of/to file.
325
looks for configuration values CHANNELS, DACFILE, SAMPLERATE,
328
-sets either mono or stereo mode like the '-1|-2' options.
329
+sets either mono or stereo mode like the '\-1|\-2' options.
331
allows the name of the DAC/DSP/PCM device to be changed from /dev/dsp