Home
last modified time | relevance | path

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

/development/samples/browseable/MidiScope/src/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()
/development/samples/browseable/MidiSynth/src/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()