Home
last modified time | relevance | path

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

/developers/samples/android/common/src/java/com/example/android/common/midi/synth/
DSawOscillator.java23 private float mFrequencyScaler = 1.0f; field in SawOscillator
37 mPhaseIncrement = 2.0f * mFrequency * mFrequencyScaler / 48000.0f; in updatePhaseIncrement()
49 return mFrequencyScaler; in getFrequencyScaler()
53 mFrequencyScaler = frequencyScaler; in setFrequencyScaler()
DSynthEngine.java47 private float mFrequencyScaler = 1.0f; field in SynthEngine
241 voice.setFrequencyScaler(mFrequencyScaler); in noteOn()
249 mFrequencyScaler = (float) Math.pow(2.0, semitones / 12.0); in pitchBend()
253 voice.setFrequencyScaler(mFrequencyScaler); in pitchBend()