flladict.net
back
Name
getAmplitude
Examples
import net.fladdict.oscillator.*;
Oscillator osc = new OscSin(30,100,50);
println( osc.getAmplitude());
Description
Returns current amplitude of oscillator. Generall oscillator returns number between -amplitude and amplitude(after that offset of amplitude is added).
Syntax
osc.getAmplitude()
Returns
float
current amplitude value
Usage
Web & Application