/dports/audio/praat/praat-6.2.03/fon/ |
H A D | FormantGrid.cpp | 79 for (integer iformant = 1; iformant <= numberOfFormants; iformant ++) { in FormantGrid_init() local 105 for (integer iformant = 1; iformant <= numberOfFormants; iformant ++) { in FormantGrid_create() local 119 if (iformant < 1 || iformant > my formants.size) in FormantGrid_addFormantPoint() 130 if (iformant < 1 || iformant > my formants.size) in FormantGrid_addBandwidthPoint() 140 if (iformant < 1 || iformant > my formants.size) return undefined; in FormantGrid_getFormantAtTime() 145 if (iformant < 1 || iformant > my bandwidths.size) return undefined; in FormantGrid_getBandwidthAtTime() 150 if (iformant < 1 || iformant > my formants.size) return; in FormantGrid_removeFormantPointsBetween() 155 if (iformant < 1 || iformant > my bandwidths.size) return; in FormantGrid_removeBandwidthPointsBetween() 162 for (integer iformant = 1; iformant <= formantGrid -> formants.size; iformant ++) { in Sound_FormantGrid_filter_inplace() local 298 for (integer iformant = 1; iformant <= frame -> numberOfFormants; iformant ++) { in Formant_downto_FormantGrid() local [all …]
|
H A D | Formant.cpp | 62 if (iformant < 1 || iformant > frame -> numberOfFormants) in v_getValueAtSample() 163 for (integer iformant = 1; iformant <= frame -> numberOfFormants; iformant ++) { in Formant_drawSpeckles_inside() local 232 for (integer iformant = 1; iformant <= frame -> numberOfFormants; iformant ++) in Formant_formula_bandwidths() local 233 mat -> z [iformant] [iframe] = frame -> formant [iformant]. bandwidth; in Formant_formula_bandwidths() 238 for (integer iformant = 1; iformant <= frame -> numberOfFormants; iformant ++) in Formant_formula_bandwidths() local 254 for (integer iformant = 1; iformant <= frame -> numberOfFormants; iformant ++) in Formant_formula_frequencies() local 260 for (integer iformant = 1; iformant <= frame -> numberOfFormants; iformant ++) in Formant_formula_frequencies() local 273 if (iformant < 1) in Formant_getExtrema() 531 for (integer iformant = 1; iformant <= my maxnFormants; iformant ++) { in Formant_downto_Table() local 546 for (integer iformant = 1; iformant <= frame -> numberOfFormants; iformant ++) { in Formant_downto_Table() local [all …]
|
H A D | FormantTier.cpp | 81 if (n == 0 || iformant < 1) 101 …const double fleft = ( iformant > pointLeft -> numberOfFormants ? undefined : pointLeft -> formant… 103 …const double fright = ( iformant > pointRight -> numberOfFormants ? undefined : pointRight -> form… 113 if (n == 0 || iformant < 1) 133 …const double fleft = iformant > pointLeft -> numberOfFormants ? undefined : pointLeft -> bandwidth… 135 …const double fright = iformant > pointRight -> numberOfFormants ? undefined : pointRight -> bandwi… 195 /* mutable loop */ integer iformant = 1; 196 for (; iformant <= maximumNumberOfFormants; iformant ++) { 243 for (integer icol = 1, iformant = 1; iformant <= maximumNumberOfFormants; iformant ++) { 257 for (integer icol = 1, iformant = 1; iformant <= maximumNumberOfFormants; iformant ++) { [all …]
|
H A D | FormantGridEditor.cpp | 108 static void selectFormantOrBandwidth (FormantGridEditor me, integer iformant) { in selectFormantOrBandwidth() argument 111 if (iformant > numberOfFormants) in selectFormantOrBandwidth() 112 …Melder_throw (U"Cannot select formant ", iformant, U", because the FormantGrid has only ", numberO… in selectFormantOrBandwidth() 113 my selectedFormant = iformant; in selectFormantOrBandwidth() 215 …for (integer iformant = 1; iformant <= grid -> formants.size; iformant ++) if (iformant != our sel… in v_draw() local 216 RealTier tier = tiers->at [iformant]; in v_draw()
|
H A D | FormantTier.h | 31 double FormantTier_getValueAtTime (FormantTier me, integer iformant, double t); 32 double FormantTier_getBandwidthAtTime (FormantTier me, integer iformant, double t);
|
H A D | Sound_to_Formant.cpp | 77 int iformant = 0; in burg() local 82 Formant_Formant formant = & frame -> formant [++ iformant]; in burg() 88 Melder_assert (iformant == frame -> numberOfFormants); // may fail if some frequency is NaN in burg() 255 integer iformant = 0; in splitLevinson() local 257 Formant_Formant formant = & frame -> formant [++ iformant]; in splitLevinson()
|
H A D | Formant.h | 82 autoMatrix Formant_to_Matrix (Formant me, integer iformant); 83 autoMatrix Formant_to_Matrix_bandwidths (Formant me, integer iformant);
|
H A D | TimeSoundAnalysisEditor.cpp | 1241 static void do_getFormant (TimeSoundAnalysisEditor me, integer iformant, Interpreter interpreter) { in do_getFormant() argument 1253 ? Formant_getValueAtTime (my d_formant.get(), iformant, tmin, kFormant_unit::HERTZ) in do_getFormant() 1254 : Formant_getMean (my d_formant.get(), iformant, tmin, tmax, kFormant_unit::HERTZ) in do_getFormant() 1257 ? Melder_cat (U" Hz (nearest F", iformant, U" to CURSOR)") in do_getFormant() 1258 …: Melder_cat (U" Hz (mean F", iformant, U" ", TimeSoundAnalysisEditor_partString_locative (part), … in do_getFormant() 1261 static void do_getBandwidth (TimeSoundAnalysisEditor me, integer iformant, Interpreter interpreter)… in do_getBandwidth() argument 1273 ? Formant_getBandwidthAtTime (my d_formant.get(), iformant, tmin, kFormant_unit::HERTZ) in do_getBandwidth() 1274 …: Formant_getBandwidthAtTime (my d_formant.get(), iformant, 0.5 * (tmin + tmax), kFormant_unit::HE… in do_getBandwidth() 1277 ? Melder_cat (U" Hz (nearest B", iformant, U" to CURSOR)") in do_getBandwidth() 1278 …: Melder_cat ( U" Hz (B", iformant, U" in centre of ", TimeSoundAnalysisEditor_partString (part), … in do_getBandwidth()
|
H A D | Sound.cpp | 1214 for (int iformant = 1; iformant <= numberOfFormants; iformant ++) 1215 … VECfilterSecondOrderSection_fb_inplace (window, my dx, formant [iformant], bandwidth [iformant]);
|
/dports/audio/praat/praat-6.2.03/LPC/ |
H A D | Formant_extensions.cpp | 44 for (integer iformant = 1; iformant <= numberOfFormants; iformant++) in Formant_formula() local 45 if (iformant <= frame -> numberOfFormants) { in Formant_formula() 46 fb -> z [2 * iformant - 1] [iframe] = frame -> formant [iformant]. frequency; in Formant_formula() 47 fb -> z [2 * iformant ] [iframe] = frame -> formant [iformant]. bandwidth; in Formant_formula() 69 for (integer iformant = formantmin; iformant <= numberOfFormants; iformant++) { in Formant_formula() local 77 frame -> formant [iformant]. frequency = frame -> formant [iformant]. bandwidth = 0.0; in Formant_formula() 82 for (integer iformant = formantmax + 1; iformant <= frame -> numberOfFormants; iformant ++) { in Formant_formula() local 90 frame -> formant [iformant]. frequency = frame -> formant [iformant]. bandwidth = 0.0; in Formant_formula() 198 Melder_require (iformant > 0 && iformant <= my maxnFormants, in Formant_Spectrogram_to_IntensityTier() 208 if (iformant <= numberOfFormants) { in Formant_Spectrogram_to_IntensityTier() [all …]
|
H A D | FormantPath.cpp | 143 for (integer iformant = 1; iformant <= my formants.size; iformant ++) { in FormantPath_getOptimumPath() local 170 for (integer iformant = 1; iformant <= my formants.size; iformant++) { in FormantPath_getOptimumPath() local 321 for (integer iformant = 1; iformant <= my formants.size; iformant ++) { in FormantPath_to_Matrix_qSums() local 343 for (integer iformant = 1; iformant <= my formants.size; iformant++) { in FormantPath_to_Matrix_transition() local 393 for (integer iformant = 1; iformant <= numberOfFormants; iformant ++) { in FormantPath_to_Matrix_stress() local 411 for (integer iformant = 1; iformant <= my formants.size; iformant ++) { in FormantPath_getStressOfFits() local 440 for (integer iformant = 1; iformant <= numberOfFormantsInFit; iformant ++) { in FormantPath_downTo_Table_stresses() local 446 for (integer iformant = 2; iformant <= numberOfFormantsInFit; iformant ++) { in FormantPath_downTo_Table_stresses() local 528 …for (integer iformant = std::min (frame -> numberOfFormants, toFormant); iformant >= fromFormant; … in Formant_speckles_inside() local 563 for (integer iformant = 1; iformant <= my formants.size; iformant ++) { in FormantPath_drawAsGrid_inside() local [all …]
|
H A D | LPC_and_Formant.cpp | 39 for (integer iformant = 1; iformant <= my numberOfFormants; iformant ++) { in Formant_Frame_scale() local 40 my formant [iformant]. frequency *= scale; in Formant_Frame_scale() 41 my formant [iformant]. bandwidth *= scale; in Formant_Frame_scale() 238 for (integer iformant = 1; iformant <= my numberOfFormants; iformant ++) { in Formant_Frame_into_LPC_Frame() local 239 const double formantFrequency = my formant [iformant]. frequency; in Formant_Frame_into_LPC_Frame() 245 const double r = exp (- NUMpi * my formant [iformant]. bandwidth * samplingPeriod); in Formant_Frame_into_LPC_Frame()
|
H A D | Formant_extensions.h | 36 autoVEC Formant_listFormantSlope (Formant me, integer iformant, double tmin, double tmax, kSlopeCur… 38 …ntensityTier Formant_Spectrogram_to_IntensityTier (Formant me, Spectrogram thee, integer iformant);
|
H A D | FormantModeler.cpp | 60 for (integer iformant = 1; iformant <= trackmodelers.size; iformant ++) { in v_info() local 61 DataModeler ffi = trackmodelers.at [iformant]; in v_info() 62 MelderInfo_writeLine (U"Formant ", iformant); in v_info() 677 for (integer iformant = 1; iformant <= numberOfParametersPerTrack.size; iformant ++) { in Formant_to_FormantModeler() local 685 if (iformant <= curFrame -> numberOfFormants) { in Formant_to_FormantModeler() 686 const double frequency = curFrame -> formant [iformant]. frequency; in Formant_to_FormantModeler() 688 const double bandwidth = curFrame -> formant [iformant]. bandwidth; in Formant_to_FormantModeler() 689 ffi -> data [idata] .y = curFrame -> formant [iformant]. frequency; in Formant_to_FormantModeler()
|
/dports/audio/praat/praat-6.2.03/dwtest/ |
H A D | test_Formant_slopes.praat | 29 for .iformant to 3 31 .p# [1] = .pi#[1] + 1000 * (.iformant -1) 36 @extraInfo: info_exp, .truth#, .slope#, .model$+string$ (.iformant)+": " 47 for .iformant to 3 48 .slope# = List formant slope: .iformant, tmin, tmax, "Parabolic" 49 .p# [1] = .pi# [1] + 1000 * (.iformant -1) 54 @extraInfo: info_par, .truth#, .slope#, .model$+string$ (.iformant)+": " 64 for .iformant to 3 65 .slope# = List formant slope: .iformant, tmin, tmax, "Sigmoid plus constant" 66 .p# [1] = .pi# [1] + 1000 * (.iformant -1) [all …]
|
H A D | ba-da-continuum.praat | 32 for iformant from 3 to 9 33 frequency = (2 * iformant - 1) * 500 34 Add oral formant frequency point... iformant t2 frequency 35 Add oral formant bandwidth point... iformant t1 frequency 36 Add oral formant bandwidth point... iformant t2 frequency / 15
|
H A D | test_LineSpectralFrequencies.praat | 19 for iformant to nc/2 21 fi1 = Get value at time: iformant, 0.25, "Hertz", "Linear" 23 fi2 = Get value at time: iformant, 0.25, "Hertz", "Linear"
|
/dports/audio/praat/praat-6.2.03/dwtools/ |
H A D | KlattGrid.h | 69 double CouplingGrid_getDeltaFormantAtTime (CouplingGrid me, integer iformant, double t); 70 double CouplingGrid_getDeltaBandwidthAtTime (CouplingGrid me, integer iformant, double t); 78 void Sound_FormantGrid_filterWithOneFormant_inplace (Sound me, FormantGrid thee, integer iformant); 79 … Sound_FormantGrid_filterWithOneAntiFormant_inplace (Sound me, FormantGrid thee, integer iformant); 140 …_get##Name##AtTime (KlattGrid me, kKlattGridFormantType formantType, integer iformant, double t); \ 143 double KlattGrid_getDelta##Name##AtTime (KlattGrid me, integer iformant, double t); \ 144 void KlattGrid_addDelta##Name##Point (KlattGrid me, integer iformant, double t, double value); \ 145 void KlattGrid_removeDelta##Name##Points (KlattGrid me, integer iformant, double t1, double t2); 164 …d_getAmplitudeAtTime (KlattGrid me, kKlattGridFormantType formantType, integer iformant, double t); 167 …KlattGrid_extractAmplitudeTier (KlattGrid me, kKlattGridFormantType formantType, integer iformant); [all …]
|
H A D | KlattGrid.cpp | 282 if (iformant <= my formants.size && iformant <= my bandwidths.size && iformant <= thee->size) { 484 if (iformant < 1 || iformant > thy formants.size) { 562 for (integer iformant = iformantb; iformant <= iformante; iformant ++) { 1233 if (iformant < 1 || iformant > my formants.size) 1240 if (iformant < 1 || iformant > my bandwidths.size) 1247 if (! me || iformant < 1 || iformant > my size) 1258 for (integer iformant = 1; iformant <= nmax; iformant ++) { 1539 … for (integer iformant = pv -> startNasalFormant; iformant <= pv -> endNasalFormant; iformant ++) { 1594 for (integer iformant = pv -> startOralFormant; iformant <= pv -> endOralFormant; iformant ++) { 2426 if (iformant < 1 || iformant > ordered->size) [all …]
|
H A D | FormantGrid_extensions.cpp | 31 for (integer iformant = 1; iformant <= tiers->size; iformant ++) { in FormantGrid_draw() local 34 const RealTier tier = tiers->at [iformant]; in FormantGrid_draw() 35 if (iformant == my formants.size) { in FormantGrid_draw()
|