
Home Information Classes Download Usage Mail List Requirements Links FAQ Tutorial
| addSampleRateAlert(Stk *ptr) | stk::Stk | [protected] | |
| channelsOut(void) const | stk::Instrmnt | [inline] | |
| clear(void) | stk::FM | ||
| controlChange(int number, StkFloat value) | stk::FM | [virtual] | |
| FM(unsigned int operators=4) | stk::FM | ||
| handleError(const char *message, StkError::Type type) | stk::Stk | [static] | |
| handleError(std::string message, StkError::Type type) | stk::Stk | [static] | |
| handleError(StkError::Type type) | stk::Stk | [protected] | |
| HevyMetl(void) | stk::HevyMetl | ||
| ignoreSampleRateChange(bool ignore=true) | stk::Stk | [inline] | |
| inRange(StkFloat value, StkFloat min, StkFloat max) | stk::Stk | [inline, static] | |
| Instrmnt(void) | stk::Instrmnt | [inline] | |
| keyOff(void) | stk::FM | ||
| keyOn(void) | stk::FM | ||
| lastFrame(void) const | stk::Instrmnt | [inline] | |
| lastOut(unsigned int channel=0) | stk::Instrmnt | [inline] | |
| loadWaves(const char **filenames) | stk::FM | ||
| noteOff(StkFloat amplitude) | stk::FM | [virtual] | |
| noteOn(StkFloat frequency, StkFloat amplitude) | stk::HevyMetl | [virtual] | |
| printErrors(bool status) | stk::Stk | [inline, static] | |
| rawwavePath(void) | stk::Stk | [inline, static] | |
| removeSampleRateAlert(Stk *ptr) | stk::Stk | [protected] | |
| sampleRate(void) | stk::Stk | [inline, static] | |
| sampleRateChanged(StkFloat newRate, StkFloat oldRate) | stk::Stk | [protected, virtual] | |
| setControl1(StkFloat cVal) | stk::FM | [inline] | |
| setControl2(StkFloat cVal) | stk::FM | [inline] | |
| setFrequency(StkFloat frequency) | stk::FM | [virtual] | |
| setGain(unsigned int waveIndex, StkFloat gain) | stk::FM | ||
| setModulationDepth(StkFloat mDepth) | stk::FM | [inline] | |
| setModulationSpeed(StkFloat mSpeed) | stk::FM | [inline] | |
| setRatio(unsigned int waveIndex, StkFloat ratio) | stk::FM | ||
| setRawwavePath(std::string path) | stk::Stk | [static] | |
| setSampleRate(StkFloat rate) | stk::Stk | [static] | |
| showWarnings(bool status) | stk::Stk | [inline, static] | |
| sleep(unsigned long milliseconds) | stk::Stk | [static] | |
| void | ) |
Reset the file pointer and all existing grains to the file start.
Multiple grains are offset from one another in time by grain duration / nVoices.
| void stk::Granulate::setVoices | ( | unsigned int | nVoices = 1 |
) |
Set the number of simultaneous grain "voices" to use.
Multiple grains are offset from one another in time by grain duration / nVoices. For this reason, it is best to set the grain parameters before calling this function (during initialization).
| void stk::Granulate::setStretch | ( | unsigned int | stretchFactor = 1 |
) |
Set the stretch factor used for grain playback (1 - 1000).
Granular synthesis allows for time-stetching without affecting the original pitch of a sound. A stretch factor of 4 will produce a resulting sound of length 4 times the orignal sound. The default parameter of 1 produces no stretching.
| void stk::Granulate::setGrainParameters | ( | unsigned int | duration = 30, |
|
| unsigned int | rampPercent = 50, |
|||
| int | offset = 0, |
|||
| unsigned int | delay = 0 | |||
| ) |
Set global grain parameters used to determine individual grain settings.