dtas.git  about / heads / tags
duct tape audio suite for *nix
blob 358a31d663e2b2efb22764e6969dff8c0578e47e 2345 bytes (raw)
$ git show v0.18.0:Documentation/dtas-xdelay.pod	# shows this blob on the CLI

 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
 
% dtas-xdelay(1) dtas user manual

=head1 NAME

dtas-xdelay - play audio with a crossover delay

=head1 SYNOPSYS

dtas-xdelay [OPTIONS] INPUT1 INPUT2 DELAY

=head1 DESCRIPTION

dtas-xdelay will delay an audio band by a given delay (in seconds or
fractions thereof).  This can be useful for tuning a sub/sat speaker
system.  It is intended for use a dtas-player sink command as displayed
in the synopsis.

The INPUT arguments (/dev/fd/lo and /dev/fd/hi) are automatically
changed by dtas-player to match the given file descriptors of the pipes.

Both descriptors receive the same audio data, but will be split using a
Linkwitz-Riley crossover.  The high-band (second argument) will be
delayed by default.

=head1 EXAMPLE

To set this via dtas-player to delay the high frequencies by 20ms.

	dtas-ctl sink ed SINKNAME \
	   command='dtas-xdelay /dev/fd/lo /dev/fd/hi 0.020'

=head1 OPTIONS

=over

=item -x, --crossover-frequency FREQUENCY

Frequency at which to set the crossover.  This defaults to 80 (Hz).

=item -l, --lowpass-delay

Delay the lowpass frequency instead of the highpass one.

=back

=head1 ENVIRONMENT

=over

=item SOXFMT, CHANNELS

These environment variables are automatically set if
used as a dtas-player sink

=item DTAS_PLAYER_SOCK - the path to the dtas-player control socket

This defaults to ~/.dtas/player.sock

=item AUDIODEV, AUDIODRIVER

These influence the device/driver used by L<play(1)>.
Consult L<play(1)> for details.

=item SOX_OPTS

This influences options passed to L<sox(1)> or L<play(1)>
Consult L<sox(1)> for details.

=back

=head1 NOTES

The author of this (Eric Wong) knows little about signal processing and
is just parroting things he's learned on the sox documentation and
mailing list.  Corrections to the L<mailto:dtas-all@nongnu.org> mailing list
are greatly appreciated.

=head1 CONTACT

All feedback welcome via plain-text mail to: L<mailto:dtas-all@nongnu.org>

Mailing list archives available at L<https://80x24.org/dtas-all/>
and L<https://lists.gnu.org/archive/html/dtas-all/>

No subscription is necessary to post to the mailing list.

=head1 COPYRIGHT

Copyright 2013-2020 all contributors L<mailto:dtas-all@nongnu.org>

License: GPL-3.0+ L<https://www.gnu.org/licenses/gpl-3.0.txt>

=head1 SEE ALSO

L<dtas-player(1)>, L<dtas-player_protocol(7)>, L<dtas-ctl(1)>,
L<sox(1)>, L<play(1)>

git clone git://80x24.org/dtas.git
git clone https://80x24.org/dtas.git