Android examples for java.lang:Integer
calculate Phase from step, frequency and sampling rate
public class Main{ private static double calcPhase(int step, float freq, int samplingRate) { return Math.PI * step * freq / samplingRate; }//from w w w. j ava 2s. c o m }