Home
last modified time | relevance | path

Searched refs:IF3 (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSineOscillator.java24 private static final float IF3 = 1.0f / (2 * 3); field in SineOscillator
25 private static final float IF5 = IF3 / (4 * 5);
44 return x * (x2 * (x2 * (x2 * (x2 * ((x2 * (-IF11)) + IF9) - IF7) + IF5) - IF3) + 1); in fastSin()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSineOscillator.java24 private static final float IF3 = 1.0f / (2 * 3); field in SineOscillator
25 private static final float IF5 = IF3 / (4 * 5);
44 return x * (x2 * (x2 * (x2 * (x2 * ((x2 * (-IF11)) + IF9) - IF7) + IF5) - IF3) + 1); in fastSin()