flladict.net
back
Name
getValue
Examples
import net.fladdict.oscillator.*;
Oscillator osc = new OscSin(30,100,50);
for(int i=0; i<100; i++){
osc.update();
point(i, osc.getValue());
}
Description
Returns current wave value. Range of value is between -amplitude and amplitude plus ampOffset(offset of amplitude)
Syntax
osc.getValue()
Returns
float
current wave value
Usage
Web & Application