aboutsummaryrefslogtreecommitdiff
path: root/src/sd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sd.h')
-rw-r--r--src/sd.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/sd.h b/src/sd.h
new file mode 100644
index 0000000..b1940be
--- /dev/null
+++ b/src/sd.h
@@ -0,0 +1,35 @@
+/*--------------------------------------------------------------------------*\
+
+ FILE........: sd.h
+ AUTHOR......: David Rowe
+ DATE CREATED: 22/7/93
+
+ Function to determine spectral distortion between two sets of LPCs.
+
+\*--------------------------------------------------------------------------*/
+
+/*
+ Copyright (C) 2009 David Rowe
+
+ All rights reserved.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License version 2.1, as
+ published by the Free Software Foundation. This program 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 Lesser General Public License
+ along with this program; if not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __SD__
+#define __SD__
+
+#include "codec2_fft.h"
+
+float spectral_dist(float ak1[], float ak2[], int p, codec2_fft_cfg fft_fwd_cfg, int n);
+
+#endif /* __SD__ */