Overview: Add new slides, powered by dia.
[paraslash.git] / m4 / gengetopt / resample_filter.m4
1 include(header.m4)
2
3 option "converter" C
4 #~~~~~~~~~~~~~~~~~~~
5 "choose converter type"
6 enum typestr = "type"
7 values = "best", "medium", "fastest", "zero_order_hold", "linear"
8 default = "medium"
9 optional
10
11 details = "
12         best: This is a bandlimited interpolator derived from the
13         mathematical sinc function and this is the highest quality
14         sinc based converter, providing a worst case Signal-to-Noise
15         Ratio (SNR) of 97 decibels (dB) at a bandwidth of 97%.
16
17         medium: This is another bandlimited interpolator much like the
18         previous one. It has an SNR of 97dB and a bandwidth of 90%. The
19         speed of the conversion is much faster than the previous one.
20
21         fastest: This is the fastest bandlimited interpolator and
22         has an SNR of 97dB and a bandwidth of 80%.
23
24         zero_order_hold: A Zero Order Hold converter (interpolated
25         value is equal to the last value). The quality is poor but
26         the conversion speed is blindlingly fast.
27
28         linear: A linear converter. Again the quality is poor, but
29         the conversion speed is blindingly fast.
30 "
31
32 include(channels.m4)
33 include(sample_rate.m4)
34 include(sample_format.m4)
35
36 option "dest-sample-rate" d
37 #~~~~~~~~~~~~~~~~~~~~~~~~~~
38 "sample rate to convert to"
39 int typestr = "rate"
40 default = "44100"
41 optional