Gin
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
gin_bandlimitedlookuptable.h File Reference

Classes

class  BandLimitedLookupTable
 Lookup tables for holding bandlimited waveforms. More...
 
class  BandLimitedLookupTables
 Generate and hold bandlimited lookup tables for all the common waveforms. More...
 

Enumerations

enum class  Wave {
  Wave::silence = 0 , Wave::sine = 1 , Wave::triangle = 2 , Wave::sawUp = 3 ,
  Wave::sawDown = 4 , Wave::pulse = 5 , Wave::square = 6 , Wave::whiteNoise = 7 ,
  Wave::pinkNoise = 8
}
 Waveform types for band-limited oscillators. More...
 

Functions

float sine (float phase, float unused1=0, float unused2=0)
 Band-limited sine wave generator.
 
float triangle (float phase, float freq, float sampleRate)
 Band-limited triangle wave generator.
 
float sawUp (float phase, float freq, float sampleRate)
 Band-limited upward sawtooth wave generator.
 
float sawDown (float phase, float freq, float sampleRate)
 Band-limited downward sawtooth wave generator.
 
float pulse (float phase, float pw, float freq, float sampleRate)
 Band-limited pulse wave generator with variable pulse width.
 
float squareWave (float phase, float freq, float sampleRate)
 Band-limited square wave generator (50% duty cycle pulse).