AdditiveSynthesisLookupTableCubic
JavaScript is disabled on your browser.
br.usp.ime.dspbenchmarking.algorithms
Class AdditiveSynthesisLookupTableCubic
- 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.AdditiveSynthesisLookupTableCubic
-
public class AdditiveSynthesisLookupTableCubic extends AdditiveSynthesisLookupTable
Additive synthesis using table lookup with cubic 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 AdditiveSynthesisLookupTableCubic(int sRate, int bSize, int stressParam)
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getAlgorithmName()
protected float
lookup(float i)
Subclasses should define the way the do the 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
-
AdditiveSynthesisLookupTableCubic
public AdditiveSynthesisLookupTableCubic(int sRate, int bSize, int stressParam)
-
-
Method Detail
-
lookup
protected float lookup(float i)
Description copied from class:AdditiveSynthesisLookupTable
Subclasses should define the way the do the interpolation.- Specified by:
lookup
in classAdditiveSynthesisLookupTable
- Returns:
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmName
in classDspAlgorithm
- Returns:
- The name of the algorithm.
-
-