A simple wavefolder.  
 More...
#include <WaveFolder.h>
template<typename T = AudioOutputStorage_t>
class WaveFolder< T >
A simple wavefolder. 
Definition at line 37 of file WaveFolder.h.
|  | 
|  | WaveFolder () | 
|  | Constructor. 
 | 
|  | 
| void | setHighLimit (T highLimit) | 
|  | Set the high limit where the wave will start to be folded back the other way.  More... 
 | 
|  | 
| void | setLowLimit (T lowLimit) | 
|  | Set the low limit where the wave will start to be folded back the other way.  More... 
 | 
|  | 
| void | setLimits (T lowLimit, T highLimit) | 
|  | Set the low and the high limits at the same time.  More... 
 | 
|  | 
| T | next (T in) | 
|  | Return the next folded sample.  More... 
 | 
|  | 
◆ next()
template<typename T  = AudioOutputStorage_t> 
 
Return the next folded sample. 
- Parameters
- 
  
  
- Returns
- the folded output. 
Definition at line 85 of file WaveFolder.h.
 
 
◆ setHighLimit()
template<typename T  = AudioOutputStorage_t> 
 
Set the high limit where the wave will start to be folded back the other way. 
- Parameters
- 
  
    | highLimit | the high limit used by the wavefolder. |  
 
Definition at line 48 of file WaveFolder.h.
 
 
◆ setLimits()
template<typename T  = AudioOutputStorage_t> 
  
  | 
        
          | void WaveFolder< T >::setLimits | ( | T | lowLimit, |  
          |  |  | T | highLimit |  
          |  | ) |  |  |  | inline | 
 
Set the low and the high limits at the same time. 
- Parameters
- 
  
    | lowLimit | the low limit used by the wavefolder |  | highLimit | the high limit used by the wavefolder |  
 
- Note
- highLimit MUST be higher than lowLimit 
Definition at line 72 of file WaveFolder.h.
 
 
◆ setLowLimit()
template<typename T  = AudioOutputStorage_t> 
 
Set the low limit where the wave will start to be folded back the other way. 
- Parameters
- 
  
    | lowLimit | the low limit used by the wavefolder. |  
 
Definition at line 59 of file WaveFolder.h.