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.StringgetAlgorithmName()protected floatlookup(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:
lookupin classAdditiveSynthesisLookupTable- Returns:
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmNamein classDspAlgorithm- Returns:
- The name of the algorithm.
-
-