variable-rate no longer considered 'experimental'
parent
a666e1bb7f
commit
7dc5f73c19
4
README
4
README
|
@ -8,8 +8,8 @@ should look elsewhere.
|
|||
It aims to give fast¹ and very high quality² results for any constant
|
||||
(rational or irrational) resampling ratio. Phase-response, preserved
|
||||
bandwidth, aliasing, and rejection level parameters are all configurable;
|
||||
alternatively, simple `preset' configurations may be selected. An
|
||||
experimental, variable-rate resampling mode of operation is also included.
|
||||
alternatively, simple `preset' configurations may be selected. A
|
||||
variable-rate resampling mode of operation is also included.
|
||||
|
||||
The resampler is currently available either as part of `libsox' (the audio
|
||||
file-format and effect library), or stand-alone as `libsoxr' (this package).
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
/* SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net
|
||||
* Licence for this file: LGPL v2.1 See LICENCE for details. */
|
||||
|
||||
/* Example 5: Variable-rate resampling (N.B. experimental). A test signal
|
||||
* (held in a buffer) is resampled over a wide range of octaves. Resampled
|
||||
* data is sent to stdout as raw, float32 samples. Choices of 2 test-signals
|
||||
* and of 2 ways of varying the sample-rate are combined in a command-line
|
||||
* option:
|
||||
/* Example 5: Variable-rate resampling. A test signal (held in a buffer) is
|
||||
* resampled over a wide range of octaves. Resampled data is sent to stdout as
|
||||
* raw, float32 samples. Choices of 2 test-signals and of 2 ways of varying
|
||||
* the sample-rate are combined in a command-line option:
|
||||
*
|
||||
* Usage: ./5-variable-rate [0|1|2|3]
|
||||
*/
|
||||
|
|
|
@ -190,8 +190,8 @@ SOXR soxr_error_t soxr_oneshot(
|
|||
|
||||
|
||||
|
||||
/* For variable-rate resampling (experimental). See example # 5 for how to
|
||||
* create a variable-rate resampler and how to use this function. */
|
||||
/* For variable-rate resampling. See example # 5 for how to create a
|
||||
* variable-rate resampler and how to use this function. */
|
||||
|
||||
SOXR soxr_error_t soxr_set_io_ratio(soxr_t, double io_ratio, size_t slew_len);
|
||||
|
||||
|
@ -245,7 +245,7 @@ struct soxr_quality_spec { /* Typically */
|
|||
#define SOXR_MAINTAIN_3DB_PT 4u /* Reserved for internal use. */
|
||||
#define SOXR_HI_PREC_CLOCK 8u /* Increase `irrational' ratio accuracy. */
|
||||
#define SOXR_DOUBLE_PRECISION 16u /* Use D.P. calcs even if precision <= 20. */
|
||||
#define SOXR_VR 32u /* Experimental, variable-rate resampling. */
|
||||
#define SOXR_VR 32u /* Variable-rate resampling. */
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net
|
||||
* Licence for this file: LGPL v2.1 See LICENCE for details. */
|
||||
|
||||
/* Experimental variable-rate resampling. */
|
||||
/* Variable-rate resampling. */
|
||||
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
|
|
Loading…
Reference in New Issue