コード例 #1
0
ファイル: FormantGrid.cpp プロジェクト: georgiee/lip-sync-lpc
Sound Sound_Formant_filter_noscale (Sound me, Formant formant) {
	try {
		autoFormantGrid grid = Formant_downto_FormantGrid (formant);
		autoSound thee = Sound_FormantGrid_filter_noscale (me, grid.peek());
		return thee.transfer();
	} catch (MelderError) {
		Melder_throw (me, ": not filtered with ", formant, ".");
	}
}
コード例 #2
0
ファイル: FormantGrid.cpp プロジェクト: alekstorm/tala
Sound Sound_Formant_filter (Sound me, Formant formant) {
	Sound thee = NULL;
	FormantGrid grid = NULL;
//start:
	grid = Formant_downto_FormantGrid (formant); cherror
	thee = Sound_FormantGrid_filter (me, grid); cherror
end:
	forget (grid);
	return thee;
}
コード例 #3
0
ファイル: FormantGrid.cpp プロジェクト: alekstorm/tala
Sound Sound_Formant_filter_noscale (Sound me, Formant formant) {
	Sound thee = NULL;
	try {
		automatic (FormantGrid) grid = Formant_downto_FormantGrid (formant);
		thee = Sound_FormantGrid_filter_noscale (me, grid);
	} catch (...) {
		forget (thee);
		throw;
	}
	return thee;
}