aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2018-11-03 00:25:30 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2018-11-03 00:32:39 +0300
commitf91a13ba50ea7645b59eea632f6d0ff541800674 (patch)
tree3e86c8a9df8e1f0beba2192f32daa23361ace680 /include
parentea08660cc9e28a44a1512a5a56f85e7258d9832d (diff)
downloadlibgha-f91a13ba50ea7645b59eea632f6d0ff541800674.tar.gz
Add function to extract analysed harmonic from given pcm
Added dtmf analysation example
Diffstat (limited to 'include')
-rw-r--r--include/libgha.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libgha.h b/include/libgha.h
index 3c5d123..6ebb33a 100644
--- a/include/libgha.h
+++ b/include/libgha.h
@@ -21,4 +21,7 @@ void gha_free_ctx(gha_ctx* ctx);
// the result will be writen in to given gha_ingo structure
void gha_analyze_one(const FLOAT* pcm, struct gha_info* info, gha_ctx* ctx);
+// Performs one GHA step and extract analysed harmonic from given PCM signal
+void gha_extract_one(FLOAT* pcm, struct gha_info* info, gha_ctx* ctx);
+
#endif