AdditiveSynthesisLookupTableLinear
JavaScript is disabled on your browser.
br.usp.ime.dspbenchmarking.algorithms
Class AdditiveSynthesisLookupTableLinear
- java.lang.Object
-
- br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
-
- br.usp.ime.dspbenchmarking.algorithms.StressAlgorithm
-
- br.usp.ime.dspbenchmarking.algorithms.AdditiveSynthesisLookupTable
-
- br.usp.ime.dspbenchmarking.algorithms.AdditiveSynthesisLookupTableLinear
-
public class AdditiveSynthesisLookupTableLinear extends AdditiveSynthesisLookupTable
Additives synthesis using table lookup with linear interpolation.
-
-
Field Summary
-
Fields inherited from class br.usp.ime.dspbenchmarking.algorithms.AdditiveSynthesisLookupTable
coefficient, deltai, dt, ind, sine, TWOPI
-
Fields inherited from class br.usp.ime.dspbenchmarking.algorithms.StressAlgorithm
stressParameter
-
Fields inherited from class br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
blockSize, parameter1, sampleRate
-
-
Constructor Summary
Constructors Constructor and Description AdditiveSynthesisLookupTableLinear(int sRate, int bSize, int stressParam)
Constructor.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getAlgorithmName()
protected float
lookup(float i)
Linear interpolation.-
Methods inherited from class br.usp.ime.dspbenchmarking.algorithms.AdditiveSynthesisLookupTable
perform, setBlockSize, setParams, setStressParameter
-
Methods inherited from class br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
getBlockSize, getParameter1, getSampleRate
-
-
-
-
Constructor Detail
-
AdditiveSynthesisLookupTableLinear
public AdditiveSynthesisLookupTableLinear(int sRate, int bSize, int stressParam)
Constructor.- Parameters:
sRate
-bSize
-stressParam
-
-
-
Method Detail
-
lookup
protected float lookup(float i)
Linear interpolation.- Specified by:
lookup
in classAdditiveSynthesisLookupTable
- Returns:
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmName
in classDspAlgorithm
- Returns:
- The name of the algorithm.
-
-