Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/sound/
Dsound.c13 const unsigned short amplitude = 16000; /* between 1 and 32767 */ in sound_create_square_wave() local
27 *data++ = amplitude; in sound_create_square_wave()
28 *data++ = amplitude; in sound_create_square_wave()
32 *data++ = -amplitude; in sound_create_square_wave()
33 *data++ = -amplitude; in sound_create_square_wave()
/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/skqp/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.java88 double amplitude = runAudioThread(mNativeAudioThread); in calibrate() local
90 Log.d(TAG, "calibrate: at sound level " + level + " volume was " + amplitude); in calibrate()
92 if (amplitude < Constant.SINE_WAVE_AMPLITUDE * 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.h136 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/adhd/cras/src/tests/
Ddsp_core_unittest.cc18 float amplitude) in add_sine() argument
21 data[i] += amplitude * sinf((float)M_PI*freq*i + offset); in add_sine()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_AudioSpectrogram.pbtxt45 dimensional output. The lowest dimension has an amplitude value for each
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp283 float amplitude = 0.8; in playerCallback() local
288 value = (short) (sin(pSles->bufferTestPhase1) * maxShort * amplitude); in playerCallback()
/external/ImageMagick/MagickCore/
Dstatistic.c940 amplitude, in ApplyFunction() local
950 amplitude=(number_parameters >= 3) ? parameters[2] : 0.5; in ApplyFunction()
952 result=(double) (QuantumRange*(amplitude*sin((double) (2.0* in ApplyFunction()
Dfx.c5639 MagickExport Image *WaveImage(const Image *image,const double amplitude, in WaveImage() argument
5684 (canvas_image->rows+2.0*fabs(amplitude)),MagickTrue,exception); in WaveImage()
5708 sine_map[i]=fabs(amplitude)+amplitude*sin((double) ((2.0*MagickPI*i)/ in WaveImage()
/external/ImageMagick/MagickWand/
Dmagick-image.c12314 const double amplitude,const double wave_length, in MagickWaveImage() argument
12326 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/python/cpython3/Doc/whatsnew/
D2.6.rst1871 >>> v2 = var._replace(name='amplitude')
1873 variable(id=1, name='amplitude', type='int', size=4)
/external/ImageMagick/PerlMagick/quantum/
Dquantum.xs.in376 { "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;

12