From c77651dcdf11427071d69821d63b8de80874b7a2 Mon Sep 17 00:00:00 2001 From: pp Date: Sat, 22 Mar 2008 16:56:08 +0000 Subject: - experimental, very simple implementation of YIN fundamental frequency estimator git-svn-id: https://lampka.siedziba.pl:790/svn/repos/lingot-win32@309 455248ca-bdda-0310-9134-f4ebb693071a --- src/lingot-yin.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/lingot-yin.h (limited to 'src/lingot-yin.h') diff --git a/src/lingot-yin.h b/src/lingot-yin.h new file mode 100644 index 0000000..1109c22 --- /dev/null +++ b/src/lingot-yin.h @@ -0,0 +1,31 @@ +//-*- C++ -*- +/* + * YIN pitch estimator + * Copyright (C) 2008 Piotr Pawlow + * + * This file is part of lingot. + * + * lingot is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * lingot is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with lingot; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef __LINGOT_YIN_H__ +#define __LINGOT_YIN_H__ + +#include "lingot-core.h" + +// returns detected period as a number of samples +FLT yin(LingotCore* core); + +#endif -- cgit v1.2.3