Home
last modified time | relevance | path

Searched refs:amplitude (Results 1 – 21 of 21) sorted by relevance

/external/skia/samplecode/
DSampleAnimBlur.cpp15 SkScalar get_anim_sin(double secs, SkScalar amplitude, SkScalar periodInSec, SkScalar phaseInSec) { in get_anim_sin() argument
21 amplitude = SK_ScalarHalf * amplitude; in get_anim_sin()
22 return amplitude * SkDoubleToScalar(sin(t)) + amplitude; in get_anim_sin()
/external/autotest/client/cros/audio/
Daudio_quality_measurement_unittest.py26 amplitude = 1
34 wave.append(float(amplitude) * (sine_wave + noise))
42 teager_value_of_wave /= float(length * (amplitude ** 2))
44 noise = audio_quality_measurement.noise_level(amplitude, frequency,
68 self.amplitude = 1
75 self.y.append(float(self.amplitude) * sine_wave)
80 noise_amplitude = 0.01 * self.amplitude
107 self.y[i] = 3 * self.amplitude
119 self.y[i] = self.amplitude
131 self.y[j] = self.amplitude * (3 + numpy.random.uniform(-1, 1))
Daudio_quality_measurement.py200 def average_teager_value(wave, amplitude): argument
217 teager_value = (float(teager_value) / length) / (amplitude ** 2)
221 def noise_level(amplitude, frequency, rate, teager_value_of_input): argument
248 teager_value_of_std_wave = average_teager_value(standard_wave, amplitude)
304 amplitude = numpy.abs(result)
309 return (amplitude, frequency)
822 amplitude, frequency = hilbert_analysis(signal, rate, block_size)
833 res = find_block_average_value(amplitude, block_size * 2, block_size)
855 sum_of_amplitude = float(sum(amplitude[start_index:end_index]))
Daudio_analysis_unittest.py200 def create_constant_anomaly(self, amplitude): argument
208 [amplitude] * int(self.anomaly_duration_secs * self.rate))
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DToneGeneration.java59 public void setAmplitude(double amplitude) { in setAmplitude() argument
60 mAmplitude = amplitude; in setAmplitude()
DSoundLevelCalibration.java78 double amplitude = runAudioThread(mNativeAudioThread); in calibrate() local
80 Log.d(TAG, "calibrate: at sound level " + level + " volume was " + amplitude); in calibrate()
82 if (amplitude < Constant.SINE_WAVE_AMPLITUDE * CRITICAL_RATIO) { in calibrate()
/external/webrtc/webrtc/modules/audio_processing/
Dsplitting_filter_unittest.cc56 float amplitude = is_present[j] ? kAmplitude : 0.f; in TEST() local
59 amplitude * sin(2.f * M_PI * kFrequenciesHz[j] * in TEST()
Daudio_processing_impl_locking_unittest.cc462 float amplitude, in PopulateAudioFrame() argument
469 frame[ch][k] = amplitude * (2 * rand_gen->RandFloat() - 1); in PopulateAudioFrame()
476 int16_t amplitude, in PopulateAudioFrame() argument
478 ASSERT_GT(amplitude, 0); in PopulateAudioFrame()
479 ASSERT_LE(amplitude, 32767); in PopulateAudioFrame()
485 rand_gen->RandInt(2 * amplitude + 1) - amplitude - 1; in PopulateAudioFrame()
Daudio_processing_performance_unittest.cc393 auto populate_audio_frame = [](float amplitude, size_t num_channels, in PrepareFrame()
399 frame[ch][k] = amplitude * (2 * rand_gen->Rand<float>() - 1); in PrepareFrame()
/external/webrtc/webrtc/modules/video_coding/
Djitter_estimator_tests.cc49 ValueGenerator(int32_t amplitude) : amplitude_(amplitude), counter_(0) {} in ValueGenerator() argument
/external/kernel-headers/original/uapi/sound/
Dsfnt_info.h135 unsigned char amplitude; /* sample volume (127 max) */ member
/external/autotest/client/site_tests/firmware_TouchMTB/
DtouchbotII_robot_wrapper.py704 waveform = frequency = amplitude = None
713 amplitude = self._amplitude_dict[element]
715 if waveform and frequency and amplitude:
717 waveform, frequency, amplitude)
/external/drrickorang/LoopbackApp/app/src/main/jni/
Dsles.cpp300 float amplitude = 0.8; in playerCallback() local
305 value = (short) (sin(pSles->bufferTestPhase1) * maxShort * amplitude); in playerCallback()
/external/ImageMagick/MagickCore/
Dstatistic.c921 amplitude, in ApplyFunction() local
931 amplitude=(number_parameters >= 3) ? parameters[2] : 0.5; in ApplyFunction()
933 result=(double) (QuantumRange*(amplitude*sin((double) (2.0* in ApplyFunction()
Dfx.c5621 MagickExport Image *WaveImage(const Image *image,const double amplitude, in WaveImage() argument
5659 fabs(amplitude)),MagickTrue,exception); in WaveImage()
5680 sine_map[i]=fabs(amplitude)+amplitude*sin((double) ((2.0*MagickPI*i)/ in WaveImage()
/external/ImageMagick/MagickWand/
Dmagick-image.c12259 const double amplitude,const double wave_length, in MagickWaveImage() argument
12271 wave_image=WaveImage(wand->images,amplitude,wave_length,method, in MagickWaveImage()
/external/python/cpython2/Doc/whatsnew/
D2.6.rst1867 >>> v2 = var._replace(name='amplitude')
1869 variable(id=1, name='amplitude', type='int', size=4)
/external/ImageMagick/PerlMagick/quantum/
Dquantum.xs.in374 { "Wave", { {"geometry", StringReference}, {"amplitude", RealReference},
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_Definition.txt14109 波幅 < amplitude;
30857 波幅 > amplitude;
/external/brotli/tests/testdata/
Dplrabn12.txt6157 Of amplitude almost immense, with stars