/frameworks/base/media/tests/audiotests/ |
shared_mem_test.h | 16 void Generate(short *buffer, long bufferSz, long amplitude, unsigned long &phi, long dPhi); 18 short ComputeSine(long amplitude, long phi);
|
shared_mem_test.cpp | 80 long amplitude; local 86 amplitude = 1000; 88 Generate(smpBuf, BUF_SZ, amplitude, phi, dPhi); // fill buffer 134 void AudioTrackTest::Generate(short *buffer, long bufferSz, long amplitude, unsigned long &phi, long dPhi) 138 buffer[i0] = ComputeSine( amplitude, phi); 149 short AudioTrackTest::ComputeSine(long amplitude, long phi) 155 sample = (amplitude*sin1024[(phi>>22) & 0x3ff]) >> 15; 158 l1 = (amplitude*sin1024[((phi>>22) + 256) & 0x3ff]) >> 15; // 2^15*cosine
|
/external/skia/samplecode/ |
SampleAnimBlur.cpp | 15 SkScalar get_anim_sin(double secs, SkScalar amplitude, SkScalar periodInSec, SkScalar phaseInSec) { 21 amplitude = SK_ScalarHalf * amplitude; 22 return amplitude * SkDoubleToScalar(sin(t)) + amplitude;
|
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/ |
SawOscillator.java | 40 public void setAmplitude(float amplitude) { 41 mAmplitude = amplitude;
|
SynthVoice.java | 75 public void setAmplitude(float amplitude) { 76 this.mAmplitude = amplitude;
|
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/ |
SawOscillator.java | 40 public void setAmplitude(float amplitude) { 41 mAmplitude = amplitude;
|
SynthVoice.java | 75 public void setAmplitude(float amplitude) { 76 this.mAmplitude = amplitude;
|
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/ |
SawOscillator.java | 40 public void setAmplitude(float amplitude) { 41 mAmplitude = amplitude;
|
SynthVoice.java | 75 public void setAmplitude(float amplitude) { 76 this.mAmplitude = amplitude;
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
SawOscillator.java | 40 public void setAmplitude(float amplitude) { 41 mAmplitude = amplitude;
|
SynthVoice.java | 75 public void setAmplitude(float amplitude) { 76 this.mAmplitude = amplitude;
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
SawOscillator.java | 40 public void setAmplitude(float amplitude) { 41 mAmplitude = amplitude;
|
SynthVoice.java | 75 public void setAmplitude(float amplitude) { 76 this.mAmplitude = amplitude;
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/ |
OutlineZigzagEffect.java | 29 float amplitude = 1;
field in class:OutlineZigzagEffect 48 values.add(EffectUtil.floatValue("Amplitude", amplitude, 0.5f, 50, "This setting controls the amplitude of the outline. "
59 } else if (value.getName().equals("Amplitude")) {
60 amplitude = ((Float)value.getObject()).floatValue();
105 result.lineTo(x + amplitude * dy * r, y - amplitude * dx * r);
107 result.lineTo(x - amplitude * dy * r, y + amplitude * dx * r); [all...] |
OutlineWobbleEffect.java | 30 float amplitude = 1;
field in class:OutlineWobbleEffect 49 values.add(EffectUtil.floatValue("Amplitude", amplitude, 0.5f, 50, "This setting controls the amplitude of the outline."));
59 } else if (value.getName().equals("Amplitude")) {
60 amplitude = ((Float)value.getObject()).floatValue();
120 return x + (float)Math.random() * amplitude * 2 - 1;
|
/frameworks/av/cmds/stagefright/ |
SineSource.cpp | 81 int16_t amplitude = (int16_t)(32767.0 * sin(x)); local 83 *ptr++ = amplitude; 85 *ptr++ = amplitude;
|
/cts/suite/audio_quality/lib/src/task/ |
TaskSound.cpp | 79 int amplitude = atoi(tokens->at(1).string()); local 83 buffer = AudioSignalFactory::generateSineWave(AudioHardware::E2BPS, amplitude, 90 int amplitude = atoi(tokens->at(1).string()); local 93 buffer = AudioSignalFactory::generateWhiteNoise(AudioHardware::E2BPS, amplitude,
|
/external/webrtc/webrtc/modules/audio_processing/ |
splitting_filter_unittest.cc | 56 float amplitude = is_present[j] ? kAmplitude : 0.f; local 59 amplitude * sin(2.f * M_PI * kFrequenciesHz[j] *
|