Home
last modified time | relevance | path

Searched refs:mAmplitude (Results 1 – 6 of 6) sorted by relevance

/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
DSawOscillator.java24 private float mAmplitude = 1.0f; field in SawOscillator
41 mAmplitude = amplitude; in setAmplitude()
45 return mAmplitude; in getAmplitude()
70 return incrementWrapPhase() * mAmplitude; in render()
DSynthVoice.java24 private float mAmplitude; field in SynthVoice
72 return mAmplitude; in getAmplitude()
76 this.mAmplitude = amplitude; in setAmplitude()
/external/oboe/samples/shared/
DOscillator.h54 mAmplitude = amplitude; in setAmplitude()
68 audioData[i] = -mAmplitude; in renderAudio()
70 audioData[i] = mAmplitude; in renderAudio()
84 std::atomic<float> mAmplitude { 0 };
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DSineWaveTone.java37 mAmplitude = Constant.SINE_WAVE_AMPLITUDE; in SineWaveTone()
44 short value1 = (short) (mAmplitude * Math.sin(mPhase) * Short.MAX_VALUE); in generateTone()
65 double value1 = mAmplitude * Math.sin(mPhase); in generateTone()
DToneGeneration.java26 protected double mAmplitude; // this value should be from 0 to 1.0 field in ToneGeneration
60 mAmplitude = amplitude; in setAmplitude()
DRampedSineTone.java28 mAmplitude = Constant.LOOPBACK_AMPLITUDE; in RampedSineTone()