Home
last modified time | relevance | path

Searched refs:getAmplitude (Results 1 – 11 of 11) sorted by relevance

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSawOscillatorDPW.java49 return diffed * mScaler * getAmplitude(); in render()
DSineOscillator.java51 return fastSin(phase) * getAmplitude(); in render()
DSawOscillator.java44 public float getAmplitude() { in getAmplitude() method in SawOscillator
DSawVoice.java39 mOscillator.setAmplitude(getAmplitude()); in noteOn()
DSynthVoice.java71 public float getAmplitude() { in getAmplitude() method in SynthVoice
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSawOscillatorDPW.java49 return diffed * mScaler * getAmplitude(); in render()
DSineOscillator.java51 return fastSin(phase) * getAmplitude(); in render()
DSawOscillator.java44 public float getAmplitude() { in getAmplitude() method in SawOscillator
DSawVoice.java39 mOscillator.setAmplitude(getAmplitude()); in noteOn()
DSynthVoice.java71 public float getAmplitude() { in getAmplitude() method in SynthVoice
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DRobotSpeakTtsService.java266 buffer.putShort((short)(getAmplitude() * -1)); in generateOneSecondOfAudio()
269 buffer.putShort(getAmplitude()); in generateOneSecondOfAudio()
290 private short getAmplitude() { in getAmplitude() method in RobotSpeakTtsService