Home
last modified time | relevance | path

Searched refs:TABLE_SIZE (Results 76 – 100 of 912) sorted by relevance

12345678910>>...37

/dports/emulators/mame/mame-mame0226/3rdparty/portaudio/test/
H A Dpatest_sine_srate.c66 #define TABLE_SIZE (200) macro
69 float sine[TABLE_SIZE];
98 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in patestCallback()
100 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in patestCallback()
120 for( i=0; i<TABLE_SIZE; i++ ) in main()
122 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
H A Dpatest_dither.c57 #define TABLE_SIZE (200) macro
61 float sine[TABLE_SIZE];
88 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in sineCallback()
90 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in sineCallback()
163 for( i=0; i<TABLE_SIZE; i++ ) in main()
165 DATA.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
/dports/games/cultivation/Cultivation_8_UnixSource/minorGems/sound/portaudio/pa_tests/
H A Dpatest_dither.c45 #define TABLE_SIZE (200) macro
48 float sine[TABLE_SIZE];
77 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in sineCallback()
79 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in sineCallback()
93 for( i=0; i<TABLE_SIZE; i++ ) in main()
95 DATA.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
H A Dpatest_clip.c45 #define TABLE_SIZE (200) macro
48 float sine[TABLE_SIZE];
75 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in sineCallback()
77 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in sineCallback()
90 for( i=0; i<TABLE_SIZE; i++ ) in main()
92 DATA.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
/dports/devel/raknet/raknet-3.9.2_10,1/DependentExtensions/portaudio_v18_1/pa_tests/
H A Dpatest_dither.c45 #define TABLE_SIZE (200) macro
48 float sine[TABLE_SIZE];
77 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in sineCallback()
79 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in sineCallback()
93 for( i=0; i<TABLE_SIZE; i++ ) in main()
95 DATA.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
H A Dpatest_clip.c45 #define TABLE_SIZE (200) macro
48 float sine[TABLE_SIZE];
75 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in sineCallback()
77 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in sineCallback()
90 for( i=0; i<TABLE_SIZE; i++ ) in main()
92 DATA.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
/dports/audio/portaudio/portaudio/test/
H A Dpatest_timing.c58 #define TABLE_SIZE (200) in InternalImageHandleToFvHandle()
63 float sine[TABLE_SIZE]; in InternalImageHandleToFvHandle()
99 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE;
101 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE;
121 for( i=0; i<TABLE_SIZE; i++ )
123 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. );
H A Dpatest_leftright.c59 #define TABLE_SIZE (200) macro
64 float sine[TABLE_SIZE];
105 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in patestCallback()
107 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in patestCallback()
126 for( i=0; i<TABLE_SIZE; i++ ) in main()
128 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
H A Dpatest_sine_channelmaps.c64 #define TABLE_SIZE (200) in myCallback()
67 float sine[TABLE_SIZE]; in myCallback()
96 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE;
98 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE;
123 for( i=0; i<TABLE_SIZE; i++ )
125 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. );
H A Dpatest_sine_srate.c66 #define TABLE_SIZE (200) macro
69 float sine[TABLE_SIZE];
98 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in patestCallback()
100 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in patestCallback()
120 for( i=0; i<TABLE_SIZE; i++ ) in main()
122 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
H A Dpatest_underflow.c59 #define TABLE_SIZE (200)
62 float sine[TABLE_SIZE];
89 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE;
91 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE;
112 for( i=0; i<TABLE_SIZE; i++ )
114 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. );
H A Dpatest_dither.c57 #define TABLE_SIZE (200) macro
61 float sine[TABLE_SIZE];
88 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in sineCallback()
90 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in sineCallback()
163 for( i=0; i<TABLE_SIZE; i++ ) in main()
165 DATA.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
/dports/audio/portaudio/portaudio/examples/
H A Dpaex_sine.c56 #define TABLE_SIZE (200) in rbs_min()
59 float sine[TABLE_SIZE]; in rbs_min()
89 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE;
91 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE;
119 for( i=0; i<TABLE_SIZE; i++ )
121 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. );
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/portaudio_sc_org/test/
H A Dpatest_sine_srate.c66 #define TABLE_SIZE (200) macro
69 float sine[TABLE_SIZE];
98 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in patestCallback()
100 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in patestCallback()
120 for( i=0; i<TABLE_SIZE; i++ ) in main()
122 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
H A Dpatest_timing.c58 #define TABLE_SIZE (200) in loadCsvData()
63 float sine[TABLE_SIZE]; in loadCsvData()
99 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE;
101 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE;
121 for( i=0; i<TABLE_SIZE; i++ )
123 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. );
H A Dpatest_leftright.c59 #define TABLE_SIZE (200)
64 float sine[TABLE_SIZE];
105 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE;
107 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE;
126 for( i=0; i<TABLE_SIZE; i++ )
128 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. );
H A Dpatest_underflow.c59 #define TABLE_SIZE (200) macro
62 float sine[TABLE_SIZE];
89 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in patestCallback()
91 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in patestCallback()
112 for( i=0; i<TABLE_SIZE; i++ ) in main()
114 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
H A Dpatest_sine_channelmaps.c64 #define TABLE_SIZE (200) macro
67 float sine[TABLE_SIZE];
96 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in patestCallback()
98 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in patestCallback()
123 for( i=0; i<TABLE_SIZE; i++ ) in main()
125 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/portaudio_sc_org/examples/
H A Dpaex_sine.c56 #define TABLE_SIZE (200) macro
59 float sine[TABLE_SIZE];
89 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in patestCallback()
91 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in patestCallback()
119 for( i=0; i<TABLE_SIZE; i++ ) in main()
121 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/perfm/
H A Ddist.c661 if ( handle >= TABLE_SIZE ) in updist()
664 handle, TABLE_SIZE ); in updist()
678 if ( handle >= TABLE_SIZE ) in updistcount()
681 handle, TABLE_SIZE ); in updistcount()
701 if ( handle >= TABLE_SIZE ) in printdist()
704 handle, TABLE_SIZE ); in printdist()
885 *handle, TABLE_SIZE ); in updist_()
914 *handle, TABLE_SIZE ); in updistcount_()
966 *handle, TABLE_SIZE ); in printdist_()
1023 *handle, TABLE_SIZE ); in starttimer_()
[all …]
/dports/science/nwchem-data/nwchem-7.0.2-release/src/perfm/
H A Ddist.c661 if ( handle >= TABLE_SIZE ) in updist()
664 handle, TABLE_SIZE ); in updist()
678 if ( handle >= TABLE_SIZE ) in updistcount()
681 handle, TABLE_SIZE ); in updistcount()
701 if ( handle >= TABLE_SIZE ) in printdist()
704 handle, TABLE_SIZE ); in printdist()
885 *handle, TABLE_SIZE ); in updist_()
914 *handle, TABLE_SIZE ); in updistcount_()
966 *handle, TABLE_SIZE ); in printdist_()
1023 *handle, TABLE_SIZE ); in starttimer_()
[all …]
/dports/audio/stk/stk-4.6.2/src/
H A DSineWave.cpp27 table_.resize( TABLE_SIZE + 1, 1 ); in SineWave()
28 StkFloat temp = 1.0 / TABLE_SIZE; in SineWave()
29 for ( unsigned long i=0; i<=TABLE_SIZE; i++ ) in SineWave()
56 this->setRate( TABLE_SIZE * frequency / Stk::sampleRate() ); in setFrequency()
68 time_ += TABLE_SIZE * phase; in addPhase()
74 time_ += ( phaseOffset - phaseOffset_ ) * TABLE_SIZE; in addPhaseOffset()
/dports/audio/stk/stk-4.6.2/include/
H A DSineWave.h4 const unsigned long TABLE_SIZE = 2048; variable
104 time_ += TABLE_SIZE; in tick()
105 while ( time_ >= TABLE_SIZE ) in tick()
106 time_ -= TABLE_SIZE; in tick()
138 time_ += TABLE_SIZE; in tick()
139 while ( time_ >= TABLE_SIZE ) in tick()
140 time_ -= TABLE_SIZE; in tick()
/dports/emulators/mess/mame-mame0226/3rdparty/portaudio/test/
H A Dpatest_dither.c57 #define TABLE_SIZE (200) macro
61 float sine[TABLE_SIZE];
88 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in sineCallback()
90 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in sineCallback()
163 for( i=0; i<TABLE_SIZE; i++ ) in main()
165 DATA.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
/dports/games/flightgear/flightgear-2020.3.11/3rdparty/iaxclient/lib/portaudio/test/
H A Dpatest_dither.c49 #define TABLE_SIZE (200) macro
53 float sine[TABLE_SIZE];
80 if( data->left_phase >= TABLE_SIZE ) data->left_phase -= TABLE_SIZE; in sineCallback()
82 if( data->right_phase >= TABLE_SIZE ) data->right_phase -= TABLE_SIZE; in sineCallback()
151 for( i=0; i<TABLE_SIZE; i++ ) in main()
153 DATA.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()

12345678910>>...37