Modifier and Type | Method and Description |
---|---|
Rational |
Rational.add(Rational that)
Add another rational to this, returning a new object.
|
Rational |
Resampler.getFactor()
Resampling factor.
|
Rational |
Rational.reduce()
Reduces this, returning a new object, if it is different.
|
static Rational |
Rational.valueOf(float f)
Converts the given float into a rational number using an approximation.
|
static Rational |
Rational.valueOf(float f,
float accuracyFactor)
Converts the given float into a rational number using an approximation.
|
Modifier and Type | Method and Description |
---|---|
Rational |
Rational.add(Rational that)
Add another rational to this, returning a new object.
|
int |
Rational.compareTo(Rational that) |
Constructor and Description |
---|
Resampler(double[] coefficients,
Rational factor)
Creates a resampler using a FIR filter based on the given coefficients and the given up- and down-sample
factors.
|
Resampler(FIRFilter filter,
Rational factor)
Creates a resampler using a FIR low pass filter and the given up- and down-sample
factors.
|
Resampler(Rational factor)
Creates a resampler using a simple fir1 29th order (=30taps) low pass filter and the given up- and down-sample
factors.
|
ResamplerAudioInputStream(AudioInputStream stream,
Rational factor)
Constructs an
AudioInputStream for the desired sampling rate. |
Copyright © 2011–2018 tagtraum industries incorporated. All rights reserved.