/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
H A D | ToneGeneration.java | 59 public void setAmplitude(double amplitude) { argument 60 mAmplitude = amplitude;
|
H A D | SoundLevelCalibration.java | 28 private static final double CRITICAL_RATIO = 0.41; // Ratio of input over output amplitude at 78 double amplitude = runAudioThread(mNativeAudioThread); 80 Log.d(TAG, "calibrate: at sound level " + level + " volume was " + amplitude); 82 if (amplitude < Constant.SINE_WAVE_AMPLITUDE * CRITICAL_RATIO) { 95 // runs the native audio thread and returns the average amplitude 115 return Math.sqrt(2.0 * sumSquare / data.length); // amplitude of the sine wave
|
/external/skia/samplecode/ |
H A D | SampleAnimBlur.cpp | 15 SkScalar get_anim_sin(double secs, SkScalar amplitude, SkScalar periodInSec, SkScalar phaseInSec) { argument 21 amplitude = SK_ScalarHalf * amplitude; 22 return amplitude * SkDoubleToScalar(sin(t)) + amplitude;
|
/external/skqp/samplecode/ |
H A D | SampleAnimBlur.cpp | 15 SkScalar get_anim_sin(double secs, SkScalar amplitude, SkScalar periodInSec, SkScalar phaseInSec) { argument 21 amplitude = SK_ScalarHalf * amplitude; 22 return amplitude * SkDoubleToScalar(sin(t)) + amplitude;
|
/external/autotest/client/cros/audio/ |
H A D | audio_quality_measurement_unittest.py | 26 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 * ( [all...] |
H A D | audio_quality_measurement.py | 32 # amplitude increases/decreases linearly. 39 # In this module, amplitude and frequency are derived from Hilbert transform. 40 # Both amplitude and frequency are a function of time. 43 # average amplitude of its block. The block size will be 1.5 ms. 44 # Using average amplitude can mitigate the error caused by 61 # If the amplitude of some sample is less than 0.6 times of the 62 # average amplitude of its left/right block, it will be considered 66 # If the average amplitude of the block before or after playing 67 # is more than 0.5 times to the average amplitude of the wave, 71 # In the sine wave, if the amplitude i [all...] |
H A D | audio_analysis_unittest.py | 200 def create_constant_anomaly(self, amplitude): 203 @param amplitude: The amplitude of the constant samples. 208 [amplitude] * int(self.anomaly_duration_secs * self.rate)) 259 one block of samples with 0 amplitude.
|
/external/webrtc/webrtc/modules/audio_processing/ |
H A D | splitting_filter_unittest.cc | 56 float amplitude = is_present[j] ? kAmplitude : 0.f; local 59 amplitude * sin(2.f * M_PI * kFrequenciesHz[j] *
|
H A D | audio_processing_impl_locking_unittest.cc | 462 float amplitude, 468 // Store random 16 bit quantized float number between +-amplitude. 469 frame[ch][k] = amplitude * (2 * rand_gen->RandFloat() - 1); 476 int16_t amplitude, 478 ASSERT_GT(amplitude, 0); 479 ASSERT_LE(amplitude, 32767); 482 // Store random 16 bit number between -(amplitude+1) and 483 // amplitude. 485 rand_gen->RandInt(2 * amplitude + 1) - amplitude 461 PopulateAudioFrame(float** frame, float amplitude, size_t num_channels, size_t samples_per_channel, RandomGenerator* rand_gen) argument 475 PopulateAudioFrame(AudioFrame* frame, int16_t amplitude, RandomGenerator* rand_gen) argument [all...] |
H A D | audio_processing_performance_unittest.cc | 393 auto populate_audio_frame = [](float amplitude, size_t num_channels, 398 // Store random float number with a value between +-amplitude. 399 frame[ch][k] = amplitude * (2 * rand_gen->Rand<float>() - 1);
|
/external/webrtc/webrtc/modules/video_coding/ |
H A D | jitter_estimator_tests.cc | 49 ValueGenerator(int32_t amplitude) : amplitude_(amplitude), counter_(0) {} argument
|
/external/kernel-headers/original/uapi/sound/ |
H A D | sfnt_info.h | 136 unsigned char amplitude; /* sample volume (127 max) */ member in struct:soundfont_voice_info
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
H A D | touchbotII_robot_wrapper.py | 195 # The amplitude of noise in Vpp. 704 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/ |
H A D | dsp_core_unittest.cc | 16 /* Adds amplitude * sin(pi*freq*i + offset) to the data array. */ 18 float amplitude) 21 data[i] += amplitude * sinf((float)M_PI*freq*i + offset); 17 add_sine(float *data, size_t len, float freq, float offset, float amplitude) argument
|
/external/ImageMagick/www/api/ |
H A D | fx.php | 744 <p>WaveImage() creates a "ripple" effect in the image by shifting the pixels vertically along a sine wave whose amplitude and wavelength is specified by the given parameters.</p> 749 Image *WaveImage(const Image *image,const double amplitude, 765 <dt>amplitude, wave_length</dt> 766 <dd> Define the amplitude and wave length of the sine wave. </dd>
|
H A D | magick-image.php | 7602 <p>MagickWaveImage() creates a "ripple" effect in the image by shifting the pixels vertically along a sine wave whose amplitude and wavelength is specified by the given parameters.</p> 7608 const double amplitude,const double wave_length, 7623 <dt>amplitude, wave_length</dt> 7624 <dd> Define the amplitude and wave length of the sine wave. </dd>
|
/external/drrickorang/LoopbackApp/app/src/main/jni/ |
H A D | sles.cpp | 300 float amplitude = 0.8; local 305 value = (short) (sin(pSles->bufferTestPhase1) * maxShort * amplitude);
|
/external/ImageMagick/MagickCore/ |
H A D | fx.c | 5600 % vertically along a sine wave whose amplitude and wavelength is specified 5605 % Image *WaveImage(const Image *image,const double amplitude, 5613 % o amplitude, wave_length: Define the amplitude and wave length of the 5621 MagickExport Image *WaveImage(const Image *image,const double amplitude, argument 5659 fabs(amplitude)),MagickTrue,exception); 5680 sine_map[i]=fabs(amplitude)+amplitude*sin((double) ((2.0*MagickPI*i)/
|
H A D | statistic.c | 924 amplitude, 930 Sinusoid: frequency, phase, amplitude, bias. 934 amplitude=(number_parameters >= 3) ? parameters[2] : 0.5; 936 result=(double) (QuantumRange*(amplitude*sin((double) (2.0* 921 amplitude, local
|
/external/ImageMagick/MagickWand/ |
H A D | magick-image.c | 12492 % the pixels vertically along a sine wave whose amplitude and wavelength 12498 % const double amplitude,const double wave_length, 12505 % o amplitude, wave_length: Define the amplitude and wave length of the 12512 const double amplitude,const double wave_length, 12524 wave_image=WaveImage(wand->images,amplitude,wave_length,method, 12258 MagickWaveImage(MagickWand *wand, const double amplitude,const double wave_length, const PixelInterpolateMethod method) argument
|