Wavetable class public functions
Additional functions inherited from
Filter.
- Wavetable(int size = 1024);
-
- ~Wavetable();
-
- void action(void);
-
- void normalize(sampleType maxAmp);
-
- sampleType output(int index);
-
- void reverse(void);
-
- void setSize(long aSize);
-
- void setTable(sampleType *anArray, int aSize);
-
- void setTable(Array anArray);
-
- void setTableFromFile(char* filename, int fileType);
-
- void setTableHarmonics(char* harmonicString);
-
- void setTableHarmonics(Collection partialArray);
-
- void setTableRamp(long tableSize = NONE);
-
- void setTableSinewave(long tableSize = NONE);
- writes one period of a sinewave in the wavetable.
If tableSize > 0, then wavetable will have that size.
- void setTableSquare(long tableSize = NONE);
- writes one period of a square wave in the wavetable.
If tableSize > 0, then wavetable will have that size.
- void setTableTriangle(long tableSize = NONE);
- writes one period of a triangle wave in the wavetable.
If tableSize > 0, then wavetable will have that size.
- void shift(long shiftAmount);
-