Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSawOscillatorDPW.java30 public void setFrequency(float freq) { in setFrequency() argument
32 freq = Math.abs(freq); in setFrequency()
33 super.setFrequency(freq); in setFrequency()
34 if (freq < VERY_LOW_FREQ) { in setFrequency()
37 mScaler = (float) (0.125 * 44100 / freq); in setFrequency()
DSawOscillator.java27 float freq = (float) pitchToFrequency(pitch); in setPitch() local
28 setFrequency(freq); in setPitch()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSawOscillatorDPW.java30 public void setFrequency(float freq) { in setFrequency() argument
32 freq = Math.abs(freq); in setFrequency()
33 super.setFrequency(freq); in setFrequency()
34 if (freq < VERY_LOW_FREQ) { in setFrequency()
37 mScaler = (float) (0.125 * 44100 / freq); in setFrequency()
DSawOscillator.java27 float freq = (float) pitchToFrequency(pitch); in setPitch() local
28 setFrequency(freq); in setPitch()