/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/utils/test/ |
H A D | Testrfft.cpp | 24 const int freq2[] = {1,7}; in TEST() local 30 input[2*i+1] = cos(freq2[0]*2.0*M_PI*i/size)+cos(freq2[1]*2.0*M_PI*i/size); in TEST() 39 EXPECT_NEAR(output[2*i+1], ((i==freq2[0]||i==freq2[1])?1.0:0.0), 1e-7); in TEST()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sndhrdw/ |
H A D | meadows_sndhrdw.c | 32 static int freq2 = 1000; variable 47 mixer_play_sample(channel+1,waveform,sizeof(waveform),freq2,1); in meadows_sh_start() 96 freq2 = BASE_CTR2 / (preset + 1) / 2; in meadows_sh_update() 98 freq2 >>= 1; in meadows_sh_update() 101 logerror("meadows ctr2 channel #%d preset:%3d freq:%5d amp:%d\n", channel+1, preset, freq2, amp); in meadows_sh_update() 102 mixer_set_sample_frequency(channel+1, freq2 * sizeof(waveform)); in meadows_sh_update()
|
H A D | polyplay_sndhrdw.c | 18 static int freq1, freq2, channellfo, channel_playing1, channel_playing2; variable 33 freq1 = freq2 = 110; in polyplay_sh_start() 54 mixer_set_sample_frequency(channellfo+1, sizeof(backgroundwave)*freq2 ); in polyplay_sh_update() 82 freq2 = 2457600 / 16 / data / 8; in play_channel2() 84 …ay_sample_16(channellfo+1, backgroundwave, sizeof(backgroundwave), sizeof(backgroundwave)*freq2,1); in play_channel2()
|
H A D | seibu.h | 69 #define SEIBU_SOUND_SYSTEM_YM3812_HARDWARE(freq1,freq2,region) \ argument 82 { freq2 }, \ 87 #define SEIBU_SOUND_SYSTEM_RAIDEN_YM3812_HARDWARE(freq1,freq2,region) \ argument 100 { freq2 }, \ 116 #define SEIBU_SOUND_SYSTEM_YM2151_HARDWARE(freq1,freq2,region) \ argument 129 { freq2 }, \
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sndhrdw/ |
H A D | meadows_sndhrdw.c | 32 static int freq2 = 1000; variable 47 mixer_play_sample(channel+1,waveform,sizeof(waveform),freq2,1); in meadows_sh_start() 96 freq2 = BASE_CTR2 / (preset + 1) / 2; in meadows_sh_update() 98 freq2 >>= 1; in meadows_sh_update() 101 …UG, LOGPRE "meadows ctr2 channel #%d preset:%3d freq:%5d amp:%d\n", channel+1, preset, freq2, amp); in meadows_sh_update() 102 mixer_set_sample_frequency(channel+1, freq2 * sizeof(waveform)); in meadows_sh_update()
|
H A D | polyplay_sndhrdw.c | 18 static int freq1, freq2, channellfo, channel_playing1, channel_playing2; variable 33 freq1 = freq2 = 110; in polyplay_sh_start() 54 mixer_set_sample_frequency(channellfo+1, sizeof(backgroundwave)*freq2 ); in polyplay_sh_update() 82 freq2 = 2457600 / 16 / data / 8; in play_channel2() 84 …ay_sample_16(channellfo+1, backgroundwave, sizeof(backgroundwave), sizeof(backgroundwave)*freq2,1); in play_channel2()
|
H A D | seibu.h | 69 #define SEIBU_SOUND_SYSTEM_YM3812_HARDWARE(freq1,freq2,region) \ argument 82 { freq2 }, \ 87 #define SEIBU_SOUND_SYSTEM_RAIDEN_YM3812_HARDWARE(freq1,freq2,region) \ argument 100 { freq2 }, \ 116 #define SEIBU_SOUND_SYSTEM_YM2151_HARDWARE(freq1,freq2,region) \ argument 129 { freq2 }, \
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/sndhrdw/ |
H A D | polyplay.c | 18 static int freq1, freq2, channellfo, channel_playing1, channel_playing2; variable 35 freq1 = freq2 = 110; in polyplay_sh_start() 56 mixer_set_sample_frequency(channellfo+1, sizeof(backgroundwave)*freq2 ); in polyplay_sh_update() 84 freq2 = 2457600 / 16 / data / 8; in play_channel2() 86 …ay_sample_16(channellfo+1, backgroundwave, sizeof(backgroundwave), sizeof(backgroundwave)*freq2,1); in play_channel2()
|
H A D | meadows.c | 31 static int freq2 = 1000; variable 46 mixer_play_sample(channel+1,waveform,sizeof(waveform),freq2,1); in meadows_sh_start() 95 freq2 = BASE_CTR2 / (preset + 1) / 2; in meadows_sh_update() 97 freq2 >>= 1; in meadows_sh_update() 101 mixer_set_sample_frequency(channel+1, freq2 * sizeof(waveform)); in meadows_sh_update()
|
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-filter/python/filter/ |
H A D | optfir.py | 40 def low_pass (gain, Fs, freq1, freq2, passband_ripple_db, stopband_atten_db, argument 57 (n, fo, ao, w) = remezord ([freq1, freq2], desired_ampls, 152 def high_pass (gain, Fs, freq1, freq2, passband_ripple_db, stopband_atten_db, argument 169 (n, fo, ao, w) = remezord ([freq1, freq2], desired_ampls, 298 def lporder (freq1, freq2, delta_p, delta_s): argument 310 df = abs (freq2 - freq1) 335 def bporder (freq1, freq2, delta_p, delta_s): argument 343 df = abs (freq2 - freq1)
|
H A D | qa_pm_remez.py | 112 def lporder (freq1, freq2, delta_p, delta_s): argument 116 df = abs (freq2 - freq1) 154 freq2 = 0.2 161 (n, fo, ao, w) = remezord([freq1, freq2], desired_ampls,
|
/dports/net/p5-Net-SIP/Net-SIP-0.832/lib/Net/SIP/ |
H A D | DTMF.pm | 235 my @freq2 = (1209,1336,1477,1633); 241 my $freq2 = $freq2[ $i%4 ]; 242 $event2f{$keys[$i]} = [$freq1,$freq2]; 243 $f2event[$freq1][$freq2] = $keys[$i]; 297 for my $freq (@freq1,@freq2) { 421 for my $f (@freq1,@freq2) { 445 for my $f (@freq1,@freq2) {
|
/dports/biology/wise/wise2.4.1/src/external/mott/ |
H A D | mott_api.c | 14 int KarlinAltschulStatistics2( int **matrix, double *freq1, double *freq2, double *lambda, double *… 17 double *GetHistogram( double *freq1, double *freq2, int **matrix, int *hmin, int *hmax, double *mea… 111 int KarlinAltschulStatistics2( int **matrix, double *freq1, double *freq2, double *lambda, double *… in KarlinAltschulStatistics2() argument 130 h = GetHistogram( freq1, freq2, matrix, &hmin, &hmax, &mean ); in KarlinAltschulStatistics2() 162 double *GetHistogram( double *freq1, double *freq2, int **matrix, int *hmin, int *hmax, double *mea… in GetHistogram() argument 183 h[matrix[i][j]]+=freq1[i]*freq2[j]; in GetHistogram()
|
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/qt/ |
H A D | fft_view.cpp | 168 void cFFTView::emitNewFrequencyBand(double freq1, double freq2) in emitNewFrequencyBand() argument 171 freq2 = qBound(0.0, freq2, double(sampleRate)); in emitNewFrequencyBand() 173 double bandWidth = fabs(freq2 - freq1); in emitNewFrequencyBand() 174 double midFreq = (freq1 + freq2) * 0.5; in emitNewFrequencyBand()
|
/dports/comms/cubicsdr/CubicSDR-0248e5a/src/ |
H A D | FrequencyDialog.cpp | 86 long long freq, freq2, freq_ctr, range_bw; in OnChar() local 112 freq2 = strToFrequency(strValue2); in OnChar() 128 if (ranged && (freq || freq2)) { in OnChar() 129 if (freq > freq2) { in OnChar() 130 std::swap(freq,freq2); in OnChar() 132 range_bw = (freq2-freq); in OnChar() 140 if (freq == freq2) { in OnChar()
|
/dports/science/py-obspy/obspy-1.2.2/obspy/signal/tests/ |
H A D | test_calibration.py | 86 freq2, amp2, phase2 = rel_calib_stack(st1[0], st2[0], calfile, 20, 88 np.testing.assert_array_almost_equal(freq, freq2, decimal=4) 112 freq2, amp2, phase2 = rel_calib_stack( 115 amp_got = median_amplitude_plateau(freq2, amp2) 137 freq2, amp2, phase2 = rel_calib_stack(st1, st2, calpaz, 20, 139 np.testing.assert_array_almost_equal(freq, freq2, decimal=4)
|
/dports/net/sems/sems-f89581a/core/ |
H A D | AmRingTone.cpp | 12 freq(f),freq2(f2), in AmRingTone() 43 if(freq2 != 0) in read() 44 fs += sin((float(t*freq2)/(float)SYSTEM_SAMPLECLOCK_RATE)*2.0*PI)*15000.0; in read()
|
/dports/audio/rkr-lv2/rkrlv2-beta_2-2-gd8c17d3/src/ |
H A D | CoilCrafter.C | 189 RB2l->setfreq(freq2); 190 RB2r->setfreq(freq2); 262 freq2 = tfreqs[value]; in setpreset() 263 Pfreq2 = (int)freq2; in setpreset() 282 freq2 = (float) value;
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/stats/ |
H A D | diagnostic_gen.py | 201 freq2 = np.asarray(probs2) 205 freq2_ = np.concatenate((np.zeros(freq2.shape[:-1] + (1,)), freq2), 215 prob2 = (cdfm1 * freq2).sum(-1)
|
/dports/java/apache-commons-collections/commons-collections-3.2.2-src/src/test/org/apache/commons/collections/ |
H A D | TestCollectionUtils.java | 251 assertEquals(new Integer(1),freq2.get("a")); in testUnion() 252 assertEquals(new Integer(4),freq2.get("b")); in testUnion() 253 assertEquals(new Integer(3),freq2.get("c")); in testUnion() 254 assertEquals(new Integer(4),freq2.get("d")); in testUnion() 269 assertNull(freq2.get("a")); in testIntersection() 270 assertEquals(new Integer(2),freq2.get("b")); in testIntersection() 273 assertNull(freq2.get("e")); in testIntersection() 289 assertNull(freq2.get("c")); in testDisjunction() 320 assertNull(freq2.get("d")); in testSubtract() 321 assertNull(freq2.get("c")); in testSubtract() [all …]
|
/dports/audio/sox/sox-14.4.2/src/ |
H A D | synth.c | 87 double freq, freq2, mult; member 120 chan->freq2 = chan->freq = 440; in create_channel() 264 chan->freq2 = chan->freq = lsx_parse_frequency_k(argv[argn], &end_ptr, key); in getopts() 276 chan->freq2 = lsx_parse_frequency_k(end_ptr + 1, &end_ptr, key); in getopts() 277 if (chan->freq2 < 0) { in getopts() 290 if (chan->sweep >= Exp && chan->freq * chan->freq2 == 0) { in getopts() 418 (chan->freq2 - chan->freq) / p->samples_to_do / 2 : 0; in start() 421 sqrt(fabs(chan->freq2 - chan->freq)) / p->samples_to_do / sqrt(3.) : 0; in start() 422 if (chan->freq > chan->freq2) in start() 430 (log(chan->freq2) - log(chan->freq)) / p->samples_to_do : 1; in start() [all …]
|
/dports/net/pjsip/pjproject-2.11.1/pjsip-apps/src/samples/ |
H A D | tonegen.c | 86 tones[0].freq2 = 0; in main() 91 tones[1].freq2 = 0; in main() 96 tones[2].freq2 = 0; in main()
|
/dports/games/odamex/odamex-src-0.7.0/client/sdl/ |
H A D | i_sound.cpp | 62 static bool ConvertibleRatio(int freq1, int freq2) in EXTERN_CVAR() 66 if (freq1 > freq2) in EXTERN_CVAR() 68 return ConvertibleRatio(freq2, freq1); in EXTERN_CVAR() 70 else if ((freq2 % freq1) != 0) in EXTERN_CVAR() 80 ratio = freq2 / freq1; in EXTERN_CVAR()
|
/dports/audio/praat/praat-6.2.03/external/gsl/ |
H A D | gsl_fft__signals_source.c | 205 int freq1, freq2; in FUNCTION() local 218 freq2 = (n - k2) % n; in FUNCTION() 222 freq2 = (k2 % n); in FUNCTION() 227 REAL(fft,stride,freq2) += ((BASE) n) * z2_real; in FUNCTION() 228 IMAG(fft,stride,freq2) += ((BASE) n) * z2_imag; in FUNCTION()
|
/dports/math/gsl/gsl-2.7/fft/ |
H A D | signals_source.c | 205 int freq1, freq2; in FUNCTION() local 218 freq2 = (n - k2) % n; in FUNCTION() 222 freq2 = (k2 % n); in FUNCTION() 227 REAL(fft,stride,freq2) += ((BASE) n) * z2_real; in FUNCTION() 228 IMAG(fft,stride,freq2) += ((BASE) n) * z2_imag; in FUNCTION()
|