19 |
* MA 02111-1307 USA * |
* MA 02111-1307 USA * |
20 |
***************************************************************************/ |
***************************************************************************/ |
21 |
|
|
22 |
#ifndef __LS_SINELFO_H__ |
#ifndef __LS_SINELFO_BUILTIN_H__ |
23 |
#define __LS_SINELFO_H__ |
#define __LS_SINELFO_BUILTIN_H__ |
24 |
|
|
25 |
#include "LFOBase.h" |
#include "LFOBase.h" |
26 |
|
|
27 |
namespace LinuxSampler { |
namespace LinuxSampler { |
28 |
|
|
29 |
/** @brief sine LFO |
/** @brief Sine LFO (using built-in sin() function as implementation) |
30 |
*/ |
*/ |
31 |
template<LFO::range_type_t RANGE> |
template<LFO::range_type_t RANGE> |
32 |
class SineLFO : public LFOBase<RANGE> { |
class LFOSineBuiltinFn : public LFOBase<RANGE> { |
33 |
public: |
public: |
34 |
|
|
35 |
/** |
/** |
37 |
* |
* |
38 |
* @param Max - maximum value of the output levels |
* @param Max - maximum value of the output levels |
39 |
*/ |
*/ |
40 |
SineLFO(float Max) : LFOBase<RANGE>::LFOBase(Max) { |
LFOSineBuiltinFn(float Max) : LFOBase<RANGE>::LFOBase(Max) { |
41 |
} |
} |
42 |
|
|
43 |
/** |
/** |
160 |
|
|
161 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |
162 |
|
|
163 |
#endif // __LS_SINELFO_H__ |
#endif // __LS_SINELFO_BUILTIN_H__ |