AdditiveSynthesisLookupTableTruncated
JavaScript is disabled on your browser.
br.usp.ime.dspbenchmarking.algorithms
Class AdditiveSynthesisLookupTableTruncated
- 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.AdditiveSynthesisLookupTableTruncated
-
public class AdditiveSynthesisLookupTableTruncated extends AdditiveSynthesisLookupTable
An additive synthesis using table lookup with a truncated index.
-
-
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 AdditiveSynthesisLookupTableTruncated(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)
Truncated table lookup 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
-
AdditiveSynthesisLookupTableTruncated
public AdditiveSynthesisLookupTableTruncated(int sRate, int bSize, int stressParam)
Constructor.- Parameters:
sRate
-bSize
-stressParam
-
-
-
Method Detail
-
lookup
protected float lookup(float i)
Truncated table lookup interpolation.- Specified by:
lookup
in classAdditiveSynthesisLookupTable
- Returns:
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmName
in classDspAlgorithm
- Returns:
- The name of the algorithm.
-
-